Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL.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.001311/0.001311, allocations: 119.2 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.001474/0.001474, allocations: 218.3 kB / 23 MB, free: 5.008 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.457/1.457, allocations: 230.6 MB / 256.8 MB, free: 7.988 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.9602/0.9602, allocations: 150 MB / 463.2 MB, free: 10.52 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.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL,fileNamePrefix="IBPSA_latest_IBPSA_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_RL",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL,fileNamePrefix="IBPSA_latest_IBPSA_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_RL",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.002084/0.002084, allocations: 71 kB / 0.6413 GB, free: 10.43 MB / 478.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1813/0.1834, allocations: 89.17 MB / 0.7284 GB, free: 1.32 MB / 0.545 GB Notification: Performance of NFInst.instantiate(IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL): time 0.03433/0.2177, allocations: 27.92 MB / 0.7556 GB, free: 5.309 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.395/0.6127, allocations: 8.368 MB / 0.7638 GB, free: 13.09 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002193/0.6149, allocations: 156.9 kB / 0.764 GB, free: 13.09 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.006343/0.6213, allocations: 2.882 MB / 0.7668 GB, free: 13.05 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.003902/0.6252, allocations: 1.675 MB / 0.7684 GB, free: 12.96 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.003988/0.6292, allocations: 1.728 MB / 0.7701 GB, free: 12.79 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.007379/0.6365, allocations: 6.139 MB / 0.7761 GB, free: 12.02 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.006276/0.6428, allocations: 3.784 MB / 0.7798 GB, free: 11.59 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00552/0.6483, allocations: 2.649 MB / 0.7824 GB, free: 11.19 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.006091/0.6544, allocations: 3.005 MB / 0.7853 GB, free: 10.43 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 0.001687/0.6561, allocations: 0.5085 MB / 0.7858 GB, free: 10.43 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003978/0.6601, allocations: 1.311 MB / 0.7871 GB, free: 10.24 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.003495/0.6636, allocations: 2.106 MB / 0.7891 GB, free: 9.363 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.005886/0.6695, allocations: 2.383 MB / 0.7915 GB, free: 7.844 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.01363/0.6831, allocations: 8.074 MB / 0.7993 GB, free: 3.746 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 6.663e-06/0.6831, allocations: 0 / 0.7993 GB, free: 3.746 MB / 0.5762 GB Notification: Performance of FrontEnd: time 2.965e-06/0.6831, allocations: 4 kB / 0.7993 GB, free: 3.742 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 0.0002463/0.6834, allocations: 3.984 kB / 0.7994 GB, free: 3.738 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: 976 * Number of variables: 976 Notification: Performance of Generate backend data structure: time 0.01076/0.6941, allocations: 4.263 MB / 0.8035 GB, free: 0.8945 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 4.793e-05/0.6942, allocations: 8.969 kB / 0.8035 GB, free: 0.8945 MB / 0.5762 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0009534/0.6951, allocations: 0.5381 MB / 0.804 GB, free: 0.5156 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00443/0.6995, allocations: 0.8201 MB / 0.8049 GB, free: 120 kB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006861/0.7064, allocations: 2.536 MB / 0.8073 GB, free: 14.51 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002452/0.7067, allocations: 274.3 kB / 0.8076 GB, free: 14.39 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001316/0.708, allocations: 377.9 kB / 0.8079 GB, free: 14.27 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01238/0.7204, allocations: 5.984 MB / 0.8138 GB, free: 10.55 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001066/0.7205, allocations: 17.36 kB / 0.8138 GB, free: 10.54 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004814/0.7209, allocations: 157.9 kB / 0.814 GB, free: 10.43 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0005608/0.7215, allocations: 289.5 kB / 0.8142 GB, free: 10.35 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.008221/0.7297, allocations: 4.519 MB / 0.8187 GB, free: 8.027 MB / 0.5919 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03837/0.7681, allocations: 27.24 MB / 0.8452 GB, free: 11.31 MB / 0.6231 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001888/0.77, allocations: 1.064 MB / 0.8463 GB, free: 10.23 MB / 0.6231 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001509/0.7715, allocations: 0.9602 MB / 0.8472 GB, free: 9.27 MB / 0.6231 GB Notification: Performance of preOpt evalFunc (simulation): time 9.701e-05/0.7716, allocations: 15.97 kB / 0.8472 GB, free: 9.258 MB / 0.6231 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.095e-05/0.7716, allocations: 43.56 kB / 0.8473 GB, free: 9.207 MB / 0.6231 GB Notification: Performance of pre-optimization done (n=110): time 3.146e-06/0.7716, allocations: 0 / 0.8473 GB, free: 9.207 MB / 0.6231 GB Notification: Performance of matching and sorting (n=131): time 0.02319/0.7948, allocations: 9.09 MB / 0.8562 GB, free: 68 kB / 0.6231 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.997e-05/0.7949, allocations: 76.64 kB / 0.8562 GB, free: 15.98 MB / 0.6387 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002328/0.7972, allocations: 1.494 MB / 0.8577 GB, free: 14.48 MB / 0.6387 GB Notification: Performance of collectPreVariables (initialization): time 0.0001515/0.7974, allocations: 45.7 kB / 0.8577 GB, free: 14.43 MB / 0.6387 GB Notification: Performance of collectInitialEqns (initialization): time 0.001355/0.7987, allocations: 1.716 MB / 0.8594 GB, free: 12.71 MB / 0.6387 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004691/0.7992, allocations: 490.3 kB / 0.8599 GB, free: 12.23 MB / 0.6387 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005626/0.7998, allocations: 339.4 kB / 0.8602 GB, free: 11.9 MB / 0.6387 GB Notification: Performance of setup shared object (initialization): time 0.0001247/0.7999, allocations: 305.1 kB / 0.8605 GB, free: 11.6 MB / 0.6387 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001499/0.8014, allocations: 0.9174 MB / 0.8614 GB, free: 10.68 MB / 0.6387 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001995/0.8034, allocations: 1.462 MB / 0.8628 GB, free: 8.98 MB / 0.6387 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003557/0.8069, allocations: 2.547 MB / 0.8653 GB, free: 6.199 MB / 0.6387 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.498e-05/0.8069, allocations: 11.94 kB / 0.8653 GB, free: 6.188 MB / 0.6387 GB Notification: Performance of matching and sorting (n=226) (initialization): time 0.006345/0.8133, allocations: 3.267 MB / 0.8685 GB, free: 2.883 MB / 0.6387 GB Notification: Performance of prepare postOptimizeDAE: time 3.34e-05/0.8133, allocations: 19.92 kB / 0.8685 GB, free: 2.863 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.89e-05/0.8134, allocations: 20 kB / 0.8685 GB, free: 2.844 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002426/0.8158, allocations: 0.7308 MB / 0.8693 GB, free: 2.086 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001738/0.8175, allocations: 387.3 kB / 0.8696 GB, free: 1.707 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01867/0.8362, allocations: 16.14 MB / 0.8854 GB, free: 0.543 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001831/0.838, allocations: 103.9 kB / 0.8855 GB, free: 452 kB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003035/0.8383, allocations: 72 kB / 0.8856 GB, free: 380 kB / 0.6544 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 78 * 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 (193): * Single equations (assignments): 184 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 9 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 9 systems {(2,4,100.0%), (2,2,100.0%), (2,2,100.0%), (2,4,100.0%), (2,2,100.0%), (2,2,100.0%), (2,4,100.0%), (2,2,100.0%), (2,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.003131/0.8415, allocations: 1.317 MB / 0.8868 GB, free: 15.05 MB / 0.67 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007054/0.8422, allocations: 210.7 kB / 0.887 GB, free: 14.84 MB / 0.67 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006043/0.8482, allocations: 2.765 MB / 0.8897 GB, free: 12.03 MB / 0.67 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.493e-05/0.8482, allocations: 12 kB / 0.8898 GB, free: 12.02 MB / 0.67 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.831e-05/0.8482, allocations: 8 kB / 0.8898 GB, free: 12.01 MB / 0.67 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.857e-05/0.8483, allocations: 7.969 kB / 0.8898 GB, free: 12 MB / 0.67 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01376/0.862, allocations: 6.182 MB / 0.8958 GB, free: 5.691 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.3e-05/0.862, allocations: 4.656 kB / 0.8958 GB, free: 5.688 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001263/0.8633, allocations: 231.6 kB / 0.896 GB, free: 5.461 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002143/0.8654, allocations: 0.6671 MB / 0.8967 GB, free: 4.766 MB / 0.67 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001671/0.8656, allocations: 39.98 kB / 0.8967 GB, free: 4.727 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01764/0.8832, allocations: 15.86 MB / 0.9122 GB, free: 3.832 MB / 0.6856 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.353e-05/0.8833, allocations: 11.94 kB / 0.9122 GB, free: 3.82 MB / 0.6856 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007486/0.8907, allocations: 3.988 MB / 0.9161 GB, free: 15.73 MB / 0.7012 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001431/0.8922, allocations: 392.8 kB / 0.9165 GB, free: 15.35 MB / 0.7012 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006011/0.8928, allocations: 43.92 kB / 0.9165 GB, free: 15.3 MB / 0.7012 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001277/0.8941, allocations: 79.89 kB / 0.9166 GB, free: 15.23 MB / 0.7012 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003317/0.8944, allocations: 120.8 kB / 0.9167 GB, free: 15.11 MB / 0.7012 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001069/0.8945, allocations: 40 kB / 0.9168 GB, free: 15.07 MB / 0.7012 GB Notification: Performance of sorting global known variables: time 0.001691/0.8962, allocations: 0.9942 MB / 0.9177 GB, free: 14.09 MB / 0.7012 GB Notification: Performance of sort global known variables: time 1e-07/0.8962, allocations: 4 kB / 0.9177 GB, free: 14.08 MB / 0.7012 GB Notification: Performance of remove unused functions: time 0.002907/0.8991, allocations: 0.6836 MB / 0.9184 GB, free: 13.4 MB / 0.7012 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 22 * Number of states: 6 (RL_3.phase1.i_p[1],RL_3.phase1.i_p[2],RL_3.phase2.i_p[1],RL_3.phase2.i_p[2],RL_3.phase3.i_p[1],RL_3.phase3.i_p[2]) * 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 (101): * Single equations (assignments): 92 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 9 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 9 systems {(2,2,100.0%), (2,2,100.0%), (2,2,100.0%), (2,4,100.0%), (2,4,100.0%), (2,4,100.0%), (2,2,100.0%), (2,2,100.0%), (2,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.007229/0.9063, allocations: 4.596 MB / 0.9229 GB, free: 8.68 MB / 0.7012 GB Notification: Performance of simCode: created initialization part: time 0.005643/0.912, allocations: 3.381 MB / 0.9262 GB, free: 5.195 MB / 0.7012 GB Notification: Performance of simCode: created event and clocks part: time 5.931e-06/0.912, allocations: 0 / 0.9262 GB, free: 5.195 MB / 0.7012 GB Notification: Performance of simCode: created simulation system equations: time 0.00347/0.9154, allocations: 2.244 MB / 0.9284 GB, free: 2.84 MB / 0.7012 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003269/0.9187, allocations: 0.6731 MB / 0.929 GB, free: 2.211 MB / 0.7012 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03882/0.9575, allocations: 21.31 MB / 0.9499 GB, free: 12.04 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004424/0.962, allocations: 2.664 MB / 0.9525 GB, free: 9.348 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 0.001611/0.9636, allocations: 485.4 kB / 0.9529 GB, free: 8.871 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001918/0.9655, allocations: 1.284 MB / 0.9542 GB, free: 7.586 MB / 0.7325 GB Notification: Performance of SimCode: time 9.52e-07/0.9655, allocations: 0 / 0.9542 GB, free: 7.586 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1454/1.111, allocations: 59.07 MB / 1.012 GB, free: 13.14 MB / 0.795 GB Notification: Performance of buildModelFMU: Generate platform static: time 15.83/16.94, allocations: 0 / 1.012 GB, free: 13.14 MB / 0.795 GB " [Timeout remaining time 643] (rm -f IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL.pipe ; mkfifo IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL.pipe >> ../files/IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_RL_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_RL.fmu > IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 20.96192243602127] Failed to read output from testmodel.py, exit status != 0: 17.11846845992841 17.149107261 16.460444646 Calling exit ...