Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_L.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.001722/0.001722, allocations: 101.9 kB / 20.48 MB, free: 1.246 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.002182/0.002182, allocations: 218.4 kB / 23.78 MB, free: 4.145 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.572/1.572, allocations: 230.6 MB / 257.6 MB, free: 7.801 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.9943/0.9943, allocations: 150 MB / 464 MB, free: 10.23 MB / 366.1 MB " [Timeout remaining time 178] 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_L,fileNamePrefix="IBPSA_latest_IBPSA_Electrical_AC_ThreePhasesBalanced_Lines_Examples_ACLine_L",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_L,fileNamePrefix="IBPSA_latest_IBPSA_Electrical_AC_ThreePhasesBalanced_Lines_Examples_ACLine_L",fmuType="cs",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.001949/0.001949, allocations: 66.72 kB / 0.642 GB, free: 9.941 MB / 478.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2156/0.2176, allocations: 89.17 MB / 0.7291 GB, free: 0.8398 MB / 0.545 GB Notification: Performance of NFInst.instantiate(IBPSA.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_L): time 0.009299/0.2269, allocations: 5.96 MB / 0.7349 GB, free: 10.85 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.005982/0.2328, allocations: 3.149 MB / 0.7379 GB, free: 7.691 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009258/0.2338, allocations: 43.62 kB / 0.738 GB, free: 7.648 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.003033/0.2368, allocations: 0.929 MB / 0.7389 GB, free: 6.719 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.001878/0.2387, allocations: 493.5 kB / 0.7394 GB, free: 6.234 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.001722/0.2404, allocations: 499.5 kB / 0.7398 GB, free: 5.746 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.001651/0.242, allocations: 1.1 MB / 0.7409 GB, free: 4.641 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0009613/0.243, allocations: 0.5258 MB / 0.7414 GB, free: 4.109 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0007534/0.2438, allocations: 458.4 kB / 0.7419 GB, free: 3.66 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000778/0.2445, allocations: 0.4981 MB / 0.7424 GB, free: 3.16 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 0.0001044/0.2446, allocations: 56 kB / 0.7424 GB, free: 3.105 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00104/0.2457, allocations: 447 kB / 0.7428 GB, free: 2.668 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.0003524/0.246, allocations: 291.2 kB / 0.7431 GB, free: 2.383 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.0004008/0.2464, allocations: 330.4 kB / 0.7434 GB, free: 2.059 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.001484/0.2479, allocations: 1.191 MB / 0.7446 GB, free: 0.8633 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 6.853e-06/0.2479, allocations: 4 kB / 0.7446 GB, free: 0.8594 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.954e-06/0.2479, allocations: 0 / 0.7446 GB, free: 0.8594 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 1.205e-05/0.2479, allocations: 4 kB / 0.7446 GB, free: 0.8555 MB / 0.5606 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 177 * Number of variables: 177 Notification: Performance of Generate backend data structure: time 0.001783/0.2497, allocations: 1.014 MB / 0.7456 GB, free: 15.8 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 4.469e-05/0.2498, allocations: 12.03 kB / 0.7456 GB, free: 15.79 MB / 0.5762 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 3.001e-05/0.2498, allocations: 21.5 kB / 0.7456 GB, free: 15.77 MB / 0.5762 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000144/0.2499, allocations: 114.6 kB / 0.7457 GB, free: 15.65 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001497/0.2514, allocations: 224.2 kB / 0.7459 GB, free: 15.43 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001002/0.2524, allocations: 0.5205 MB / 0.7465 GB, free: 14.89 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.822e-05/0.2525, allocations: 53.67 kB / 0.7465 GB, free: 14.84 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001274/0.2526, allocations: 64.36 kB / 0.7466 GB, free: 14.77 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001735/0.2544, allocations: 1.134 MB / 0.7477 GB, free: 13.5 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.447e-05/0.2544, allocations: 11.95 kB / 0.7477 GB, free: 13.49 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.76e-05/0.2545, allocations: 27.98 kB / 0.7477 GB, free: 13.46 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001114/0.2546, allocations: 77.2 kB / 0.7478 GB, free: 13.38 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001119/0.2557, allocations: 0.6879 MB / 0.7485 GB, free: 12.7 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00492/0.2606, allocations: 4.506 MB / 0.7529 GB, free: 8.02 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008252/0.2615, allocations: 407.4 kB / 0.7532 GB, free: 7.613 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007969/0.2623, allocations: 388.6 kB / 0.7536 GB, free: 7.23 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 3.619e-05/0.2623, allocations: 4 kB / 0.7536 GB, free: 7.227 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.56e-05/0.2623, allocations: 39.25 kB / 0.7537 GB, free: 7.18 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=41): time 2.535e-06/0.2623, allocations: 0 / 0.7537 GB, free: 7.18 MB / 0.5762 GB Notification: Performance of matching and sorting (n=42): time 0.004319/0.2666, allocations: 1.722 MB / 0.7553 GB, free: 5.438 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.324e-05/0.2667, allocations: 55.41 kB / 0.7554 GB, free: 5.371 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005263/0.2672, allocations: 466.8 kB / 0.7558 GB, free: 4.906 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 4.35e-05/0.2673, allocations: 29.7 kB / 0.7559 GB, free: 4.871 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003098/0.2676, allocations: 400.1 kB / 0.7562 GB, free: 4.473 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001588/0.2677, allocations: 158.7 kB / 0.7564 GB, free: 4.316 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000191/0.2679, allocations: 114.2 kB / 0.7565 GB, free: 4.199 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.000185/0.2681, allocations: 366.8 kB / 0.7569 GB, free: 3.832 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003576/0.2685, allocations: 237.2 kB / 0.7571 GB, free: 3.602 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000547/0.269, allocations: 464.9 kB / 0.7575 GB, free: 3.051 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009976/0.27, allocations: 0.7478 MB / 0.7583 GB, free: 2.207 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.699e-06/0.27, allocations: 4 kB / 0.7583 GB, free: 2.203 MB / 0.5762 GB Notification: Performance of matching and sorting (n=73) (initialization): time 0.001919/0.2719, allocations: 1.027 MB / 0.7593 GB, free: 1.156 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 2.566e-05/0.272, allocations: 12.81 kB / 0.7593 GB, free: 1.145 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.246e-05/0.272, allocations: 8 kB / 0.7593 GB, free: 1.137 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001035/0.273, allocations: 319.1 kB / 0.7596 GB, free: 0.8125 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003278/0.2733, allocations: 91.83 kB / 0.7597 GB, free: 0.7227 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.466/0.7393, allocations: 7.028 MB / 0.7665 GB, free: 29.59 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006341/0.74, allocations: 30.03 kB / 0.7666 GB, free: 29.59 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.281e-05/0.74, allocations: 24.84 kB / 0.7666 GB, free: 29.59 MB / 0.5762 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 (53): * Single equations (assignments): 49 * 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 {(3,7,88.9%), (1,5,100.0%), (1,3,100.0%), (2,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0004335/0.7405, allocations: 249.2 kB / 0.7668 GB, free: 29.47 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001049/0.7406, allocations: 64.22 kB / 0.7669 GB, free: 29.47 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001729/0.7423, allocations: 0.8809 MB / 0.7677 GB, free: 29.39 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.432e-06/0.7423, allocations: 9.562 kB / 0.7678 GB, free: 29.39 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.191e-06/0.7423, allocations: 6.812 kB / 0.7678 GB, free: 29.39 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.47e-06/0.7423, allocations: 0 / 0.7678 GB, free: 29.39 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002461/0.7448, allocations: 1.575 MB / 0.7693 GB, free: 29.01 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.042e-06/0.7448, allocations: 4.062 kB / 0.7693 GB, free: 29.01 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001752/0.745, allocations: 46.53 kB / 0.7693 GB, free: 29.01 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009771/0.7459, allocations: 312.7 kB / 0.7696 GB, free: 28.97 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.302e-05/0.746, allocations: 5.719 kB / 0.7697 GB, free: 28.97 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00641/0.7524, allocations: 7.011 MB / 0.7765 GB, free: 24.07 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.966e-06/0.7524, allocations: 2.344 kB / 0.7765 GB, free: 24.07 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001818/0.7542, allocations: 0.9856 MB / 0.7775 GB, free: 23.78 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002701/0.7545, allocations: 103.2 kB / 0.7776 GB, free: 23.75 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.713e-05/0.7545, allocations: 7.953 kB / 0.7776 GB, free: 23.75 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002692/0.7548, allocations: 22.19 kB / 0.7776 GB, free: 23.75 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001706/0.755, allocations: 48.66 kB / 0.7776 GB, free: 23.74 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.246e-05/0.755, allocations: 11.88 kB / 0.7776 GB, free: 23.74 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.000456/0.7555, allocations: 312.9 kB / 0.7779 GB, free: 23.65 MB / 0.5762 GB Notification: Performance of sort global known variables: time 8e-08/0.7555, allocations: 4.875 kB / 0.778 GB, free: 23.65 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.001064/0.7565, allocations: 192.5 kB / 0.7781 GB, free: 23.65 MB / 0.5762 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 (23): * Single equations (assignments): 19 * 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 {(3,7,88.9%), (2,2,100.0%), (1,3,100.0%), (1,5,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.002013/0.7585, allocations: 1.521 MB / 0.7796 GB, free: 22.86 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.001894/0.7604, allocations: 1.149 MB / 0.7807 GB, free: 22.17 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 5.079e-06/0.7604, allocations: 6.438 kB / 0.7807 GB, free: 22.16 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.001417/0.7619, allocations: 0.8337 MB / 0.7816 GB, free: 21.57 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001508/0.7634, allocations: 208.3 kB / 0.7818 GB, free: 21.53 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009182/0.7726, allocations: 5.882 MB / 0.7875 GB, free: 18.12 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000738/0.7733, allocations: 394.8 kB / 0.7879 GB, free: 18 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.0004327/0.7737, allocations: 101.2 kB / 0.788 GB, free: 17.99 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000242/0.774, allocations: 228.7 kB / 0.7882 GB, free: 17.81 MB / 0.5762 GB Notification: Performance of SimCode: time 1.233e-06/0.774, allocations: 4 kB / 0.7882 GB, free: 17.81 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05588/0.8299, allocations: 16.78 MB / 0.8046 GB, free: 12.44 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.55/13.38, allocations: 3.766 kB / 0.8046 GB, free: 12.44 MB / 0.5762 GB " [Timeout remaining time 646] (rm -f IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_L.pipe ; mkfifo IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_L.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_L.pipe >> ../files/IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_L.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Electrical_AC_ThreePhasesBalanced_Lines_Examples_ACLine_L_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_Electrical_AC_ThreePhasesBalanced_Lines_Examples_ACLine_L.fmu > IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_L.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 17.668862772057764] Failed to read output from testmodel.py, exit status != 0: 13.597395236021839 13.618809295 13.366335827 Calling exit ...