Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium.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.001281/0.001281, allocations: 117.9 kB / 19.7 MB, free: 2.188 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.001583/0.001583, allocations: 219.6 kB / 23 MB, free: 5.004 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.529/1.529, allocations: 230.6 MB / 256.8 MB, free: 7.98 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 0.9593/0.9593, allocations: 150 MB / 463.2 MB, free: 10.54 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.ThreePhasesBalanced.Lines.Examples.ACLineMedium,fileNamePrefix="IBPSA_latest_IBPSA_Electrical_AC_ThreePhasesBalanced_Lines_Examples_ACLineMedium",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium,fileNamePrefix="IBPSA_latest_IBPSA_Electrical_AC_ThreePhasesBalanced_Lines_Examples_ACLineMedium",fmuType="me",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.002067/0.002067, allocations: 66.53 kB / 0.6413 GB, free: 10.43 MB / 478.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2056/0.2077, allocations: 89.17 MB / 0.7284 GB, free: 1.324 MB / 0.545 GB Notification: Performance of NFInst.instantiate(IBPSA.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium): time 0.02181/0.2295, allocations: 15.31 MB / 0.7433 GB, free: 1.949 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.01859/0.2481, allocations: 10.77 MB / 0.7538 GB, free: 7.152 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002334/0.2504, allocations: 95.12 kB / 0.7539 GB, free: 7.059 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.005389/0.2558, allocations: 1.766 MB / 0.7556 GB, free: 5.289 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.007008/0.2628, allocations: 1.872 MB / 0.7575 GB, free: 3.418 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.002412/0.2652, allocations: 0.7628 MB / 0.7582 GB, free: 2.656 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.449/0.7143, allocations: 2.744 MB / 0.7609 GB, free: 11.18 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002219/0.7165, allocations: 1.203 MB / 0.7621 GB, free: 11.08 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002817/0.7193, allocations: 1.738 MB / 0.7638 GB, free: 11.05 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001612/0.7209, allocations: 1.114 MB / 0.7649 GB, free: 10.87 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 0.0002125/0.7211, allocations: 153 kB / 0.765 GB, free: 10.87 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00156/0.7227, allocations: 0.7935 MB / 0.7658 GB, free: 10.87 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.0006444/0.7233, allocations: 0.6005 MB / 0.7664 GB, free: 10.79 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.000991/0.7243, allocations: 0.9351 MB / 0.7673 GB, free: 10.51 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.005057/0.7294, allocations: 2.72 MB / 0.7699 GB, free: 10.11 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 9.518e-06/0.7294, allocations: 1.5 kB / 0.7699 GB, free: 10.11 MB / 0.5762 GB Notification: Performance of FrontEnd: time 3.116e-06/0.7294, allocations: 0.7812 kB / 0.7699 GB, free: 10.11 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 0.000107/0.7295, allocations: 0 / 0.7699 GB, free: 10.11 MB / 0.5762 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 327 * Number of variables: 327 Notification: Performance of Generate backend data structure: time 0.005907/0.7354, allocations: 2.143 MB / 0.772 GB, free: 9.082 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 5.733e-05/0.7355, allocations: 12.33 kB / 0.772 GB, free: 9.082 MB / 0.5762 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000328/0.7358, allocations: 191.4 kB / 0.7722 GB, free: 9.039 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01199/0.7478, allocations: 2.108 MB / 0.7743 GB, free: 8.93 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003878/0.7517, allocations: 1.2 MB / 0.7754 GB, free: 8.527 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001116/0.7518, allocations: 91.08 kB / 0.7755 GB, free: 8.52 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003884/0.7522, allocations: 112 kB / 0.7756 GB, free: 8.52 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007272/0.7594, allocations: 2.635 MB / 0.7782 GB, free: 8.152 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.506e-05/0.7595, allocations: 11.91 kB / 0.7782 GB, free: 8.148 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001767/0.7597, allocations: 51.41 kB / 0.7783 GB, free: 8.145 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0006946/0.7604, allocations: 195 kB / 0.7785 GB, free: 8.141 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.008397/0.7688, allocations: 2.789 MB / 0.7812 GB, free: 8.117 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01585/0.7846, allocations: 10.3 MB / 0.7912 GB, free: 2.746 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00669/0.7913, allocations: 2.165 MB / 0.7934 GB, free: 2.707 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003392/0.7947, allocations: 1.188 MB / 0.7945 GB, free: 2.59 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 8.815e-05/0.7948, allocations: 10.73 kB / 0.7945 GB, free: 2.59 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.818e-05/0.7948, allocations: 42.78 kB / 0.7946 GB, free: 2.551 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=89): time 3.637e-06/0.7948, allocations: 4 kB / 0.7946 GB, free: 2.547 MB / 0.5762 GB Notification: Performance of matching and sorting (n=153): time 0.06228/0.8571, allocations: 15 MB / 0.8092 GB, free: 12.06 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.525e-05/0.8572, allocations: 68.41 kB / 0.8093 GB, free: 12 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002405/0.8596, allocations: 1.041 MB / 0.8103 GB, free: 11.41 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 0.0004462/0.86, allocations: 52.36 kB / 0.8104 GB, free: 11.36 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.000945/0.861, allocations: 0.7664 MB / 0.8111 GB, free: 10.68 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 0.0009491/0.8619, allocations: 0.5423 MB / 0.8116 GB, free: 10.21 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008167/0.8627, allocations: 296.2 kB / 0.8119 GB, free: 10.05 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0001938/0.8629, allocations: 309 kB / 0.8122 GB, free: 9.742 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004869/0.8678, allocations: 1.459 MB / 0.8136 GB, free: 8.992 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004397/0.8722, allocations: 1.797 MB / 0.8154 GB, free: 7.832 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.007435/0.8796, allocations: 3.358 MB / 0.8187 GB, free: 5.195 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.486e-06/0.8796, allocations: 3.938 kB / 0.8187 GB, free: 5.191 MB / 0.5919 GB Notification: Performance of matching and sorting (n=196) (initialization): time 0.01319/0.8928, allocations: 5.013 MB / 0.8236 GB, free: 272 kB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 3.235e-05/0.8929, allocations: 8 kB / 0.8236 GB, free: 264 kB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.967e-05/0.8929, allocations: 11.38 kB / 0.8236 GB, free: 256 kB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.005846/0.8987, allocations: 1.665 MB / 0.8252 GB, free: 14.58 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002211/0.9009, allocations: 433.7 kB / 0.8256 GB, free: 14.16 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03261/0.9336, allocations: 22.9 MB / 0.848 GB, free: 6.5 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003072/0.9366, allocations: 307.5 kB / 0.8483 GB, free: 6.199 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003241/0.937, allocations: 75.91 kB / 0.8484 GB, free: 6.129 MB / 0.6231 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 43 * 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 (88): * Single equations (assignments): 80 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 8 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 8 systems {(2,8,100.0%), (2,8,100.0%), (3,17,100.0%), (3,17,100.0%), (2,16,100.0%), (3,15,100.0%), (2,8,100.0%), (2,8,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.001269/0.9382, allocations: 471.5 kB / 0.8488 GB, free: 5.672 MB / 0.6231 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005597/0.9388, allocations: 174.9 kB / 0.849 GB, free: 5.5 MB / 0.6231 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01332/0.9521, allocations: 5.048 MB / 0.8539 GB, free: 492 kB / 0.6231 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.993e-05/0.9521, allocations: 12 kB / 0.8539 GB, free: 480 kB / 0.6231 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.42e-05/0.9522, allocations: 24 kB / 0.8539 GB, free: 456 kB / 0.6231 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.609e-05/0.9522, allocations: 7.969 kB / 0.8539 GB, free: 448 kB / 0.6231 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01765/0.9699, allocations: 7.004 MB / 0.8608 GB, free: 9.43 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.517e-05/0.9699, allocations: 4 kB / 0.8608 GB, free: 9.426 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001729/0.9716, allocations: 352.7 kB / 0.8611 GB, free: 9.086 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.004904/0.9765, allocations: 1.463 MB / 0.8626 GB, free: 7.609 MB / 0.6387 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002415/0.9767, allocations: 39.97 kB / 0.8626 GB, free: 7.57 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.03118/1.008, allocations: 22.06 MB / 0.8841 GB, free: 0.7266 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.021e-06/1.008, allocations: 4.031 kB / 0.8841 GB, free: 0.7227 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01197/1.02, allocations: 4.627 MB / 0.8887 GB, free: 12.08 MB / 0.67 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00166/1.022, allocations: 398.7 kB / 0.889 GB, free: 11.69 MB / 0.67 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003844/1.022, allocations: 24 kB / 0.8891 GB, free: 11.66 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002062/1.024, allocations: 303.5 kB / 0.8894 GB, free: 11.37 MB / 0.67 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006078/1.025, allocations: 170.8 kB / 0.8895 GB, free: 11.21 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001451/1.025, allocations: 47.97 kB / 0.8896 GB, free: 11.16 MB / 0.67 GB Notification: Performance of sorting global known variables: time 0.001046/1.026, allocations: 0.6856 MB / 0.8902 GB, free: 10.47 MB / 0.67 GB Notification: Performance of sort global known variables: time 8e-08/1.026, allocations: 0 / 0.8902 GB, free: 10.47 MB / 0.67 GB Notification: Performance of remove unused functions: time 0.00254/1.028, allocations: 0.625 MB / 0.8908 GB, free: 9.848 MB / 0.67 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 12 * 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 (46): * Single equations (assignments): 38 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 8 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 8 systems {(2,8,100.0%), (3,15,100.0%), (2,8,100.0%), (3,17,100.0%), (2,8,100.0%), (3,15,100.0%), (2,8,100.0%), (3,17,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.01227/1.041, allocations: 5.203 MB / 0.8959 GB, free: 4.633 MB / 0.67 GB Notification: Performance of simCode: created initialization part: time 0.01207/1.053, allocations: 4.839 MB / 0.9006 GB, free: 15.72 MB / 0.6856 GB Notification: Performance of simCode: created event and clocks part: time 1.237e-05/1.053, allocations: 0 / 0.9006 GB, free: 15.72 MB / 0.6856 GB Notification: Performance of simCode: created simulation system equations: time 0.007688/1.06, allocations: 3.213 MB / 0.9038 GB, free: 12.43 MB / 0.6856 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003596/1.064, allocations: 0.5228 MB / 0.9043 GB, free: 11.95 MB / 0.6856 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.05146/1.115, allocations: 20.82 MB / 0.9246 GB, free: 6.785 MB / 0.7012 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001688/1.117, allocations: 1.566 MB / 0.9262 GB, free: 5.188 MB / 0.7012 GB Notification: Performance of simCode: alias equations: time 0.001677/1.119, allocations: 374.7 kB / 0.9265 GB, free: 4.82 MB / 0.7012 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009779/1.12, allocations: 0.6515 MB / 0.9272 GB, free: 4.168 MB / 0.7012 GB Notification: Performance of SimCode: time 7.82e-07/1.12, allocations: 0 / 0.9272 GB, free: 4.168 MB / 0.7012 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1424/1.262, allocations: 56.51 MB / 0.9823 GB, free: 12.36 MB / 0.7637 GB Notification: Performance of buildModelFMU: Generate platform static: time 22.55/23.82, allocations: 4.062 kB / 0.9823 GB, free: 12.35 MB / 0.7637 GB " [Timeout remaining time 636] (rm -f IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium.pipe ; mkfifo IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium.pipe >> ../files/IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Electrical_AC_ThreePhasesBalanced_Lines_Examples_ACLineMedium_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_Electrical_AC_ThreePhasesBalanced_Lines_Examples_ACLineMedium.fmu > IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 27.888859282946214] Failed to read output from testmodel.py, exit status != 0: 23.962333020055667 23.991578274 23.256971002 Calling exit ...