Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Electrical.AC.OnePhase.Lines.Examples.ACLine_L.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001315/0.001315, allocations: 109 kB / 20.48 MB, free: 1.473 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001768/0.001768, allocations: 211.5 kB / 23.79 MB, free: 4.684 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.512/1.512, allocations: 230.6 MB / 257.6 MB, free: 8 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA master/package.mo): time 1.007/1.007, allocations: 150 MB / 463.9 MB, free: 10.48 MB / 366.1 MB " [Timeout remaining time 179] Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA master/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(IBPSA.Electrical.AC.OnePhase.Lines.Examples.ACLine_L,fileNamePrefix="IBPSA_latest_IBPSA_Electrical_AC_OnePhase_Lines_Examples_ACLine_L",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Electrical.AC.OnePhase.Lines.Examples.ACLine_L,fileNamePrefix="IBPSA_latest_IBPSA_Electrical_AC_OnePhase_Lines_Examples_ACLine_L",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: IBPSA requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001995/0.001995, allocations: 69.83 kB / 0.642 GB, free: 10.33 MB / 478.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2085/0.2105, allocations: 89.16 MB / 0.7291 GB, free: 1.23 MB / 0.545 GB Notification: Performance of NFInst.instantiate(IBPSA.Electrical.AC.OnePhase.Lines.Examples.ACLine_L): time 0.009332/0.2198, allocations: 6.337 MB / 0.7353 GB, free: 10.86 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.006726/0.2265, allocations: 3.309 MB / 0.7385 GB, free: 7.543 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001135/0.2277, allocations: 39.62 kB / 0.7386 GB, free: 7.504 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.002936/0.2306, allocations: 0.9759 MB / 0.7395 GB, free: 6.527 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.001766/0.2324, allocations: 497.6 kB / 0.74 GB, free: 6.039 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.001802/0.2342, allocations: 493 kB / 0.7405 GB, free: 5.559 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.001827/0.236, allocations: 1.096 MB / 0.7415 GB, free: 4.457 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0009852/0.237, allocations: 0.5104 MB / 0.742 GB, free: 3.941 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0009714/0.238, allocations: 454.4 kB / 0.7425 GB, free: 3.496 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0009269/0.2389, allocations: 0.4903 MB / 0.743 GB, free: 3.004 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 0.0001084/0.239, allocations: 60 kB / 0.743 GB, free: 2.945 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001223/0.2402, allocations: 0.495 MB / 0.7435 GB, free: 2.449 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.0003681/0.2406, allocations: 295.1 kB / 0.7438 GB, free: 2.16 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.0006212/0.2412, allocations: 397.9 kB / 0.7442 GB, free: 1.77 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.001751/0.243, allocations: 1.183 MB / 0.7453 GB, free: 0.582 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 9.517e-06/0.243, allocations: 0 / 0.7453 GB, free: 0.582 MB / 0.5606 GB Notification: Performance of FrontEnd: time 3.016e-06/0.243, allocations: 0 / 0.7453 GB, free: 0.582 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 1.877e-05/0.243, allocations: 0 / 0.7453 GB, free: 0.582 MB / 0.5606 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 177 * Number of variables: 177 Notification: Performance of Generate backend data structure: time 0.002145/0.2451, allocations: 1.003 MB / 0.7463 GB, free: 15.54 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 5.261e-05/0.2452, allocations: 12.03 kB / 0.7463 GB, free: 15.53 MB / 0.5762 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 3.502e-05/0.2452, allocations: 21.44 kB / 0.7463 GB, free: 15.51 MB / 0.5762 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001395/0.2454, allocations: 114.7 kB / 0.7464 GB, free: 15.39 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001573/0.2469, allocations: 220.2 kB / 0.7466 GB, free: 15.18 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009605/0.2479, allocations: 0.5244 MB / 0.7472 GB, free: 14.62 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.722e-05/0.248, allocations: 49.67 kB / 0.7472 GB, free: 14.58 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001092/0.2481, allocations: 60.33 kB / 0.7473 GB, free: 14.52 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001542/0.2496, allocations: 1.029 MB / 0.7483 GB, free: 13.38 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.532e-05/0.2496, allocations: 15.91 kB / 0.7483 GB, free: 13.36 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.792e-05/0.2497, allocations: 27.98 kB / 0.7483 GB, free: 13.33 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001071/0.2498, allocations: 69.28 kB / 0.7484 GB, free: 13.26 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001127/0.2509, allocations: 0.6918 MB / 0.749 GB, free: 12.57 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005877/0.2568, allocations: 5.658 MB / 0.7546 GB, free: 6.496 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007846/0.2576, allocations: 410.3 kB / 0.755 GB, free: 6.086 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008345/0.2584, allocations: 380 kB / 0.7553 GB, free: 5.715 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 2.986e-05/0.2585, allocations: 8 kB / 0.7553 GB, free: 5.707 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.844e-05/0.2585, allocations: 42.55 kB / 0.7554 GB, free: 5.656 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=41): time 2.425e-06/0.2585, allocations: 0 / 0.7554 GB, free: 5.656 MB / 0.5762 GB Notification: Performance of matching and sorting (n=42): time 0.004278/0.2628, allocations: 1.707 MB / 0.757 GB, free: 3.93 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.466e-05/0.2628, allocations: 59.41 kB / 0.7571 GB, free: 3.859 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005183/0.2634, allocations: 450.8 kB / 0.7575 GB, free: 3.41 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 3.972e-05/0.2634, allocations: 33.7 kB / 0.7576 GB, free: 3.371 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.000303/0.2637, allocations: 396.1 kB / 0.7579 GB, free: 2.977 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001492/0.2638, allocations: 162.6 kB / 0.7581 GB, free: 2.816 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001719/0.264, allocations: 114.2 kB / 0.7582 GB, free: 2.699 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001985/0.2642, allocations: 370.8 kB / 0.7586 GB, free: 2.328 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003702/0.2646, allocations: 237.2 kB / 0.7588 GB, free: 2.098 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005516/0.2651, allocations: 461 kB / 0.7592 GB, free: 1.551 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001086/0.2662, allocations: 0.7402 MB / 0.7599 GB, free: 0.7148 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.35e-06/0.2662, allocations: 4 kB / 0.7599 GB, free: 0.7109 MB / 0.5762 GB Notification: Performance of matching and sorting (n=73) (initialization): time 0.3981/0.6643, allocations: 1.026 MB / 0.7609 GB, free: 34.05 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 3.125e-05/0.6643, allocations: 8.969 kB / 0.761 GB, free: 34.05 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.456e-05/0.6643, allocations: 8.344 kB / 0.761 GB, free: 34.05 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009912/0.6653, allocations: 317 kB / 0.7613 GB, free: 34.02 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000342/0.6657, allocations: 103.7 kB / 0.7614 GB, free: 34.02 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005812/0.6715, allocations: 7.066 MB / 0.7683 GB, free: 29.19 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004824/0.672, allocations: 30.7 kB / 0.7683 GB, free: 29.19 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.01e-05/0.672, allocations: 27.7 kB / 0.7683 GB, free: 29.19 MB / 0.5762 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 31 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (53): * Single equations (assignments): 49 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 4 systems {(3,7,88.9%), (1,5,100.0%), (1,3,100.0%), (2,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0003088/0.6723, allocations: 247.6 kB / 0.7686 GB, free: 29.07 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.792e-05/0.6724, allocations: 63.61 kB / 0.7686 GB, free: 29.07 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001669/0.6741, allocations: 0.8823 MB / 0.7695 GB, free: 28.98 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.979e-06/0.6741, allocations: 5.125 kB / 0.7695 GB, free: 28.98 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.462e-06/0.6741, allocations: 6.688 kB / 0.7695 GB, free: 28.98 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.114e-06/0.6741, allocations: 4.656 kB / 0.7695 GB, free: 28.98 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002601/0.6767, allocations: 1.637 MB / 0.7711 GB, free: 28.62 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.649e-06/0.6767, allocations: 2.5 kB / 0.7711 GB, free: 28.62 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001804/0.6769, allocations: 43.28 kB / 0.7711 GB, free: 28.62 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000942/0.6778, allocations: 313.5 kB / 0.7714 GB, free: 28.59 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.235e-05/0.6778, allocations: 12.75 kB / 0.7714 GB, free: 28.59 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006162/0.684, allocations: 7.046 MB / 0.7783 GB, free: 23.69 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.938e-06/0.684, allocations: 5.75 kB / 0.7783 GB, free: 23.68 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001813/0.6858, allocations: 0.9836 MB / 0.7793 GB, free: 23.39 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002652/0.6861, allocations: 96.28 kB / 0.7794 GB, free: 23.36 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.634e-05/0.6862, allocations: 8.812 kB / 0.7794 GB, free: 23.36 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003053/0.6865, allocations: 22.98 kB / 0.7794 GB, free: 23.36 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001463/0.6866, allocations: 48.98 kB / 0.7795 GB, free: 23.36 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.249e-05/0.6866, allocations: 9.344 kB / 0.7795 GB, free: 23.36 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0004058/0.6871, allocations: 306.9 kB / 0.7798 GB, free: 23.27 MB / 0.5762 GB Notification: Performance of sort global known variables: time 7e-08/0.6871, allocations: 0 / 0.7798 GB, free: 23.27 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0009551/0.688, allocations: 201.8 kB / 0.78 GB, free: 23.27 MB / 0.5762 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (23): * Single equations (assignments): 19 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 4 systems {(3,7,88.9%), (2,2,100.0%), (1,3,100.0%), (1,5,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.001889/0.6899, allocations: 1.525 MB / 0.7814 GB, free: 22.24 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.001861/0.6918, allocations: 1.164 MB / 0.7826 GB, free: 21.53 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 4.478e-06/0.6918, allocations: 0.875 kB / 0.7826 GB, free: 21.53 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.001174/0.6929, allocations: 0.8315 MB / 0.7834 GB, free: 20.94 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001131/0.6941, allocations: 206.4 kB / 0.7836 GB, free: 20.89 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008892/0.703, allocations: 5.838 MB / 0.7893 GB, free: 17.45 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000593/0.7036, allocations: 0.9881 MB / 0.7903 GB, free: 16.71 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.00041/0.704, allocations: 101.7 kB / 0.7904 GB, free: 16.7 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002324/0.7042, allocations: 222.2 kB / 0.7906 GB, free: 16.53 MB / 0.5762 GB Notification: Performance of SimCode: time 1.092e-06/0.7042, allocations: 1.25 kB / 0.7906 GB, free: 16.53 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05713/0.7613, allocations: 15.92 MB / 0.8061 GB, free: 11.2 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.52/13.28, allocations: 3.406 kB / 0.8061 GB, free: 11.2 MB / 0.5762 GB " [Timeout remaining time 647] (rm -f IBPSA_latest_IBPSA.Electrical.AC.OnePhase.Lines.Examples.ACLine_L.pipe ; mkfifo IBPSA_latest_IBPSA.Electrical.AC.OnePhase.Lines.Examples.ACLine_L.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Electrical.AC.OnePhase.Lines.Examples.ACLine_L.pipe >> ../files/IBPSA_latest_IBPSA.Electrical.AC.OnePhase.Lines.Examples.ACLine_L.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Electrical_AC_OnePhase_Lines_Examples_ACLine_L_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_Electrical_AC_OnePhase_Lines_Examples_ACLine_L.fmu > IBPSA_latest_IBPSA.Electrical.AC.OnePhase.Lines.Examples.ACLine_L.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 17.30760130903218] Failed to read output from testmodel.py, exit status != 0: 13.457816843001638 13.469872773 13.224461948 Calling exit ...