Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N.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.001741/0.001741, allocations: 109.7 kB / 17.12 MB, free: 5.926 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.002268/0.002268, allocations: 204 kB / 20.09 MB, free: 2.977 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 / 253.5 MB, free: 15.09 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.008/1.008, allocations: 150 MB / 459.5 MB, free: 5.285 MB / 350.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_N,fileNamePrefix="IBPSA_latest_IBPSA_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_R_N",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N,fileNamePrefix="IBPSA_latest_IBPSA_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_R_N",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.00194/0.00194, allocations: 82.41 kB / 0.6361 GB, free: 30.41 MB / 0.4981 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1809/0.1829, allocations: 89.13 MB / 0.7232 GB, free: 4.016 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N): time 0.04752/0.2304, allocations: 38.58 MB / 0.7609 GB, free: 13.3 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.02217/0.2525, allocations: 11.16 MB / 0.7718 GB, free: 2.113 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0046/0.2571, allocations: 198.6 kB / 0.7719 GB, free: 1.918 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.01233/0.2695, allocations: 4.433 MB / 0.7763 GB, free: 13.48 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.008051/0.2775, allocations: 2.34 MB / 0.7786 GB, free: 11.12 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.006624/0.2842, allocations: 2.171 MB / 0.7807 GB, free: 8.957 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.01353/0.2977, allocations: 9.276 MB / 0.7897 GB, free: 15.65 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01487/0.3126, allocations: 8.53 MB / 0.7981 GB, free: 7.008 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.007943/0.3205, allocations: 4.102 MB / 0.8021 GB, free: 2.895 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.01091/0.3314, allocations: 4.759 MB / 0.8067 GB, free: 14.12 MB / 0.6231 GB Notification: Performance of NFPackage.collectConstants: time 0.003341/0.3348, allocations: 0.8203 MB / 0.8075 GB, free: 13.3 MB / 0.6231 GB Notification: Performance of NFFlatten.collectFunctions: time 0.006015/0.3408, allocations: 1.607 MB / 0.8091 GB, free: 11.69 MB / 0.6231 GB Notification: Performance of NFScalarize.scalarize: time 0.005892/0.3467, allocations: 3.238 MB / 0.8123 GB, free: 8.445 MB / 0.6231 GB Notification: Performance of NFVerifyModel.verify: time 0.007885/0.3546, allocations: 3.653 MB / 0.8158 GB, free: 4.777 MB / 0.6231 GB Notification: Performance of NFConvertDAE.convert: time 0.01836/0.3729, allocations: 12.34 MB / 0.8279 GB, free: 8.395 MB / 0.6387 GB Notification: Performance of FrontEnd - DAE generated: time 6.792e-06/0.3729, allocations: 0 / 0.8279 GB, free: 8.395 MB / 0.6387 GB Notification: Performance of FrontEnd: time 1.512e-06/0.3729, allocations: 0 / 0.8279 GB, free: 8.395 MB / 0.6387 GB Notification: Performance of Transformations before backend: time 0.0004093/0.3733, allocations: 0 / 0.8279 GB, free: 8.395 MB / 0.6387 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1524 * Number of variables: 1524 Notification: Performance of Generate backend data structure: time 0.0191/0.3924, allocations: 6.474 MB / 0.8342 GB, free: 1.84 MB / 0.6387 GB Notification: Performance of prepare preOptimizeDAE: time 5.237e-05/0.3925, allocations: 11.97 kB / 0.8342 GB, free: 1.828 MB / 0.6387 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.002724/0.3952, allocations: 0.8294 MB / 0.835 GB, free: 0.9883 MB / 0.6387 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006763/0.402, allocations: 1.09 MB / 0.8361 GB, free: 15.89 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00811/0.4101, allocations: 3.636 MB / 0.8396 GB, free: 12.21 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.00041/0.4105, allocations: 419.8 kB / 0.84 GB, free: 11.8 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002089/0.4126, allocations: 0.5433 MB / 0.8406 GB, free: 11.25 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0223/0.4349, allocations: 9.377 MB / 0.8497 GB, free: 1.543 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.000145/0.435, allocations: 31.81 kB / 0.8498 GB, free: 1.512 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0007611/0.4358, allocations: 244 kB / 0.85 GB, free: 1.273 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000697/0.4365, allocations: 418.9 kB / 0.8504 GB, free: 0.8633 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01428/0.4508, allocations: 7.123 MB / 0.8573 GB, free: 9.73 MB / 0.67 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.462/0.9127, allocations: 41.06 MB / 0.8974 GB, free: 95.06 MB / 0.67 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005192/0.9179, allocations: 2.912 MB / 0.9003 GB, free: 93.97 MB / 0.67 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002632/0.9206, allocations: 1.937 MB / 0.9022 GB, free: 93.25 MB / 0.67 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001175/0.9207, allocations: 26.88 kB / 0.9022 GB, free: 93.25 MB / 0.67 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.754e-05/0.9207, allocations: 64.38 kB / 0.9023 GB, free: 93.19 MB / 0.67 GB Notification: Performance of pre-optimization done (n=209): time 3.687e-06/0.9207, allocations: 0 / 0.9023 GB, free: 93.19 MB / 0.67 GB Notification: Performance of matching and sorting (n=212): time 0.02194/0.9427, allocations: 10.58 MB / 0.9126 GB, free: 87.62 MB / 0.67 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.594e-05/0.9427, allocations: 73.12 kB / 0.9127 GB, free: 87.55 MB / 0.67 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002426/0.9451, allocations: 2.004 MB / 0.9146 GB, free: 86.48 MB / 0.67 GB Notification: Performance of collectPreVariables (initialization): time 0.0002841/0.9454, allocations: 65.14 kB / 0.9147 GB, free: 86.43 MB / 0.67 GB Notification: Performance of collectInitialEqns (initialization): time 0.001006/0.9464, allocations: 2.471 MB / 0.9171 GB, free: 84.62 MB / 0.67 GB Notification: Performance of collectInitialBindings (initialization): time 0.000534/0.9469, allocations: 0.7668 MB / 0.9178 GB, free: 84.06 MB / 0.67 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006939/0.9476, allocations: 483.5 kB / 0.9183 GB, free: 83.79 MB / 0.67 GB Notification: Performance of setup shared object (initialization): time 3.808e-05/0.9477, allocations: 305.1 kB / 0.9186 GB, free: 83.49 MB / 0.67 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001592/0.9493, allocations: 1.374 MB / 0.9199 GB, free: 82.77 MB / 0.67 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00182/0.9511, allocations: 2.111 MB / 0.922 GB, free: 81.11 MB / 0.67 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003729/0.9548, allocations: 3.76 MB / 0.9257 GB, free: 78.54 MB / 0.67 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.286e-05/0.9548, allocations: 7.312 kB / 0.9257 GB, free: 78.54 MB / 0.67 GB Notification: Performance of matching and sorting (n=339) (initialization): time 0.006793/0.9616, allocations: 5.034 MB / 0.9306 GB, free: 75.32 MB / 0.67 GB Notification: Performance of prepare postOptimizeDAE: time 2.648e-05/0.9616, allocations: 16.17 kB / 0.9306 GB, free: 75.3 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.266e-05/0.9617, allocations: 28 kB / 0.9306 GB, free: 75.28 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003056/0.9647, allocations: 1.576 MB / 0.9322 GB, free: 73.7 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001604/0.9663, allocations: 451.2 kB / 0.9326 GB, free: 73.25 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01809/0.9844, allocations: 18.61 MB / 0.9508 GB, free: 54.1 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002391/0.9868, allocations: 143.9 kB / 0.9509 GB, free: 53.96 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002606/0.9871, allocations: 108 kB / 0.951 GB, free: 53.86 MB / 0.67 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 (231): * Single equations (assignments): 227 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 4 systems {(7,31,57.1%), (6,24,66.7%), (4,18,100.0%), (4,18,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.002413/0.9895, allocations: 1.949 MB / 0.9529 GB, free: 51.89 MB / 0.67 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004621/0.9899, allocations: 302.2 kB / 0.9532 GB, free: 51.6 MB / 0.67 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006051/0.996, allocations: 4.392 MB / 0.9575 GB, free: 47.18 MB / 0.67 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.365e-05/0.996, allocations: 21.88 kB / 0.9575 GB, free: 47.16 MB / 0.67 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.695e-05/0.996, allocations: 16 kB / 0.9575 GB, free: 47.14 MB / 0.67 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.614e-05/0.996, allocations: 11.95 kB / 0.9576 GB, free: 47.13 MB / 0.67 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01256/1.009, allocations: 9.616 MB / 0.9669 GB, free: 37.4 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.458e-06/1.009, allocations: 4 kB / 0.9669 GB, free: 37.4 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009511/1.01, allocations: 231.6 kB / 0.9672 GB, free: 37.17 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002882/1.012, allocations: 1.435 MB / 0.9686 GB, free: 35.73 MB / 0.67 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001438/1.013, allocations: 40 kB / 0.9686 GB, free: 35.69 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01816/1.031, allocations: 18.58 MB / 0.9868 GB, free: 16.55 MB / 0.67 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.042e-06/1.031, allocations: 11.94 kB / 0.9868 GB, free: 16.54 MB / 0.67 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006321/1.037, allocations: 4.499 MB / 0.9912 GB, free: 11.96 MB / 0.67 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001298/1.038, allocations: 0.6435 MB / 0.9918 GB, free: 11.29 MB / 0.67 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003972/1.039, allocations: 43.94 kB / 0.9918 GB, free: 11.25 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001296/1.04, allocations: 119.8 kB / 0.9919 GB, free: 11.13 MB / 0.67 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004679/1.041, allocations: 181.4 kB / 0.9921 GB, free: 10.95 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001238/1.041, allocations: 60 kB / 0.9922 GB, free: 10.89 MB / 0.67 GB Notification: Performance of sorting global known variables: time 0.001481/1.042, allocations: 1.315 MB / 0.9935 GB, free: 9.57 MB / 0.67 GB Notification: Performance of sort global known variables: time 1.1e-07/1.042, allocations: 0 / 0.9935 GB, free: 9.57 MB / 0.67 GB Notification: Performance of remove unused functions: time 0.003344/1.045, allocations: 1.145 MB / 0.9946 GB, free: 8.426 MB / 0.67 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 (107): * Single equations (assignments): 103 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 4 systems {(4,18,100.0%), (6,24,66.7%), (4,18,100.0%), (6,32,66.7%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.005998/1.051, allocations: 5.114 MB / 0.9996 GB, free: 3.223 MB / 0.67 GB Notification: Performance of simCode: created initialization part: time 0.00692/1.058, allocations: 4.543 MB / 1.004 GB, free: 14.63 MB / 0.6856 GB Notification: Performance of simCode: created event and clocks part: time 7.835e-06/1.058, allocations: 1 kB / 1.004 GB, free: 14.63 MB / 0.6856 GB Notification: Performance of simCode: created simulation system equations: time 0.005098/1.064, allocations: 2.811 MB / 1.007 GB, free: 11.77 MB / 0.6856 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004243/1.068, allocations: 0.9 MB / 1.008 GB, free: 10.91 MB / 0.6856 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.05876/1.127, allocations: 30.43 MB / 1.037 GB, free: 11.29 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00544/1.132, allocations: 3.698 MB / 1.041 GB, free: 7.559 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 0.002133/1.134, allocations: 0.5517 MB / 1.041 GB, free: 7 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002543/1.137, allocations: 1.944 MB / 1.043 GB, free: 5.059 MB / 0.7169 GB Notification: Performance of SimCode: time 1.512e-06/1.137, allocations: 0 / 1.043 GB, free: 5.059 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1748/1.311, allocations: 85.88 MB / 1.127 GB, free: 68 kB / 0.795 GB Notification: Performance of buildModelFMU: Generate platform static: time 15.86/17.17, allocations: 10.84 kB / 1.127 GB, free: 60 kB / 0.795 GB " [Timeout remaining time 643] (rm -f IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N.pipe ; mkfifo IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N.pipe >> ../files/IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N.sim & python3 -m fmpy simulate --output-file IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N_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_N.fmu > IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 21.356733995024115] Failed to read output from testmodel.py, exit status != 0: 17.31011247797869 17.338179253 16.960141329 Calling exit ...