Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC.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.001889/0.001889, allocations: 104.3 kB / 19.7 MB, free: 1.789 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.002656/0.002656, allocations: 210.4 kB / 22.99 MB, free: 4.617 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.558/1.558, allocations: 230.6 MB / 256.8 MB, free: 7.789 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.9814/0.9814, allocations: 149.9 MB / 463 MB, free: 10.36 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_RLC,fileNamePrefix="IBPSA_latest_IBPSA_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_RLC",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC,fileNamePrefix="IBPSA_latest_IBPSA_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_RLC",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.002255/0.002255, allocations: 77.27 kB / 0.6411 GB, free: 10.14 MB / 478.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1738/0.1761, allocations: 89.17 MB / 0.7282 GB, free: 1.039 MB / 0.545 GB Notification: Performance of NFInst.instantiate(IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC): time 0.4722/0.6483, allocations: 35.7 MB / 0.763 GB, free: 14.77 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.02032/0.6686, allocations: 13.2 MB / 0.7759 GB, free: 14.65 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004354/0.673, allocations: 228 kB / 0.7762 GB, free: 14.6 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.01066/0.6836, allocations: 3.913 MB / 0.78 GB, free: 13.8 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.008912/0.6926, allocations: 2.613 MB / 0.7825 GB, free: 12.8 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.007848/0.7004, allocations: 2.731 MB / 0.7852 GB, free: 11.44 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.01449/0.7149, allocations: 9.596 MB / 0.7946 GB, free: 7.098 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01191/0.7268, allocations: 5.509 MB / 0.7999 GB, free: 4.336 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.009703/0.7365, allocations: 4.145 MB / 0.804 GB, free: 2.285 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.01107/0.7476, allocations: 4.399 MB / 0.8083 GB, free: 15.68 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 0.003979/0.7516, allocations: 0.7701 MB / 0.809 GB, free: 15.68 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.007374/0.7589, allocations: 1.665 MB / 0.8107 GB, free: 15.17 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 0.006709/0.7656, allocations: 3.115 MB / 0.8137 GB, free: 13.14 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.01031/0.776, allocations: 2.916 MB / 0.8166 GB, free: 11.31 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.02155/0.7975, allocations: 11.94 MB / 0.8282 GB, free: 2.73 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 9.017e-06/0.7975, allocations: 1.969 kB / 0.8282 GB, free: 2.73 MB / 0.5919 GB Notification: Performance of FrontEnd: time 2.866e-06/0.7975, allocations: 0 / 0.8282 GB, free: 2.73 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 0.0004861/0.798, allocations: 0 / 0.8282 GB, free: 2.73 MB / 0.5919 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1394 * Number of variables: 1394 Notification: Performance of Generate backend data structure: time 0.02127/0.8193, allocations: 6.44 MB / 0.8345 GB, free: 12.29 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 5.061e-05/0.8193, allocations: 8.031 kB / 0.8345 GB, free: 12.28 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.002768/0.8221, allocations: 0.7558 MB / 0.8353 GB, free: 11.51 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009625/0.8317, allocations: 1.329 MB / 0.8365 GB, free: 10.18 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.009951/0.8417, allocations: 3.733 MB / 0.8402 GB, free: 6.363 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004455/0.8421, allocations: 378.5 kB / 0.8406 GB, free: 5.992 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002047/0.8442, allocations: 0.5002 MB / 0.841 GB, free: 5.492 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0228/0.867, allocations: 9.647 MB / 0.8505 GB, free: 11.3 MB / 0.6231 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.000288/0.8673, allocations: 23.83 kB / 0.8505 GB, free: 11.28 MB / 0.6231 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001955/0.8692, allocations: 223.9 kB / 0.8507 GB, free: 11.06 MB / 0.6231 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002515/0.8717, allocations: 0.6265 MB / 0.8513 GB, free: 10.43 MB / 0.6231 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01545/0.8872, allocations: 7.003 MB / 0.8582 GB, free: 3.418 MB / 0.6231 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05312/0.9403, allocations: 27.59 MB / 0.8851 GB, free: 7.164 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004912/0.9452, allocations: 2.648 MB / 0.8877 GB, free: 4.504 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004425/0.9496, allocations: 2.418 MB / 0.89 GB, free: 2.078 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000337/0.95, allocations: 26.09 kB / 0.8901 GB, free: 2.051 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.685e-05/0.9501, allocations: 76.44 kB / 0.8901 GB, free: 1.965 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=265): time 6.483e-06/0.9501, allocations: 0 / 0.8901 GB, free: 1.965 MB / 0.6544 GB Notification: Performance of matching and sorting (n=424): time 0.3208/1.271, allocations: 72.93 MB / 0.9614 GB, free: 8.801 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001086/1.271, allocations: 94.73 kB / 0.9614 GB, free: 8.695 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004372/1.275, allocations: 2.406 MB / 0.9638 GB, free: 6.277 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 0.0009337/1.276, allocations: 93.7 kB / 0.9639 GB, free: 6.18 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 0.002083/1.278, allocations: 2.399 MB / 0.9662 GB, free: 3.762 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 0.002344/1.281, allocations: 1.51 MB / 0.9677 GB, free: 2.238 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001601/1.282, allocations: 0.7256 MB / 0.9684 GB, free: 1.5 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001522/1.282, allocations: 305.1 kB / 0.9687 GB, free: 1.199 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004888/1.287, allocations: 2.995 MB / 0.9716 GB, free: 14.19 MB / 0.7481 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00606/1.293, allocations: 3.853 MB / 0.9754 GB, free: 10.01 MB / 0.7481 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01251/1.306, allocations: 7.379 MB / 0.9826 GB, free: 2.312 MB / 0.7481 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.922e-05/1.306, allocations: 8 kB / 0.9826 GB, free: 2.305 MB / 0.7481 GB Notification: Performance of matching and sorting (n=551) (initialization): time 0.03247/1.338, allocations: 12.39 MB / 0.9947 GB, free: 5.82 MB / 0.7637 GB Notification: Performance of prepare postOptimizeDAE: time 4.349e-05/1.338, allocations: 16 kB / 0.9947 GB, free: 5.805 MB / 0.7637 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.452e-05/1.339, allocations: 24 kB / 0.9947 GB, free: 5.781 MB / 0.7637 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.02413/1.363, allocations: 6.015 MB / 1.001 GB, free: 15.7 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002516/1.365, allocations: 495.1 kB / 1.001 GB, free: 15.22 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.1107/1.476, allocations: 69.72 MB / 1.069 GB, free: 6.773 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007237/1.483, allocations: 219.8 kB / 1.069 GB, free: 6.559 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001353/1.484, allocations: 152 kB / 1.07 GB, free: 6.41 MB / 0.8419 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 101 * 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 (269): * Single equations (assignments): 245 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 24 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 24 systems {(2,2,100.0%), (1,1,100.0%), (2,2,100.0%), (1,1,100.0%), (2,2,100.0%), (1,1,100.0%), (4,16,100.0%), (4,16,100.0%), (4,16,100.0%), (4,16,100.0%), (4,16,100.0%), (4,16,100.0%), (2,8,100.0%), (2,16,100.0%), (3,15,100.0%), (2,8,100.0%), (2,8,100.0%), (2,16,100.0%), (3,15,100.0%), (2,8,100.0%), (2,8,100.0%), (2,16,100.0%), (3,15,100.0%), (2,8,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.008656/1.493, allocations: 1.984 MB / 1.071 GB, free: 4.414 MB / 0.8419 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002537/1.496, allocations: 413.5 kB / 1.072 GB, free: 4.008 MB / 0.8419 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.4883/1.984, allocations: 12.05 MB / 1.084 GB, free: 265.5 MB / 0.8419 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.014e-05/1.984, allocations: 39.69 kB / 1.084 GB, free: 265.5 MB / 0.8419 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0002865/1.984, allocations: 49.28 kB / 1.084 GB, free: 265.5 MB / 0.8419 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001229/1.984, allocations: 20.34 kB / 1.084 GB, free: 265.5 MB / 0.8419 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.06988/2.054, allocations: 17.92 MB / 1.101 GB, free: 262.8 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.519e-05/2.054, allocations: 8.906 kB / 1.101 GB, free: 262.8 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00249/2.057, allocations: 286 kB / 1.102 GB, free: 262.8 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.02699/2.084, allocations: 5.562 MB / 1.107 GB, free: 261.5 MB / 0.8419 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0007078/2.085, allocations: 81.31 kB / 1.107 GB, free: 261.4 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.06939/2.154, allocations: 67.35 MB / 1.173 GB, free: 213.5 MB / 0.8419 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.062e-06/2.154, allocations: 11.94 kB / 1.173 GB, free: 213.5 MB / 0.8419 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0283/2.182, allocations: 15.45 MB / 1.188 GB, free: 198 MB / 0.8419 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00392/2.186, allocations: 0.9938 MB / 1.189 GB, free: 197 MB / 0.8419 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001707/2.188, allocations: 79.95 kB / 1.189 GB, free: 196.9 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003878/2.192, allocations: 215.7 kB / 1.189 GB, free: 196.7 MB / 0.8419 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001931/2.194, allocations: 426 kB / 1.19 GB, free: 196.3 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0007384/2.194, allocations: 116.1 kB / 1.19 GB, free: 196.2 MB / 0.8419 GB Notification: Performance of sorting global known variables: time 0.002628/2.197, allocations: 1.556 MB / 1.191 GB, free: 194.6 MB / 0.8419 GB Notification: Performance of sort global known variables: time 9e-08/2.197, allocations: 0 / 1.191 GB, free: 194.6 MB / 0.8419 GB Notification: Performance of remove unused functions: time 0.008178/2.205, allocations: 1.859 MB / 1.193 GB, free: 192.8 MB / 0.8419 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 31 * Number of states: 6 (RLCLine_sc.phase1.Vc[1],RLCLine_sc.phase1.Vc[2],RLCLine_sc.phase2.Vc[1],RLCLine_sc.phase2.Vc[2],RLCLine_sc.phase3.Vc[1],RLCLine_sc.phase3.Vc[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 (145): * Single equations (assignments): 121 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 24 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 24 systems {(2,8,100.0%), (2,8,100.0%), (2,8,100.0%), (3,15,100.0%), (3,15,100.0%), (3,15,100.0%), (4,16,100.0%), (4,16,100.0%), (4,16,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (2,2,100.0%), (2,2,100.0%), (2,2,100.0%), (2,8,100.0%), (3,15,100.0%), (2,8,100.0%), (3,15,100.0%), (2,8,100.0%), (3,15,100.0%), (4,16,100.0%), (4,16,100.0%), (4,16,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.03137/2.237, allocations: 16.12 MB / 1.209 GB, free: 176.4 MB / 0.8419 GB Notification: Performance of simCode: created initialization part: time 0.01941/2.256, allocations: 11.59 MB / 1.22 GB, free: 164.5 MB / 0.8419 GB Notification: Performance of simCode: created event and clocks part: time 2.138e-05/2.256, allocations: 7.938 kB / 1.22 GB, free: 164.5 MB / 0.8419 GB Notification: Performance of simCode: created simulation system equations: time 0.01448/2.271, allocations: 8.123 MB / 1.228 GB, free: 156.1 MB / 0.8419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.008089/2.279, allocations: 1.201 MB / 1.229 GB, free: 154.9 MB / 0.8419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1072/2.386, allocations: 53.75 MB / 1.282 GB, free: 99.7 MB / 0.8419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.007436/2.393, allocations: 3.567 MB / 1.285 GB, free: 96.09 MB / 0.8419 GB Notification: Performance of simCode: alias equations: time 0.002965/2.396, allocations: 0.6669 MB / 1.286 GB, free: 95.42 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002939/2.399, allocations: 2.128 MB / 1.288 GB, free: 93.29 MB / 0.8419 GB Notification: Performance of SimCode: time 2.595e-06/2.399, allocations: 0 / 1.288 GB, free: 93.29 MB / 0.8419 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.6732/3.072, allocations: 161.1 MB / 1.445 GB, free: 281.9 MB / 0.8731 GB Notification: Performance of buildModelFMU: Generate platform static: time 18.52/21.59, allocations: 9.922 kB / 1.445 GB, free: 281.8 MB / 0.8731 GB " [Timeout remaining time 638] (rm -f IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC.pipe ; mkfifo IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC.pipe >> ../files/IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC.sim & python3 -m fmpy simulate --output-file IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 IBPSA_latest_IBPSA_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_RLC.fmu > IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 25.76790768187493] Failed to read output from testmodel.py, exit status != 0: 21.782897029072046 21.795000999 20.994442149 Calling exit ...