Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R.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.001737/0.001737, allocations: 115.1 kB / 19.7 MB, free: 2.203 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.002108/0.002108, allocations: 219.2 kB / 23 MB, free: 5.074 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.538/1.538, allocations: 230.6 MB / 256.8 MB, free: 8.047 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.9625/0.9625, 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.ThreePhasesUnbalanced.Lines.Examples.ACLine_R,fileNamePrefix="IBPSA_latest_IBPSA_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_R",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R,fileNamePrefix="IBPSA_latest_IBPSA_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_R",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.002059/0.002059, allocations: 73.72 kB / 0.6413 GB, free: 10.47 MB / 478.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1693/0.1714, allocations: 89.17 MB / 0.7284 GB, free: 1.363 MB / 0.545 GB Notification: Performance of NFInst.instantiate(IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R): time 0.3912/0.5626, allocations: 36.79 MB / 0.7643 GB, free: 15.73 MB / 0.5763 GB Notification: Performance of NFInst.instExpressions: time 0.01446/0.5771, allocations: 10.33 MB / 0.7744 GB, free: 15.65 MB / 0.5763 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00295/0.58, allocations: 190.7 kB / 0.7746 GB, free: 15.65 MB / 0.5763 GB Notification: Performance of NFTyping.typeComponents: time 0.008963/0.589, allocations: 3.982 MB / 0.7785 GB, free: 14.95 MB / 0.5763 GB Notification: Performance of NFTyping.typeBindings: time 0.00714/0.5961, allocations: 2.148 MB / 0.7806 GB, free: 14.35 MB / 0.5763 GB Notification: Performance of NFTyping.typeClassSections: time 0.006311/0.6024, allocations: 2.04 MB / 0.7825 GB, free: 13.77 MB / 0.5763 GB Notification: Performance of NFFlatten.flatten: time 0.01098/0.6134, allocations: 7.98 MB / 0.7903 GB, free: 10.42 MB / 0.5763 GB Notification: Performance of NFFlatten.resolveConnections: time 0.007655/0.6211, allocations: 5.274 MB / 0.7955 GB, free: 7.891 MB / 0.5763 GB Notification: Performance of NFEvalConstants.evaluate: time 0.006386/0.6274, allocations: 3.469 MB / 0.7989 GB, free: 6.457 MB / 0.5763 GB Notification: Performance of NFSimplifyModel.simplify: time 0.006808/0.6343, allocations: 3.941 MB / 0.8027 GB, free: 5.059 MB / 0.5763 GB Notification: Performance of NFPackage.collectConstants: time 0.002365/0.6366, allocations: 0.6787 MB / 0.8034 GB, free: 5.059 MB / 0.5763 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004639/0.6413, allocations: 1.467 MB / 0.8048 GB, free: 4.781 MB / 0.5763 GB Notification: Performance of NFScalarize.scalarize: time 0.00369/0.645, allocations: 2.685 MB / 0.8074 GB, free: 3.055 MB / 0.5763 GB Notification: Performance of NFVerifyModel.verify: time 0.005652/0.6506, allocations: 3.103 MB / 0.8105 GB, free: 0.8945 MB / 0.5763 GB Notification: Performance of NFConvertDAE.convert: time 0.01531/0.6659, allocations: 10.42 MB / 0.8206 GB, free: 9.527 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 5.771e-06/0.6659, allocations: 0 / 0.8206 GB, free: 9.527 MB / 0.5919 GB Notification: Performance of FrontEnd: time 1.973e-06/0.6659, allocations: 0 / 0.8206 GB, free: 9.527 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 0.0004077/0.6663, allocations: 1.625 kB / 0.8206 GB, free: 9.527 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: 1286 * Number of variables: 1286 Notification: Performance of Generate backend data structure: time 0.01547/0.6818, allocations: 5.466 MB / 0.826 GB, free: 5.91 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 3.961e-05/0.6818, allocations: 11.22 kB / 0.826 GB, free: 5.91 MB / 0.5919 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001338/0.6832, allocations: 0.6999 MB / 0.8267 GB, free: 5.414 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004703/0.6879, allocations: 0.9912 MB / 0.8276 GB, free: 4.926 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008073/0.696, allocations: 3.132 MB / 0.8307 GB, free: 1.73 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003348/0.6963, allocations: 354.4 kB / 0.831 GB, free: 1.383 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001561/0.6978, allocations: 472.3 kB / 0.8315 GB, free: 0.9219 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01662/0.7145, allocations: 7.904 MB / 0.8392 GB, free: 8.652 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001356/0.7146, allocations: 27.77 kB / 0.8392 GB, free: 8.625 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0006779/0.7153, allocations: 208 kB / 0.8394 GB, free: 8.422 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0005368/0.7158, allocations: 369.1 kB / 0.8398 GB, free: 8.059 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01439/0.7302, allocations: 5.933 MB / 0.8456 GB, free: 2.109 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04377/0.774, allocations: 35.7 MB / 0.8804 GB, free: 11.2 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003506/0.7775, allocations: 1.99 MB / 0.8824 GB, free: 9.195 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001963/0.7794, allocations: 1.334 MB / 0.8837 GB, free: 7.863 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001093/0.7796, allocations: 21.31 kB / 0.8837 GB, free: 7.84 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.155e-05/0.7796, allocations: 55.81 kB / 0.8838 GB, free: 7.777 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=157): time 4.96e-06/0.7796, allocations: 4 kB / 0.8838 GB, free: 7.773 MB / 0.6544 GB Notification: Performance of matching and sorting (n=160): time 0.015/0.7946, allocations: 6.662 MB / 0.8903 GB, free: 1.066 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.043e-05/0.7947, allocations: 72.66 kB / 0.8903 GB, free: 0.9844 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002991/0.7977, allocations: 1.86 MB / 0.8922 GB, free: 15.1 MB / 0.67 GB Notification: Performance of collectPreVariables (initialization): time 0.0002576/0.7979, allocations: 57.7 kB / 0.8922 GB, free: 15.04 MB / 0.67 GB Notification: Performance of collectInitialEqns (initialization): time 0.001759/0.7997, allocations: 2.188 MB / 0.8943 GB, free: 12.83 MB / 0.67 GB Notification: Performance of collectInitialBindings (initialization): time 0.0006659/0.8003, allocations: 0.5848 MB / 0.8949 GB, free: 12.24 MB / 0.67 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006499/0.801, allocations: 411.9 kB / 0.8953 GB, free: 11.83 MB / 0.67 GB Notification: Performance of setup shared object (initialization): time 0.0001261/0.8011, allocations: 301.1 kB / 0.8956 GB, free: 11.53 MB / 0.67 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001706/0.8028, allocations: 1.062 MB / 0.8966 GB, free: 10.46 MB / 0.67 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002256/0.8051, allocations: 1.764 MB / 0.8984 GB, free: 8.387 MB / 0.67 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004172/0.8093, allocations: 3.051 MB / 0.9013 GB, free: 5.031 MB / 0.67 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.26e-05/0.8093, allocations: 4 kB / 0.9013 GB, free: 5.027 MB / 0.67 GB Notification: Performance of matching and sorting (n=281) (initialization): time 0.007086/0.8164, allocations: 3.904 MB / 0.9052 GB, free: 1.078 MB / 0.67 GB Notification: Performance of prepare postOptimizeDAE: time 3.733e-05/0.8164, allocations: 22.09 kB / 0.9052 GB, free: 1.059 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.946e-05/0.8164, allocations: 20 kB / 0.9052 GB, free: 1.039 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002554/0.819, allocations: 0.9242 MB / 0.9061 GB, free: 80 kB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001642/0.8206, allocations: 435.2 kB / 0.9065 GB, free: 15.65 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02258/0.8432, allocations: 21.55 MB / 0.9276 GB, free: 8.734 MB / 0.7013 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002186/0.8454, allocations: 123.9 kB / 0.9277 GB, free: 8.613 MB / 0.7013 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002507/0.8456, allocations: 96 kB / 0.9278 GB, free: 8.52 MB / 0.7013 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 (227): * Single equations (assignments): 215 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 12 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 12 systems {(2,6,100.0%), (2,6,100.0%), (2,6,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%), (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 prepare postOptimizeDAE: time 0.003088/0.8487, allocations: 1.646 MB / 0.9294 GB, free: 6.863 MB / 0.7013 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006002/0.8493, allocations: 270.4 kB / 0.9296 GB, free: 6.598 MB / 0.7013 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005934/0.8553, allocations: 3.236 MB / 0.9328 GB, free: 3.309 MB / 0.7013 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.543e-05/0.8553, allocations: 16 kB / 0.9328 GB, free: 3.293 MB / 0.7013 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.942e-05/0.8553, allocations: 12 kB / 0.9328 GB, free: 3.281 MB / 0.7013 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.67e-05/0.8553, allocations: 7.969 kB / 0.9328 GB, free: 3.273 MB / 0.7013 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01386/0.8692, allocations: 7.505 MB / 0.9402 GB, free: 11.62 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.104e-05/0.8692, allocations: 4 kB / 0.9402 GB, free: 11.61 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009797/0.8702, allocations: 215.6 kB / 0.9404 GB, free: 11.4 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002406/0.8726, allocations: 0.8958 MB / 0.9412 GB, free: 10.48 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000119/0.8727, allocations: 32 kB / 0.9413 GB, free: 10.45 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02216/0.8949, allocations: 21.51 MB / 0.9623 GB, free: 3.559 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.103e-06/0.8949, allocations: 12 kB / 0.9623 GB, free: 3.547 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006121/0.901, allocations: 3.361 MB / 0.9656 GB, free: 76 kB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001637/0.9026, allocations: 478.3 kB / 0.966 GB, free: 15.6 MB / 0.7481 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004553/0.9031, allocations: 47.88 kB / 0.9661 GB, free: 15.55 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00111/0.9042, allocations: 95.89 kB / 0.9662 GB, free: 15.46 MB / 0.7481 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003797/0.9046, allocations: 144.9 kB / 0.9663 GB, free: 15.32 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001156/0.9047, allocations: 52 kB / 0.9663 GB, free: 15.27 MB / 0.7481 GB Notification: Performance of sorting global known variables: time 0.001845/0.9065, allocations: 1.229 MB / 0.9675 GB, free: 14.02 MB / 0.7481 GB Notification: Performance of sort global known variables: time 1.5e-07/0.9065, allocations: 0 / 0.9675 GB, free: 14.02 MB / 0.7481 GB Notification: Performance of remove unused functions: time 0.00317/0.9097, allocations: 0.9023 MB / 0.9684 GB, free: 13.12 MB / 0.7481 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 19 * 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 (109): * Single equations (assignments): 97 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 12 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 12 systems {(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%), (2,4,100.0%), (2,2,100.0%), (2,6,100.0%), (2,6,100.0%), (2,6,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.00602/0.9157, allocations: 3.972 MB / 0.9723 GB, free: 9.027 MB / 0.7481 GB Notification: Performance of simCode: created initialization part: time 0.007383/0.9231, allocations: 4.285 MB / 0.9765 GB, free: 4.602 MB / 0.7481 GB Notification: Performance of simCode: created event and clocks part: time 1.203e-05/0.9231, allocations: 0 / 0.9765 GB, free: 4.602 MB / 0.7481 GB Notification: Performance of simCode: created simulation system equations: time 0.004601/0.9277, allocations: 2.913 MB / 0.9793 GB, free: 1.531 MB / 0.7481 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004038/0.9318, allocations: 0.8284 MB / 0.9801 GB, free: 0.7305 MB / 0.7481 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04812/0.9799, allocations: 25.24 MB / 1.005 GB, free: 6.414 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004848/0.9847, allocations: 3.201 MB / 1.008 GB, free: 3.176 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 0.0021/0.9868, allocations: 0.5293 MB / 1.008 GB, free: 2.641 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002413/0.9892, allocations: 1.651 MB / 1.01 GB, free: 0.9883 MB / 0.7794 GB Notification: Performance of SimCode: time 1.273e-06/0.9892, allocations: 4 kB / 1.01 GB, free: 0.9844 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2014/1.191, allocations: 72.58 MB / 1.081 GB, free: 9.172 MB / 0.8575 GB Notification: Performance of buildModelFMU: Generate platform static: time 16.99/18.18, allocations: 0 / 1.081 GB, free: 9.172 MB / 0.8575 GB " [Timeout remaining time 642] (rm -f IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R.pipe ; mkfifo IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R.pipe >> ../files/IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R.sim & python3 -m fmpy simulate --output-file IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_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_R.fmu > IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 22.516371531000914] Failed to read output from testmodel.py, exit status != 0: 18.339436041002045 18.67553261 18.006414934 Calling exit ...