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.001347/0.001347, allocations: 119 kB / 19.69 MB, free: 2.199 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.001497/0.001497, allocations: 221.7 kB / 23.01 MB, free: 5.043 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.49/1.49, 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.9693/0.9693, allocations: 150 MB / 463.2 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.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.002022/0.002022, allocations: 70.89 kB / 0.6413 GB, free: 10.33 MB / 478.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1796/0.1816, allocations: 89.16 MB / 0.7284 GB, free: 1.23 MB / 0.545 GB Notification: Performance of NFInst.instantiate(IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC): time 0.405/0.5865, allocations: 39.26 MB / 0.7667 GB, free: 15.78 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.02211/0.6087, allocations: 13.63 MB / 0.78 GB, free: 15.54 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004683/0.6133, allocations: 226.1 kB / 0.7802 GB, free: 15.43 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.01017/0.6235, allocations: 4.067 MB / 0.7842 GB, free: 13.69 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.009788/0.6333, allocations: 2.605 MB / 0.7867 GB, free: 12.09 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.008514/0.6418, allocations: 2.802 MB / 0.7895 GB, free: 10.52 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.01609/0.6579, allocations: 9.59 MB / 0.7988 GB, free: 6.168 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01081/0.6687, allocations: 5.562 MB / 0.8043 GB, free: 3.215 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.008303/0.677, allocations: 4.121 MB / 0.8083 GB, free: 0.8594 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00978/0.6868, allocations: 4.673 MB / 0.8129 GB, free: 13.97 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 0.003165/0.69, allocations: 0.771 MB / 0.8136 GB, free: 13.97 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.007509/0.6975, allocations: 1.809 MB / 0.8154 GB, free: 13.41 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 0.00657/0.704, allocations: 3.113 MB / 0.8184 GB, free: 11.36 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.009504/0.7135, allocations: 3.584 MB / 0.8219 GB, free: 8.859 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.01843/0.732, allocations: 11.9 MB / 0.8335 GB, free: 14.94 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 6.011e-06/0.732, allocations: 0 / 0.8335 GB, free: 14.94 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.363e-06/0.732, allocations: 0 / 0.8335 GB, free: 14.94 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 0.0003467/0.7323, allocations: 0 / 0.8335 GB, free: 14.94 MB / 0.6075 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.01898/0.7513, allocations: 6.435 MB / 0.8398 GB, free: 8.441 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 4.619e-05/0.7513, allocations: 12.03 kB / 0.8398 GB, free: 8.43 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.002665/0.754, allocations: 0.7496 MB / 0.8406 GB, free: 7.672 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009259/0.7633, allocations: 1.336 MB / 0.8419 GB, free: 6.332 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.009163/0.7724, allocations: 3.725 MB / 0.8455 GB, free: 2.523 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004058/0.7728, allocations: 382.5 kB / 0.8459 GB, free: 2.148 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001742/0.7746, allocations: 0.4924 MB / 0.8464 GB, free: 1.656 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01895/0.7935, allocations: 8.894 MB / 0.855 GB, free: 8.406 MB / 0.6231 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001883/0.7937, allocations: 27.77 kB / 0.8551 GB, free: 8.379 MB / 0.6231 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001209/0.7949, allocations: 223.9 kB / 0.8553 GB, free: 8.16 MB / 0.6231 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002176/0.7971, allocations: 0.6304 MB / 0.8559 GB, free: 7.527 MB / 0.6231 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01532/0.8124, allocations: 7.014 MB / 0.8628 GB, free: 0.5 MB / 0.6231 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05802/0.8704, allocations: 39.8 MB / 0.9016 GB, free: 5.461 MB / 0.67 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004725/0.8752, allocations: 2.655 MB / 0.9042 GB, free: 2.801 MB / 0.67 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00411/0.8793, allocations: 2.418 MB / 0.9066 GB, free: 384 kB / 0.67 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002718/0.8796, allocations: 30.09 kB / 0.9066 GB, free: 352 kB / 0.67 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.537e-05/0.8796, allocations: 68.59 kB / 0.9067 GB, free: 272 kB / 0.67 GB Notification: Performance of pre-optimization done (n=265): time 4.999e-06/0.8796, allocations: 0 / 0.9067 GB, free: 272 kB / 0.67 GB Notification: Performance of matching and sorting (n=424): time 0.3032/1.183, allocations: 72.93 MB / 0.9779 GB, free: 7.09 MB / 0.7481 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001404/1.183, allocations: 94.73 kB / 0.978 GB, free: 6.984 MB / 0.7481 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004223/1.187, allocations: 2.367 MB / 0.9803 GB, free: 4.605 MB / 0.7481 GB Notification: Performance of collectPreVariables (initialization): time 0.001041/1.188, allocations: 97.7 kB / 0.9804 GB, free: 4.504 MB / 0.7481 GB Notification: Performance of collectInitialEqns (initialization): time 0.002134/1.19, allocations: 2.395 MB / 0.9827 GB, free: 2.094 MB / 0.7481 GB Notification: Performance of collectInitialBindings (initialization): time 0.002174/1.193, allocations: 1.518 MB / 0.9842 GB, free: 0.5625 MB / 0.7481 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00158/1.194, allocations: 0.7217 MB / 0.9849 GB, free: 15.83 MB / 0.7637 GB Notification: Performance of setup shared object (initialization): time 0.0001332/1.194, allocations: 301.1 kB / 0.9852 GB, free: 15.53 MB / 0.7637 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005096/1.199, allocations: 3.003 MB / 0.9881 GB, free: 12.52 MB / 0.7637 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005978/1.205, allocations: 3.847 MB / 0.9919 GB, free: 8.34 MB / 0.7637 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01206/1.217, allocations: 7.384 MB / 0.9991 GB, free: 0.6328 MB / 0.7637 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.347e-05/1.217, allocations: 4 kB / 0.9991 GB, free: 0.6289 MB / 0.7637 GB Notification: Performance of matching and sorting (n=551) (initialization): time 0.03224/1.25, allocations: 12.39 MB / 1.011 GB, free: 4.133 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 4.107e-05/1.25, allocations: 20.03 kB / 1.011 GB, free: 4.113 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.793e-05/1.25, allocations: 20 kB / 1.011 GB, free: 4.094 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.02379/1.273, allocations: 6.027 MB / 1.017 GB, free: 14 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002373/1.276, allocations: 491.2 kB / 1.018 GB, free: 13.52 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.4684/1.744, allocations: 70.58 MB / 1.087 GB, free: 256.3 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003974/1.748, allocations: 214.2 kB / 1.087 GB, free: 256.3 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006293/1.749, allocations: 157.4 kB / 1.087 GB, free: 256.3 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.004294/1.753, allocations: 1.986 MB / 1.089 GB, free: 256.2 MB / 0.8419 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001076/1.754, allocations: 412.8 kB / 1.089 GB, free: 256.2 MB / 0.8419 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.03168/1.786, allocations: 12.05 MB / 1.101 GB, free: 255.7 MB / 0.8419 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.821e-05/1.786, allocations: 40.25 kB / 1.101 GB, free: 255.7 MB / 0.8419 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0002263/1.786, allocations: 51.56 kB / 1.101 GB, free: 255.7 MB / 0.8419 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.731e-05/1.786, allocations: 23.11 kB / 1.101 GB, free: 255.7 MB / 0.8419 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0554/1.842, allocations: 18.94 MB / 1.12 GB, free: 248.6 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.501e-05/1.842, allocations: 7.375 kB / 1.12 GB, free: 248.6 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002615/1.844, allocations: 285.7 kB / 1.12 GB, free: 248.6 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0215/1.866, allocations: 5.578 MB / 1.125 GB, free: 247.3 MB / 0.8419 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0006914/1.867, allocations: 80.34 kB / 1.125 GB, free: 247.2 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.06587/1.932, allocations: 68.22 MB / 1.192 GB, free: 193.3 MB / 0.8419 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.36e-06/1.932, allocations: 8 kB / 1.192 GB, free: 193.3 MB / 0.8419 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02831/1.961, allocations: 15.45 MB / 1.207 GB, free: 177.6 MB / 0.8419 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002934/1.964, allocations: 0.9874 MB / 1.208 GB, free: 176.6 MB / 0.8419 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001108/1.965, allocations: 83.98 kB / 1.208 GB, free: 176.5 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003031/1.968, allocations: 215.7 kB / 1.208 GB, free: 176.3 MB / 0.8419 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001775/1.97, allocations: 426 kB / 1.209 GB, free: 175.9 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004486/1.97, allocations: 108 kB / 1.209 GB, free: 175.8 MB / 0.8419 GB Notification: Performance of sorting global known variables: time 0.002288/1.972, allocations: 1.556 MB / 1.21 GB, free: 174.2 MB / 0.8419 GB Notification: Performance of sort global known variables: time 2.41e-07/1.972, allocations: 4 kB / 1.21 GB, free: 174.2 MB / 0.8419 GB Notification: Performance of remove unused functions: time 0.006715/1.979, allocations: 1.863 MB / 1.212 GB, free: 172.4 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.02715/2.006, allocations: 16.13 MB / 1.228 GB, free: 156 MB / 0.8419 GB Notification: Performance of simCode: created initialization part: time 0.01855/2.025, allocations: 11.6 MB / 1.239 GB, free: 144.1 MB / 0.8419 GB Notification: Performance of simCode: created event and clocks part: time 1.337e-05/2.025, allocations: 4.25 kB / 1.239 GB, free: 144.1 MB / 0.8419 GB Notification: Performance of simCode: created simulation system equations: time 0.01392/2.039, allocations: 8.116 MB / 1.247 GB, free: 135.7 MB / 0.8419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006892/2.046, allocations: 1.2 MB / 1.248 GB, free: 134.5 MB / 0.8419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0992/2.145, allocations: 53.81 MB / 1.301 GB, free: 79.25 MB / 0.8419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004317/2.149, allocations: 4.091 MB / 1.305 GB, free: 75.12 MB / 0.8419 GB Notification: Performance of simCode: alias equations: time 0.002017/2.151, allocations: 0.6708 MB / 1.306 GB, free: 74.45 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002008/2.153, allocations: 2.128 MB / 1.308 GB, free: 72.32 MB / 0.8419 GB Notification: Performance of SimCode: time 1.142e-06/2.153, allocations: 0 / 1.308 GB, free: 72.32 MB / 0.8419 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.6955/2.849, allocations: 156.5 MB / 1.461 GB, free: 275.8 MB / 0.8731 GB Notification: Performance of buildModelFMU: Generate platform static: time 21.62/24.47, allocations: 9.125 kB / 1.461 GB, free: 275.8 MB / 0.8731 GB " [Timeout remaining time 635] (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: 28.514844782999717] Failed to read output from testmodel.py, exit status != 0: 24.666577354000765 24.678184998 23.943281068 Calling exit ...