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.0008473/0.0008473, allocations: 76.5 kB / 19.93 MB, free: 4.629 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.0008638/0.0008638, allocations: 169.9 kB / 23.21 MB, free: 1.355 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.8645/0.8645, allocations: 177.1 MB / 203.5 MB, free: 5.727 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.5553/0.5553, allocations: 114 MB / 373.9 MB, free: 8.699 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.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: Performance of FrontEnd - loaded program: time 1.403e-06/1.403e-06, allocations: 0 / 0.5542 GB, free: 2.742 MB / 0.5105 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.33e-05/1.47e-05, allocations: 2.281 kB / 0.5542 GB, free: 2.738 MB / 0.5105 GB Notification: Performance of NFInst.instantiate(IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N): time 0.02484/0.02486, allocations: 35.64 MB / 0.589 GB, free: 14.99 MB / 0.5573 GB Notification: Performance of NFInst.instExpressions: time 0.01368/0.03854, allocations: 10.96 MB / 0.5997 GB, free: 4.004 MB / 0.5573 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002096/0.04063, allocations: 210.5 kB / 0.5999 GB, free: 3.797 MB / 0.5573 GB Notification: Performance of NFTyping.typeComponents: time 0.004821/0.04545, allocations: 4.383 MB / 0.6042 GB, free: 15.4 MB / 0.573 GB Notification: Performance of NFTyping.typeBindings: time 0.003846/0.0493, allocations: 2.4 MB / 0.6065 GB, free: 12.99 MB / 0.573 GB Notification: Performance of NFTyping.typeClassSections: time 0.002989/0.05229, allocations: 2.201 MB / 0.6087 GB, free: 10.79 MB / 0.573 GB Notification: Performance of NFFlatten.flatten: time 0.005721/0.05801, allocations: 9.465 MB / 0.6179 GB, free: 1.297 MB / 0.573 GB Notification: Performance of NFFlatten.resolveConnections: time 0.005109/0.06312, allocations: 6.354 MB / 0.6241 GB, free: 10.82 MB / 0.5886 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004442/0.06756, allocations: 5.781 MB / 0.6298 GB, free: 5.031 MB / 0.5886 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002984/0.07054, allocations: 4.193 MB / 0.6339 GB, free: 0.8281 MB / 0.5886 GB Notification: Performance of NFPackage.collectConstants: time 0.0007019/0.07124, allocations: 0.8203 MB / 0.6347 GB, free: 8 kB / 0.5886 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001654/0.0729, allocations: 1.521 MB / 0.6362 GB, free: 14.48 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 0.001688/0.07459, allocations: 3.367 MB / 0.6395 GB, free: 11.11 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 0.001872/0.07646, allocations: 2.565 MB / 0.642 GB, free: 8.539 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.006841/0.0833, allocations: 12.56 MB / 0.6542 GB, free: 11.94 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 4.238e-06/0.0833, allocations: 0 / 0.6542 GB, free: 11.94 MB / 0.6198 GB Notification: Performance of FrontEnd: time 1.743e-06/0.08331, allocations: 3.938 kB / 0.6542 GB, free: 11.94 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 8.53e-05/0.08339, allocations: 0 / 0.6542 GB, free: 11.94 MB / 0.6198 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.006352/0.08974, allocations: 6.333 MB / 0.6604 GB, free: 5.543 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 4.295e-05/0.08979, allocations: 8.031 kB / 0.6604 GB, free: 5.535 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0007049/0.09049, allocations: 0.8294 MB / 0.6612 GB, free: 4.695 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002416/0.09291, allocations: 1.109 MB / 0.6623 GB, free: 3.582 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003885/0.09679, allocations: 3.575 MB / 0.6658 GB, free: 15.94 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001877/0.09698, allocations: 431.7 kB / 0.6662 GB, free: 15.52 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005235/0.0975, allocations: 0.5394 MB / 0.6667 GB, free: 14.98 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.009241/0.1067, allocations: 10.29 MB / 0.6768 GB, free: 4.137 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.157e-05/0.1068, allocations: 20 kB / 0.6768 GB, free: 4.117 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003966/0.1072, allocations: 248.1 kB / 0.677 GB, free: 3.875 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003398/0.1076, allocations: 418.9 kB / 0.6774 GB, free: 3.465 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.2631/0.3707, allocations: 7.117 MB / 0.6844 GB, free: 150.1 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02434/0.395, allocations: 26.23 MB / 0.71 GB, free: 133.4 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002729/0.3977, allocations: 2.895 MB / 0.7128 GB, free: 132.4 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001619/0.3993, allocations: 1.94 MB / 0.7147 GB, free: 131.6 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 7.548e-05/0.3994, allocations: 25.53 kB / 0.7148 GB, free: 131.6 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.805e-05/0.3995, allocations: 59.06 kB / 0.7148 GB, free: 131.6 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=209): time 5e-06/0.3995, allocations: 1.219 kB / 0.7148 GB, free: 131.6 MB / 0.6355 GB Notification: Performance of matching and sorting (n=212): time 0.01523/0.4147, allocations: 10.27 MB / 0.7248 GB, free: 127.8 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.674e-05/0.4147, allocations: 73.5 kB / 0.7249 GB, free: 127.7 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002175/0.4169, allocations: 2.055 MB / 0.7269 GB, free: 126.9 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 0.0001837/0.4171, allocations: 67.8 kB / 0.727 GB, free: 126.8 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 0.0009569/0.4181, allocations: 2.47 MB / 0.7294 GB, free: 125 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004153/0.4185, allocations: 0.762 MB / 0.7301 GB, free: 124.4 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004966/0.419, allocations: 469.3 kB / 0.7306 GB, free: 124.1 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 3.349e-05/0.419, allocations: 301.7 kB / 0.7309 GB, free: 123.8 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001503/0.4205, allocations: 1.374 MB / 0.7322 GB, free: 123.3 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001739/0.4222, allocations: 2.103 MB / 0.7343 GB, free: 121.9 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003434/0.4257, allocations: 3.768 MB / 0.7379 GB, free: 119.7 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.712e-05/0.4257, allocations: 5.969 kB / 0.738 GB, free: 119.7 MB / 0.6355 GB Notification: Performance of matching and sorting (n=339) (initialization): time 0.006541/0.4322, allocations: 5.026 MB / 0.7429 GB, free: 117.7 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 4.021e-05/0.4323, allocations: 17.12 kB / 0.7429 GB, free: 117.7 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.214e-05/0.4323, allocations: 30.42 kB / 0.7429 GB, free: 117.7 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002681/0.435, allocations: 1.578 MB / 0.7444 GB, free: 117.3 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001168/0.4362, allocations: 451.1 kB / 0.7449 GB, free: 117.3 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01296/0.4491, allocations: 17.9 MB / 0.7624 GB, free: 105.7 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001969/0.4511, allocations: 151.7 kB / 0.7625 GB, free: 105.6 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001192/0.4512, allocations: 108 kB / 0.7626 GB, free: 105.5 MB / 0.6355 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.002475/0.4537, allocations: 1.939 MB / 0.7645 GB, free: 103.5 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004861/0.4542, allocations: 302.2 kB / 0.7648 GB, free: 103.2 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003699/0.4579, allocations: 4.392 MB / 0.7691 GB, free: 98.79 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.818e-06/0.4579, allocations: 23.98 kB / 0.7691 GB, free: 98.76 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.598e-05/0.4579, allocations: 23.94 kB / 0.7691 GB, free: 98.74 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.211e-05/0.4579, allocations: 11.95 kB / 0.7691 GB, free: 98.73 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009247/0.4671, allocations: 9.174 MB / 0.7781 GB, free: 89.45 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.667e-06/0.4672, allocations: 8 kB / 0.7781 GB, free: 89.45 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000487/0.4676, allocations: 235.6 kB / 0.7783 GB, free: 89.21 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001765/0.4694, allocations: 1.432 MB / 0.7797 GB, free: 87.77 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.238e-05/0.4695, allocations: 40 kB / 0.7798 GB, free: 87.73 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01146/0.4809, allocations: 17.9 MB / 0.7972 GB, free: 69.4 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.697e-06/0.4809, allocations: 4 kB / 0.7972 GB, free: 69.39 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004284/0.4852, allocations: 4.495 MB / 0.8016 GB, free: 64.81 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00124/0.4865, allocations: 0.5771 MB / 0.8022 GB, free: 64.23 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000203/0.4867, allocations: 48 kB / 0.8022 GB, free: 64.19 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006819/0.4874, allocations: 118 kB / 0.8024 GB, free: 64.07 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003719/0.4877, allocations: 189.5 kB / 0.8025 GB, free: 63.89 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.506e-05/0.4878, allocations: 60 kB / 0.8026 GB, free: 63.83 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 0.001065/0.4889, allocations: 1.315 MB / 0.8039 GB, free: 62.5 MB / 0.6355 GB Notification: Performance of sort global known variables: time 1.9e-07/0.4889, allocations: 0 / 0.8039 GB, free: 62.5 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.002543/0.4914, allocations: 1.145 MB / 0.805 GB, free: 61.36 MB / 0.6355 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.003715/0.4951, allocations: 5.099 MB / 0.81 GB, free: 56.17 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.004389/0.4995, allocations: 4.533 MB / 0.8144 GB, free: 51.57 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 9.869e-06/0.4995, allocations: 4 kB / 0.8144 GB, free: 51.57 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 0.002377/0.5019, allocations: 2.807 MB / 0.8171 GB, free: 48.73 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002529/0.5044, allocations: 0.8886 MB / 0.818 GB, free: 47.88 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03161/0.536, allocations: 30.64 MB / 0.8479 GB, free: 16.04 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002248/0.5383, allocations: 3.151 MB / 0.851 GB, free: 12.85 MB / 0.6355 GB Notification: Performance of simCode: alias equations: time 0.001348/0.5396, allocations: 0.5634 MB / 0.8516 GB, free: 12.28 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001106/0.5407, allocations: 1.949 MB / 0.8535 GB, free: 10.33 MB / 0.6355 GB Notification: Performance of SimCode: time 2.114e-06/0.5408, allocations: 0 / 0.8535 GB, free: 10.33 MB / 0.6355 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.113/0.6538, allocations: 90.33 MB / 0.9417 GB, free: 1.191 MB / 0.7136 GB Notification: Performance of buildModelFMU: Generate platform static: time 9.058/9.712, allocations: 7.922 kB / 0.9417 GB, free: 1.184 MB / 0.7136 GB " [Timeout remaining time 650] (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_R_N_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=50 --tolerance=1e-06 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: 12.328259912319481] Failed to read output from testmodel.py, exit status != 0: 9.8352723820135 9.84823279 9.763117105 Calling exit ...