Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesBalanced.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.001131/0.001131, allocations: 76.55 kB / 19.93 MB, free: 4.633 MB / 18.57 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.00105/0.00105, allocations: 177.9 kB / 23.21 MB, free: 1.352 MB / 18.57 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 0.9487/0.9487, allocations: 177.1 MB / 203.5 MB, free: 5.742 MB / 186.7 MB " [Timeout remaining time 179] 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.5619/0.5619, allocations: 114 MB / 373.9 MB, free: 8.707 MB / 346.7 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.ThreePhasesBalanced.Lines.Examples.ACLine_R,fileNamePrefix="IBPSA_latest_IBPSA_Electrical_AC_ThreePhasesBalanced_Lines_Examples_ACLine_R",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R,fileNamePrefix="IBPSA_latest_IBPSA_Electrical_AC_ThreePhasesBalanced_Lines_Examples_ACLine_R",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.032e-06/1.032e-06, allocations: 0 / 0.5542 GB, free: 2.781 MB / 0.5105 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.582e-05/1.685e-05, allocations: 4.672 kB / 0.5542 GB, free: 2.777 MB / 0.5105 GB Notification: Performance of NFInst.instantiate(IBPSA.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R): time 0.005411/0.005428, allocations: 6.451 MB / 0.5605 GB, free: 12.3 MB / 0.5261 GB Notification: Performance of NFInst.instExpressions: time 0.003438/0.008866, allocations: 3.014 MB / 0.5634 GB, free: 9.277 MB / 0.5261 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003469/0.009213, allocations: 39.62 kB / 0.5635 GB, free: 9.238 MB / 0.5261 GB Notification: Performance of NFTyping.typeComponents: time 0.00115/0.01036, allocations: 0.9567 MB / 0.5644 GB, free: 8.277 MB / 0.5261 GB Notification: Performance of NFTyping.typeBindings: time 0.0009744/0.01134, allocations: 0.5358 MB / 0.5649 GB, free: 7.738 MB / 0.5261 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008245/0.01216, allocations: 449.9 kB / 0.5654 GB, free: 7.301 MB / 0.5261 GB Notification: Performance of NFFlatten.flatten: time 0.00116/0.01332, allocations: 1.275 MB / 0.5666 GB, free: 6.02 MB / 0.5261 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005952/0.01392, allocations: 0.5333 MB / 0.5671 GB, free: 5.48 MB / 0.5261 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006928/0.01461, allocations: 0.6586 MB / 0.5678 GB, free: 4.82 MB / 0.5261 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004741/0.01508, allocations: 486.6 kB / 0.5682 GB, free: 4.344 MB / 0.5261 GB Notification: Performance of NFPackage.collectConstants: time 7.442e-05/0.01516, allocations: 67.94 kB / 0.5683 GB, free: 4.277 MB / 0.5261 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004806/0.01564, allocations: 347.1 kB / 0.5686 GB, free: 3.938 MB / 0.5261 GB Notification: Performance of NFScalarize.scalarize: time 0.000203/0.01584, allocations: 331 kB / 0.569 GB, free: 3.613 MB / 0.5261 GB Notification: Performance of NFVerifyModel.verify: time 0.0002133/0.01605, allocations: 315.2 kB / 0.5693 GB, free: 3.305 MB / 0.5261 GB Notification: Performance of NFConvertDAE.convert: time 0.0009329/0.01699, allocations: 1.25 MB / 0.5705 GB, free: 2.051 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 2.074e-06/0.01699, allocations: 4 kB / 0.5705 GB, free: 2.047 MB / 0.5261 GB Notification: Performance of FrontEnd: time 7.81e-07/0.01699, allocations: 0 / 0.5705 GB, free: 2.047 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 1.571e-05/0.01701, allocations: 3.938 kB / 0.5705 GB, free: 2.043 MB / 0.5261 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 183 * Number of variables: 183 Notification: Performance of Generate backend data structure: time 0.001184/0.01819, allocations: 1.108 MB / 0.5716 GB, free: 0.8984 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 3.108e-05/0.01822, allocations: 12.03 kB / 0.5716 GB, free: 0.8867 MB / 0.5261 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.391e-05/0.01832, allocations: 118.7 kB / 0.5717 GB, free: 0.7617 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007922/0.01911, allocations: 252 kB / 0.5719 GB, free: 0.5156 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000589/0.0197, allocations: 0.5275 MB / 0.5724 GB, free: 15.97 MB / 0.5417 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.862e-05/0.01973, allocations: 53.67 kB / 0.5725 GB, free: 15.91 MB / 0.5417 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.396e-05/0.01979, allocations: 64.36 kB / 0.5726 GB, free: 15.85 MB / 0.5417 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009947/0.02078, allocations: 1.34 MB / 0.5739 GB, free: 14.34 MB / 0.5417 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.71e-05/0.0208, allocations: 8.125 kB / 0.5739 GB, free: 14.33 MB / 0.5417 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.054e-05/0.02084, allocations: 32.11 kB / 0.5739 GB, free: 14.3 MB / 0.5417 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.171e-05/0.02092, allocations: 85.25 kB / 0.574 GB, free: 14.21 MB / 0.5417 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007608/0.02168, allocations: 0.7465 MB / 0.5747 GB, free: 13.47 MB / 0.5417 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003083/0.02477, allocations: 4.632 MB / 0.5792 GB, free: 8.672 MB / 0.5417 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006228/0.02539, allocations: 0.501 MB / 0.5797 GB, free: 8.156 MB / 0.5417 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000272/0.02566, allocations: 282.2 kB / 0.58 GB, free: 7.879 MB / 0.5417 GB Notification: Performance of preOpt evalFunc (simulation): time 2.119e-05/0.02568, allocations: 4.5 kB / 0.58 GB, free: 7.875 MB / 0.5417 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.027e-05/0.0257, allocations: 43.05 kB / 0.58 GB, free: 7.824 MB / 0.5417 GB Notification: Performance of pre-optimization done (n=47): time 1.252e-06/0.0257, allocations: 0 / 0.58 GB, free: 7.824 MB / 0.5417 GB Notification: Performance of matching and sorting (n=48): time 0.002272/0.02798, allocations: 1.689 MB / 0.5817 GB, free: 6.121 MB / 0.5417 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.663e-05/0.02801, allocations: 55.91 kB / 0.5817 GB, free: 6.055 MB / 0.5417 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000456/0.02847, allocations: 0.582 MB / 0.5823 GB, free: 5.465 MB / 0.5417 GB Notification: Performance of collectPreVariables (initialization): time 3.155e-05/0.0285, allocations: 41.69 kB / 0.5824 GB, free: 5.418 MB / 0.5417 GB Notification: Performance of collectInitialEqns (initialization): time 0.000204/0.0287, allocations: 424 kB / 0.5828 GB, free: 5 MB / 0.5417 GB Notification: Performance of collectInitialBindings (initialization): time 9.444e-05/0.0288, allocations: 178.5 kB / 0.5829 GB, free: 4.824 MB / 0.5417 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001215/0.02892, allocations: 122.6 kB / 0.583 GB, free: 4.699 MB / 0.5417 GB Notification: Performance of setup shared object (initialization): time 0.0001164/0.02904, allocations: 378.8 kB / 0.5834 GB, free: 4.32 MB / 0.5417 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002751/0.02931, allocations: 273.8 kB / 0.5837 GB, free: 4.051 MB / 0.5417 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003675/0.02968, allocations: 0.4891 MB / 0.5841 GB, free: 3.469 MB / 0.5417 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007284/0.03041, allocations: 0.8085 MB / 0.5849 GB, free: 2.566 MB / 0.5417 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.236e-06/0.03041, allocations: 4 kB / 0.5849 GB, free: 2.562 MB / 0.5417 GB Notification: Performance of matching and sorting (n=85) (initialization): time 0.001117/0.03153, allocations: 1.078 MB / 0.586 GB, free: 1.461 MB / 0.5417 GB Notification: Performance of prepare postOptimizeDAE: time 1.302e-05/0.03154, allocations: 11.94 kB / 0.586 GB, free: 1.449 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.061e-06/0.03155, allocations: 4 kB / 0.586 GB, free: 1.445 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004704/0.03202, allocations: 283.6 kB / 0.5863 GB, free: 1.156 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002495/0.03227, allocations: 123.7 kB / 0.5864 GB, free: 1.035 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004202/0.03647, allocations: 6.67 MB / 0.5929 GB, free: 9.906 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002707/0.03674, allocations: 43.89 kB / 0.593 GB, free: 9.863 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.926e-05/0.03677, allocations: 28 kB / 0.593 GB, free: 9.836 MB / 0.5573 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 (67): * Single equations (assignments): 63 * 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 {(2,6,100.0%), (2,4,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.0002203/0.03699, allocations: 254.3 kB / 0.5932 GB, free: 9.578 MB / 0.5573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.018e-05/0.03706, allocations: 79.47 kB / 0.5933 GB, free: 9.5 MB / 0.5573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009169/0.03798, allocations: 0.8823 MB / 0.5942 GB, free: 8.59 MB / 0.5573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.289e-06/0.03798, allocations: 8.031 kB / 0.5942 GB, free: 8.582 MB / 0.5573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.248e-06/0.03799, allocations: 11.94 kB / 0.5942 GB, free: 8.57 MB / 0.5573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.418e-06/0.03799, allocations: 3.984 kB / 0.5942 GB, free: 8.566 MB / 0.5573 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001888/0.03988, allocations: 1.607 MB / 0.5958 GB, free: 6.879 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.485e-06/0.03988, allocations: 0 / 0.5958 GB, free: 6.879 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001324/0.04001, allocations: 64.08 kB / 0.5958 GB, free: 6.816 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004005/0.04041, allocations: 263.2 kB / 0.5961 GB, free: 6.547 MB / 0.5573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.292e-05/0.04044, allocations: 19.94 kB / 0.5961 GB, free: 6.527 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003723/0.04416, allocations: 6.666 MB / 0.6026 GB, free: 15.4 MB / 0.573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.375e-06/0.04416, allocations: 4.031 kB / 0.6026 GB, free: 15.39 MB / 0.573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008717/0.04503, allocations: 0.9815 MB / 0.6036 GB, free: 14.37 MB / 0.573 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001439/0.04518, allocations: 115.5 kB / 0.6037 GB, free: 14.26 MB / 0.573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.852e-05/0.04522, allocations: 12 kB / 0.6037 GB, free: 14.25 MB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000175/0.04539, allocations: 28.03 kB / 0.6037 GB, free: 14.22 MB / 0.573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.355e-05/0.04546, allocations: 47.86 kB / 0.6037 GB, free: 14.17 MB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.874e-05/0.04548, allocations: 19.94 kB / 0.6038 GB, free: 14.15 MB / 0.573 GB Notification: Performance of sorting global known variables: time 0.0002644/0.04575, allocations: 391.1 kB / 0.6041 GB, free: 13.78 MB / 0.573 GB Notification: Performance of sort global known variables: time 8e-08/0.04575, allocations: 0 / 0.6041 GB, free: 13.78 MB / 0.573 GB Notification: Performance of remove unused functions: time 0.0005058/0.04625, allocations: 224 kB / 0.6044 GB, free: 13.56 MB / 0.573 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * 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 (31): * Single equations (assignments): 27 * 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 {(2,2,100.0%), (2,4,100.0%), (2,2,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.001072/0.04733, allocations: 1.535 MB / 0.6059 GB, free: 11.96 MB / 0.573 GB Notification: Performance of simCode: created initialization part: time 0.001108/0.04843, allocations: 1.236 MB / 0.6071 GB, free: 10.67 MB / 0.573 GB Notification: Performance of simCode: created event and clocks part: time 2.935e-06/0.04844, allocations: 4 kB / 0.6071 GB, free: 10.67 MB / 0.573 GB Notification: Performance of simCode: created simulation system equations: time 0.0006272/0.04906, allocations: 0.8735 MB / 0.6079 GB, free: 9.742 MB / 0.573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006242/0.04969, allocations: 222.2 kB / 0.6081 GB, free: 9.535 MB / 0.573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005826/0.05551, allocations: 6.387 MB / 0.6144 GB, free: 2.809 MB / 0.573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003224/0.05584, allocations: 413 kB / 0.6148 GB, free: 2.379 MB / 0.573 GB Notification: Performance of simCode: alias equations: time 0.0002484/0.05609, allocations: 118 kB / 0.6149 GB, free: 2.262 MB / 0.573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000223/0.05631, allocations: 252.4 kB / 0.6151 GB, free: 2.016 MB / 0.573 GB Notification: Performance of SimCode: time 5.61e-07/0.05631, allocations: 7.938 kB / 0.6151 GB, free: 2.008 MB / 0.573 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03521/0.09152, allocations: 19.43 MB / 0.6341 GB, free: 15.07 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.515/7.607, allocations: 10.94 kB / 0.6341 GB, free: 15.06 MB / 0.6042 GB " [Timeout remaining time 652] (rm -f IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R.pipe ; mkfifo IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R.pipe >> ../files/IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R.sim & python3 -m fmpy simulate --output-file IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesBalanced.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_ThreePhasesBalanced_Lines_Examples_ACLine_R.fmu > IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 10.292538194917142] Failed to read output from testmodel.py, exit status != 0: 7.701093504205346 7.709992489 7.69133348 Calling exit ...