Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine.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.00139/0.00139, allocations: 104.3 kB / 19.69 MB, free: 1.945 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.001489/0.001489, allocations: 221.5 kB / 22.99 MB, free: 4.973 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.503/1.503, allocations: 230.6 MB / 256.8 MB, free: 7.809 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.066/1.066, allocations: 149.9 MB / 463 MB, free: 10.34 MB / 366.1 MB " [Timeout remaining time 178] 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.ACLine,fileNamePrefix="IBPSA_latest_IBPSA_Electrical_AC_ThreePhasesBalanced_Lines_Examples_ACLine",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine,fileNamePrefix="IBPSA_latest_IBPSA_Electrical_AC_ThreePhasesBalanced_Lines_Examples_ACLine",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.002303/0.002303, allocations: 75.38 kB / 0.6411 GB, free: 10.12 MB / 478.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1817/0.184, allocations: 89.17 MB / 0.7282 GB, free: 1.027 MB / 0.545 GB Notification: Performance of NFInst.instantiate(IBPSA.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine): time 0.01911/0.2031, allocations: 13.28 MB / 0.7411 GB, free: 3.695 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.01613/0.2193, allocations: 9.143 MB / 0.7501 GB, free: 10.53 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001706/0.221, allocations: 91.19 kB / 0.7501 GB, free: 10.44 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.005351/0.2263, allocations: 1.668 MB / 0.7518 GB, free: 8.766 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.005871/0.2322, allocations: 1.58 MB / 0.7533 GB, free: 7.184 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.003348/0.2355, allocations: 0.7629 MB / 0.7541 GB, free: 6.422 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.004943/0.2405, allocations: 2.521 MB / 0.7565 GB, free: 3.891 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002704/0.2432, allocations: 1.172 MB / 0.7577 GB, free: 2.688 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002566/0.2457, allocations: 1.211 MB / 0.7588 GB, free: 1.473 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002144/0.2479, allocations: 1.062 MB / 0.7599 GB, free: 416 kB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 0.0005252/0.2484, allocations: 160 kB / 0.76 GB, free: 256 kB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.3755/0.6239, allocations: 0.7216 MB / 0.7607 GB, free: 12.79 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.0008096/0.6247, allocations: 0.6207 MB / 0.7614 GB, free: 12.79 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.001014/0.6257, allocations: 0.7675 MB / 0.7621 GB, free: 12.78 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.00358/0.6293, allocations: 2.759 MB / 0.7648 GB, free: 12.4 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 6.402e-06/0.6293, allocations: 1.328 kB / 0.7648 GB, free: 12.4 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.823e-06/0.6293, allocations: 3.938 kB / 0.7648 GB, free: 12.4 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 9.765e-05/0.6294, allocations: 1.406 kB / 0.7648 GB, free: 12.4 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.00422/0.6336, allocations: 2.104 MB / 0.7669 GB, free: 11.41 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 4.158e-05/0.6337, allocations: 13 kB / 0.7669 GB, free: 11.41 MB / 0.5762 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002458/0.6339, allocations: 197.9 kB / 0.7671 GB, free: 11.36 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01168/0.6456, allocations: 2.094 MB / 0.7691 GB, free: 11.26 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003215/0.6488, allocations: 1.178 MB / 0.7703 GB, free: 10.87 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.747e-05/0.6489, allocations: 86.12 kB / 0.7703 GB, free: 10.86 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004057/0.6493, allocations: 118.6 kB / 0.7704 GB, free: 10.86 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007016/0.6563, allocations: 2.894 MB / 0.7733 GB, free: 10.2 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.374e-05/0.6564, allocations: 15.36 kB / 0.7733 GB, free: 10.19 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001965/0.6566, allocations: 54.45 kB / 0.7733 GB, free: 10.19 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0007371/0.6573, allocations: 177.9 kB / 0.7735 GB, free: 10.18 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.008699/0.666, allocations: 2.793 MB / 0.7762 GB, free: 10.16 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01532/0.6813, allocations: 8.325 MB / 0.7844 GB, free: 6.809 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.006544/0.6879, allocations: 2.224 MB / 0.7865 GB, free: 6.766 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003053/0.6909, allocations: 1.205 MB / 0.7877 GB, free: 6.754 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 7.333e-05/0.691, allocations: 9.938 kB / 0.7877 GB, free: 6.754 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.182e-05/0.691, allocations: 47.48 kB / 0.7878 GB, free: 6.711 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=89): time 3.927e-06/0.691, allocations: 0.6094 kB / 0.7878 GB, free: 6.711 MB / 0.5762 GB Notification: Performance of matching and sorting (n=131): time 0.04535/0.7364, allocations: 12.66 MB / 0.8001 GB, free: 3.078 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.472e-05/0.7364, allocations: 69.5 kB / 0.8002 GB, free: 3.012 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001431/0.7378, allocations: 1.138 MB / 0.8013 GB, free: 2.379 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 0.0002195/0.7381, allocations: 45.83 kB / 0.8014 GB, free: 2.332 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003635/0.7384, allocations: 0.7283 MB / 0.8021 GB, free: 1.688 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003556/0.7388, allocations: 472.4 kB / 0.8025 GB, free: 1.285 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004739/0.7392, allocations: 259.1 kB / 0.8028 GB, free: 1.141 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 8.471e-05/0.7393, allocations: 364.8 kB / 0.8031 GB, free: 0.793 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0034/0.7427, allocations: 1.339 MB / 0.8044 GB, free: 108 kB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003628/0.7464, allocations: 1.603 MB / 0.806 GB, free: 15.12 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.006949/0.7533, allocations: 2.992 MB / 0.8089 GB, free: 13.42 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.592e-06/0.7533, allocations: 3.188 kB / 0.8089 GB, free: 13.42 MB / 0.5919 GB Notification: Performance of matching and sorting (n=168) (initialization): time 0.01207/0.7654, allocations: 4.401 MB / 0.8132 GB, free: 11.08 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 3.241e-05/0.7654, allocations: 11.97 kB / 0.8132 GB, free: 11.08 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.378e-05/0.7654, allocations: 12.84 kB / 0.8132 GB, free: 11.07 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.005378/0.7708, allocations: 1.427 MB / 0.8146 GB, free: 10.3 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002303/0.7731, allocations: 430.5 kB / 0.815 GB, free: 10.15 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03116/0.8043, allocations: 25.11 MB / 0.8396 GB, free: 452 kB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003284/0.8076, allocations: 307.6 kB / 0.8398 GB, free: 144 kB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002622/0.8078, allocations: 63.97 kB / 0.8399 GB, free: 80 kB / 0.6075 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 (99): * Single equations (assignments): 86 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 13 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 13 systems {(2,4,100.0%), (1,1,100.0%), (2,4,100.0%), (3,9,100.0%), (1,1,100.0%), (1,1,100.0%), (3,9,100.0%), (3,9,100.0%), (1,1,100.0%), (3,9,100.0%), (1,1,100.0%), (2,4,100.0%), (2,4,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.001063/0.8089, allocations: 443.5 kB / 0.8403 GB, free: 15.65 MB / 0.6231 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003884/0.8093, allocations: 167 kB / 0.8405 GB, free: 15.48 MB / 0.6231 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01256/0.8218, allocations: 4.398 MB / 0.8448 GB, free: 11.08 MB / 0.6231 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.749e-05/0.8218, allocations: 15.98 kB / 0.8448 GB, free: 11.07 MB / 0.6231 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.116e-05/0.8219, allocations: 16 kB / 0.8448 GB, free: 11.05 MB / 0.6231 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.866e-05/0.8219, allocations: 4.094 kB / 0.8448 GB, free: 11.05 MB / 0.6231 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01688/0.8388, allocations: 6.311 MB / 0.851 GB, free: 4.703 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.272e-05/0.8388, allocations: 4 kB / 0.851 GB, free: 4.699 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001991/0.8408, allocations: 377.9 kB / 0.8513 GB, free: 4.336 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.005113/0.8459, allocations: 1.302 MB / 0.8526 GB, free: 3 MB / 0.6231 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002127/0.8461, allocations: 39.62 kB / 0.8527 GB, free: 2.965 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02867/0.8748, allocations: 23.98 MB / 0.8761 GB, free: 9.645 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.626e-06/0.8748, allocations: 10.42 kB / 0.8761 GB, free: 9.637 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01189/0.8867, allocations: 4.162 MB / 0.8801 GB, free: 5.434 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00146/0.8881, allocations: 386.9 kB / 0.8805 GB, free: 5.055 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002832/0.8884, allocations: 32.11 kB / 0.8805 GB, free: 5.023 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002165/0.8906, allocations: 315.4 kB / 0.8808 GB, free: 4.715 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004263/0.891, allocations: 123.5 kB / 0.881 GB, free: 4.598 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001372/0.8911, allocations: 55.95 kB / 0.881 GB, free: 4.543 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 0.00112/0.8923, allocations: 0.7526 MB / 0.8818 GB, free: 3.789 MB / 0.6544 GB Notification: Performance of sort global known variables: time 9e-08/0.8923, allocations: 2.812 kB / 0.8818 GB, free: 3.789 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.001998/0.8943, allocations: 0.5664 MB / 0.8823 GB, free: 3.223 MB / 0.6544 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 (67): * Single equations (assignments): 54 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 13 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 13 systems {(1,1,100.0%), (2,4,100.0%), (1,1,100.0%), (3,9,100.0%), (1,1,100.0%), (2,4,100.0%), (1,1,100.0%), (1,1,100.0%), (3,7,100.0%), (2,4,100.0%), (3,9,100.0%), (2,4,100.0%), (3,7,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.01208/0.9063, allocations: 4.751 MB / 0.8869 GB, free: 14.42 MB / 0.67 GB Notification: Performance of simCode: created initialization part: time 0.01217/0.9185, allocations: 4.976 MB / 0.8918 GB, free: 9.32 MB / 0.67 GB Notification: Performance of simCode: created event and clocks part: time 1.169e-05/0.9185, allocations: 0 / 0.8918 GB, free: 9.32 MB / 0.67 GB Notification: Performance of simCode: created simulation system equations: time 0.007983/0.9265, allocations: 3.421 MB / 0.8951 GB, free: 5.754 MB / 0.67 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002788/0.9293, allocations: 0.5472 MB / 0.8957 GB, free: 5.25 MB / 0.67 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04589/0.9752, allocations: 19.33 MB / 0.9146 GB, free: 1.664 MB / 0.6856 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001289/0.9765, allocations: 0.8873 MB / 0.9154 GB, free: 0.7383 MB / 0.6856 GB Notification: Performance of simCode: alias equations: time 0.001697/0.9782, allocations: 429.6 kB / 0.9158 GB, free: 320 kB / 0.6856 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001077/0.9793, allocations: 0.6346 MB / 0.9165 GB, free: 15.72 MB / 0.7012 GB Notification: Performance of SimCode: time 1.002e-06/0.9793, allocations: 0 / 0.9165 GB, free: 15.72 MB / 0.7012 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1411/1.12, allocations: 56.38 MB / 0.9715 GB, free: 8.281 MB / 0.7481 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.59/14.71, allocations: 2.625 kB / 0.9715 GB, free: 8.281 MB / 0.7481 GB " [Timeout remaining time 645] (rm -f IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine.pipe ; mkfifo IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine.pipe >> ../files/IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine.sim & python3 -m fmpy simulate --output-file IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_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_ThreePhasesBalanced_Lines_Examples_ACLine.fmu > IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 18.860637723002583] Failed to read output from testmodel.py, exit status != 0: 14.851880093105137 14.872569534 14.238019932 Calling exit ...