Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC_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.001321/0.001321, allocations: 111.3 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.00135/0.00135, 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.524/1.524, allocations: 230.6 MB / 253.5 MB, free: 15.11 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.023/1.023, allocations: 150 MB / 459.5 MB, free: 5.68 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_RLC_N,fileNamePrefix="IBPSA_latest_IBPSA_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_RLC_N",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC_N,fileNamePrefix="IBPSA_latest_IBPSA_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_RLC_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.002226/0.002226, allocations: 78.33 kB / 0.6361 GB, free: 30.4 MB / 0.4981 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1663/0.1685, allocations: 89.14 MB / 0.7232 GB, free: 4.02 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC_N): time 0.05574/0.2242, allocations: 41.81 MB / 0.764 GB, free: 10.07 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.03056/0.2548, allocations: 15.33 MB / 0.779 GB, free: 10.7 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004894/0.2597, allocations: 250.1 kB / 0.7792 GB, free: 10.46 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 0.01272/0.2724, allocations: 4.541 MB / 0.7837 GB, free: 5.906 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.009421/0.2818, allocations: 2.927 MB / 0.7865 GB, free: 2.965 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.009214/0.291, allocations: 3.181 MB / 0.7896 GB, free: 15.79 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.01917/0.3102, allocations: 11.42 MB / 0.8008 GB, free: 4.328 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01775/0.328, allocations: 9.22 MB / 0.8098 GB, free: 10.97 MB / 0.6231 GB Notification: Performance of NFEvalConstants.evaluate: time 0.009756/0.3377, allocations: 4.97 MB / 0.8146 GB, free: 5.988 MB / 0.6231 GB Notification: Performance of NFSimplifyModel.simplify: time 0.01079/0.3485, allocations: 5.756 MB / 0.8203 GB, free: 220 kB / 0.6231 GB Notification: Performance of NFPackage.collectConstants: time 0.003441/0.3519, allocations: 0.9493 MB / 0.8212 GB, free: 15.26 MB / 0.6387 GB Notification: Performance of NFFlatten.collectFunctions: time 0.006729/0.3587, allocations: 2.071 MB / 0.8232 GB, free: 13.19 MB / 0.6387 GB Notification: Performance of NFScalarize.scalarize: time 0.006863/0.3655, allocations: 3.788 MB / 0.8269 GB, free: 9.395 MB / 0.6387 GB Notification: Performance of NFVerifyModel.verify: time 0.01162/0.3772, allocations: 4.291 MB / 0.8311 GB, free: 5.086 MB / 0.6387 GB Notification: Performance of NFConvertDAE.convert: time 0.031/0.4082, allocations: 14.31 MB / 0.8451 GB, free: 6.727 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 1.095e-05/0.4082, allocations: 7.938 kB / 0.8451 GB, free: 6.719 MB / 0.6544 GB Notification: Performance of FrontEnd: time 3.075e-06/0.4082, allocations: 0 / 0.8451 GB, free: 6.719 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 0.0006606/0.4088, allocations: 0 / 0.8451 GB, free: 6.719 MB / 0.6544 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1668 * Number of variables: 1668 Notification: Performance of Generate backend data structure: time 0.02577/0.4346, allocations: 7.794 MB / 0.8527 GB, free: 14.83 MB / 0.67 GB Notification: Performance of prepare preOptimizeDAE: time 6.543e-05/0.4347, allocations: 12.03 kB / 0.8527 GB, free: 14.82 MB / 0.67 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.003895/0.4386, allocations: 0.8994 MB / 0.8536 GB, free: 13.91 MB / 0.67 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01252/0.4511, allocations: 1.554 MB / 0.8551 GB, free: 12.35 MB / 0.67 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01124/0.4623, allocations: 4.473 MB / 0.8595 GB, free: 7.805 MB / 0.67 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004974/0.4628, allocations: 452.5 kB / 0.8599 GB, free: 7.359 MB / 0.67 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002564/0.4654, allocations: 0.6018 MB / 0.8605 GB, free: 6.758 MB / 0.67 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.4114/0.8768, allocations: 10.67 MB / 0.8709 GB, free: 120 MB / 0.67 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003022/0.8771, allocations: 28.67 kB / 0.8709 GB, free: 120 MB / 0.67 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001774/0.8789, allocations: 262.3 kB / 0.8712 GB, free: 119.8 MB / 0.67 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003776/0.8827, allocations: 0.7749 MB / 0.8719 GB, free: 119.7 MB / 0.67 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02393/0.9066, allocations: 8.562 MB / 0.8803 GB, free: 116.7 MB / 0.67 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.06642/0.973, allocations: 46.61 MB / 0.9258 GB, free: 76.96 MB / 0.67 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005929/0.9789, allocations: 3.977 MB / 0.9297 GB, free: 74.8 MB / 0.67 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.005299/0.9842, allocations: 3.374 MB / 0.933 GB, free: 72.5 MB / 0.67 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004707/0.9847, allocations: 34.78 kB / 0.933 GB, free: 72.47 MB / 0.67 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.568e-05/0.9848, allocations: 81.28 kB / 0.9331 GB, free: 72.38 MB / 0.67 GB Notification: Performance of pre-optimization done (n=353): time 4.91e-06/0.9848, allocations: 3.938 kB / 0.9331 GB, free: 72.38 MB / 0.67 GB Notification: Performance of matching and sorting (n=578): time 0.5531/1.538, allocations: 122.6 MB / 1.053 GB, free: 13.42 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001183/1.538, allocations: 107.9 kB / 1.053 GB, free: 13.3 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005554/1.544, allocations: 2.688 MB / 1.056 GB, free: 10.63 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 0.001458/1.545, allocations: 126.4 kB / 1.056 GB, free: 10.5 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 0.002899/1.548, allocations: 2.751 MB / 1.058 GB, free: 7.934 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 0.003854/1.552, allocations: 2.057 MB / 1.06 GB, free: 5.906 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.004377/1.556, allocations: 0.9212 MB / 1.061 GB, free: 4.977 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001592/1.556, allocations: 301.1 kB / 1.062 GB, free: 4.68 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.008887/1.565, allocations: 4.083 MB / 1.066 GB, free: 0.5859 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01044/1.576, allocations: 5.019 MB / 1.07 GB, free: 11.24 MB / 0.7481 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01933/1.595, allocations: 9.844 MB / 1.08 GB, free: 1.016 MB / 0.7481 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.675e-05/1.595, allocations: 19.03 kB / 1.08 GB, free: 1 MB / 0.7481 GB Notification: Performance of matching and sorting (n=713) (initialization): time 0.04773/1.643, allocations: 16.74 MB / 1.096 GB, free: 132 kB / 0.7637 GB Notification: Performance of prepare postOptimizeDAE: time 4.588e-05/1.643, allocations: 13.56 kB / 1.096 GB, free: 120 kB / 0.7637 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.052e-05/1.643, allocations: 24 kB / 1.096 GB, free: 96 kB / 0.7637 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.03709/1.68, allocations: 9.078 MB / 1.105 GB, free: 6.977 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002816/1.683, allocations: 0.5265 MB / 1.106 GB, free: 6.449 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.1402/1.823, allocations: 77.03 MB / 1.181 GB, free: 7.875 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005838/1.829, allocations: 279.8 kB / 1.181 GB, free: 7.602 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001425/1.83, allocations: 191.9 kB / 1.182 GB, free: 7.414 MB / 0.8575 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 (274): * Single equations (assignments): 263 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 11 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 11 systems {(5,17,84.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (14,72,59.2%), (14,72,59.2%), (6,40,77.8%), (8,70,73.4%), (8,70,70.3%), (6,40,77.8%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.006861/1.837, allocations: 2.429 MB / 1.184 GB, free: 4.973 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002045/1.839, allocations: 493 kB / 1.184 GB, free: 4.488 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.3994/2.238, allocations: 16.55 MB / 1.201 GB, free: 290.4 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001056/2.238, allocations: 54.91 kB / 1.201 GB, free: 290.4 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0003288/2.239, allocations: 71.69 kB / 1.201 GB, free: 290.4 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001003/2.239, allocations: 26.02 kB / 1.201 GB, free: 290.4 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.05892/2.298, allocations: 25.37 MB / 1.225 GB, free: 282.2 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.714e-05/2.298, allocations: 10.41 kB / 1.225 GB, free: 282.2 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001867/2.3, allocations: 322.1 kB / 1.226 GB, free: 282.1 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.02891/2.329, allocations: 8.28 MB / 1.234 GB, free: 280.3 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001056/2.33, allocations: 103.2 kB / 1.234 GB, free: 280.2 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0897/2.419, allocations: 73.9 MB / 1.306 GB, free: 207.3 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.697e-06/2.419, allocations: 14.5 kB / 1.306 GB, free: 207.3 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.04199/2.461, allocations: 21.3 MB / 1.327 GB, free: 185.7 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003895/2.465, allocations: 1.392 MB / 1.328 GB, free: 184.3 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002138/2.467, allocations: 107.9 kB / 1.328 GB, free: 184.2 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004783/2.472, allocations: 291.6 kB / 1.329 GB, free: 183.9 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.002766/2.475, allocations: 0.5221 MB / 1.329 GB, free: 183.4 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0009275/2.476, allocations: 140 kB / 1.329 GB, free: 183.3 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 0.003128/2.479, allocations: 1.776 MB / 1.331 GB, free: 181.5 MB / 0.8575 GB Notification: Performance of sort global known variables: time 7e-08/2.479, allocations: 0 / 1.331 GB, free: 181.5 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.01225/2.491, allocations: 2.461 MB / 1.333 GB, free: 179 MB / 0.8575 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 31 * Number of states: 8 (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],RLCLine_sc.neutral.Vc[1],RLCLine_sc.neutral.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 (142): * Single equations (assignments): 131 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 11 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 11 systems {(6,40,77.8%), (8,70,70.3%), (14,72,51.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (5,17,84.0%), (6,40,83.3%), (8,70,70.3%), (14,72,51.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.04479/2.536, allocations: 22.01 MB / 1.355 GB, free: 156.6 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.02616/2.562, allocations: 13.73 MB / 1.368 GB, free: 142.7 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 1.7e-05/2.562, allocations: 4 kB / 1.368 GB, free: 142.7 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 0.01819/2.58, allocations: 9.029 MB / 1.377 GB, free: 133.6 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00837/2.589, allocations: 1.382 MB / 1.379 GB, free: 132.2 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1359/2.725, allocations: 69.87 MB / 1.447 GB, free: 60.75 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005473/2.73, allocations: 4.897 MB / 1.452 GB, free: 55.81 MB / 0.8575 GB Notification: Performance of simCode: alias equations: time 0.002302/2.732, allocations: 0.741 MB / 1.452 GB, free: 55.06 MB / 0.8575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00236/2.735, allocations: 2.608 MB / 1.455 GB, free: 52.45 MB / 0.8575 GB Notification: Performance of SimCode: time 1.021e-06/2.735, allocations: 0 / 1.455 GB, free: 52.45 MB / 0.8575 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.7406/3.475, allocations: 197.8 MB / 1.648 GB, free: 183.9 MB / 0.8731 GB Notification: Performance of buildModelFMU: Generate platform static: time 22.15/25.63, allocations: 7.609 kB / 1.648 GB, free: 183.9 MB / 0.8731 GB " [Timeout remaining time 634] (rm -f IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC_N.pipe ; mkfifo IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC_N.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC_N.pipe >> ../files/IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC_N.sim & python3 -m fmpy simulate --output-file IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC_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_RLC_N.fmu > IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC_N.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 29.814200734021142] Failed to read output from testmodel.py, exit status != 0: 25.809409220004454 25.819212744 25.408378034 Calling exit ...