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.001304/0.001304, allocations: 114.2 kB / 17.84 MB, free: 5.312 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.001833/0.001833, allocations: 203.2 kB / 20.8 MB, free: 2.371 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.591/1.591, allocations: 230.6 MB / 254.2 MB, free: 15.1 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.039/1.039, allocations: 150 MB / 460.2 MB, free: 5.34 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.ThreePhasesBalanced.Lines.Examples.ACLine_R,fileNamePrefix="IBPSA_latest_IBPSA_Electrical_AC_ThreePhasesBalanced_Lines_Examples_ACLine_R",fmuType="cs",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="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.002006/0.002006, allocations: 63.69 kB / 0.6368 GB, free: 30.39 MB / 0.4981 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2132/0.2152, allocations: 89.13 MB / 0.7238 GB, free: 4.066 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(IBPSA.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R): time 0.01007/0.2252, allocations: 6.908 MB / 0.7306 GB, free: 13.13 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.006125/0.2314, allocations: 3.133 MB / 0.7336 GB, free: 9.984 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008769/0.2323, allocations: 39.62 kB / 0.7337 GB, free: 9.945 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.002926/0.2352, allocations: 0.968 MB / 0.7346 GB, free: 8.977 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.001811/0.237, allocations: 0.5245 MB / 0.7351 GB, free: 8.449 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.001437/0.2384, allocations: 437.4 kB / 0.7356 GB, free: 8.023 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.002158/0.2406, allocations: 1.236 MB / 0.7368 GB, free: 6.785 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001112/0.2417, allocations: 0.5335 MB / 0.7373 GB, free: 6.246 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001029/0.2427, allocations: 486.2 kB / 0.7378 GB, free: 5.77 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001093/0.2438, allocations: 0.5487 MB / 0.7383 GB, free: 5.219 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 0.0002367/0.2441, allocations: 72 kB / 0.7384 GB, free: 5.148 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001032/0.2451, allocations: 387.2 kB / 0.7387 GB, free: 4.77 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 0.0004829/0.2456, allocations: 323 kB / 0.739 GB, free: 4.453 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 0.0007409/0.2463, allocations: 449.7 kB / 0.7395 GB, free: 4.012 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.001781/0.2481, allocations: 1.222 MB / 0.7407 GB, free: 2.785 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 4.518e-06/0.2481, allocations: 0 / 0.7407 GB, free: 2.785 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.733e-06/0.2481, allocations: 0 / 0.7407 GB, free: 2.785 MB / 0.545 GB Notification: Performance of Transformations before backend: time 1.429e-05/0.2481, allocations: 0 / 0.7407 GB, free: 2.785 MB / 0.545 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.002235/0.2503, allocations: 1.199 MB / 0.7418 GB, free: 1.531 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 5.764e-05/0.2504, allocations: 11.97 kB / 0.7418 GB, free: 1.52 MB / 0.545 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 3.321e-05/0.2504, allocations: 21.5 kB / 0.7419 GB, free: 1.5 MB / 0.545 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001476/0.2506, allocations: 122.7 kB / 0.742 GB, free: 1.371 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001644/0.2522, allocations: 244.1 kB / 0.7422 GB, free: 1.133 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001069/0.2533, allocations: 0.6004 MB / 0.7428 GB, free: 0.4922 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.878e-05/0.2533, allocations: 49.67 kB / 0.7428 GB, free: 452 kB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001267/0.2535, allocations: 72.34 kB / 0.7429 GB, free: 380 kB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001754/0.2552, allocations: 1.085 MB / 0.744 GB, free: 15.18 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.512e-05/0.2553, allocations: 11.89 kB / 0.744 GB, free: 15.17 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.661e-05/0.2553, allocations: 27.98 kB / 0.744 GB, free: 15.14 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001661/0.2555, allocations: 85.25 kB / 0.7441 GB, free: 15.06 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001273/0.2568, allocations: 0.7504 MB / 0.7448 GB, free: 14.3 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006178/0.263, allocations: 5.886 MB / 0.7506 GB, free: 7.988 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001052/0.264, allocations: 0.5197 MB / 0.7511 GB, free: 7.457 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004662/0.2645, allocations: 282 kB / 0.7513 GB, free: 7.18 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 3.887e-05/0.2645, allocations: 8.438 kB / 0.7514 GB, free: 7.172 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.706e-05/0.2646, allocations: 39 kB / 0.7514 GB, free: 7.125 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=47): time 2.695e-06/0.2646, allocations: 0 / 0.7514 GB, free: 7.125 MB / 0.5606 GB Notification: Performance of matching and sorting (n=48): time 0.004309/0.2689, allocations: 1.991 MB / 0.7533 GB, free: 5.039 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.424e-05/0.2689, allocations: 55.84 kB / 0.7534 GB, free: 4.973 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007434/0.2697, allocations: 0.5588 MB / 0.7539 GB, free: 4.402 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 4.494e-05/0.2697, allocations: 37.7 kB / 0.754 GB, free: 4.359 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003261/0.27, allocations: 431.9 kB / 0.7544 GB, free: 3.93 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001777/0.2702, allocations: 182.5 kB / 0.7546 GB, free: 3.75 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002193/0.2704, allocations: 126.6 kB / 0.7547 GB, free: 3.621 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0002091/0.2706, allocations: 378.7 kB / 0.755 GB, free: 3.242 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004262/0.2711, allocations: 273.8 kB / 0.7553 GB, free: 2.973 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006367/0.2717, allocations: 496.9 kB / 0.7558 GB, free: 2.395 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00123/0.2729, allocations: 0.8132 MB / 0.7566 GB, free: 1.492 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.17e-06/0.2729, allocations: 0 / 0.7566 GB, free: 1.492 MB / 0.5606 GB Notification: Performance of matching and sorting (n=85) (initialization): time 0.002258/0.2752, allocations: 1.079 MB / 0.7576 GB, free: 400 kB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 3.507e-05/0.2752, allocations: 8 kB / 0.7576 GB, free: 392 kB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.743e-05/0.2752, allocations: 8 kB / 0.7576 GB, free: 384 kB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001041/0.2763, allocations: 280 kB / 0.7579 GB, free: 92 kB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005371/0.2768, allocations: 131.7 kB / 0.758 GB, free: 15.96 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007986/0.2848, allocations: 7.136 MB / 0.765 GB, free: 8.27 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007708/0.2856, allocations: 39.95 kB / 0.765 GB, free: 8.23 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.016e-05/0.2856, allocations: 28 kB / 0.7651 GB, free: 8.203 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 (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.0004743/0.2861, allocations: 253.6 kB / 0.7653 GB, free: 7.945 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001325/0.2862, allocations: 83.47 kB / 0.7654 GB, free: 7.863 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001729/0.288, allocations: 0.8808 MB / 0.7662 GB, free: 6.953 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.262e-06/0.288, allocations: 4 kB / 0.7662 GB, free: 6.949 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.151e-06/0.288, allocations: 4 kB / 0.7663 GB, free: 6.945 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.263e-06/0.288, allocations: 3.984 kB / 0.7663 GB, free: 6.941 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002878/0.2909, allocations: 1.72 MB / 0.7679 GB, free: 5.133 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.148e-06/0.2909, allocations: 0 / 0.7679 GB, free: 5.133 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002814/0.2911, allocations: 59.89 kB / 0.768 GB, free: 5.074 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008196/0.292, allocations: 275.3 kB / 0.7683 GB, free: 4.793 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.403e-05/0.292, allocations: 8 kB / 0.7683 GB, free: 4.785 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007497/0.2995, allocations: 7.122 MB / 0.7752 GB, free: 13.11 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.332e-06/0.2995, allocations: 3.938 kB / 0.7752 GB, free: 13.1 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001859/0.3014, allocations: 0.9838 MB / 0.7762 GB, free: 12.07 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003975/0.3018, allocations: 196.6 kB / 0.7764 GB, free: 11.86 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.624e-05/0.3018, allocations: 11.94 kB / 0.7764 GB, free: 11.85 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003853/0.3022, allocations: 35.89 kB / 0.7764 GB, free: 11.81 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001554/0.3024, allocations: 43.89 kB / 0.7765 GB, free: 11.77 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.513e-05/0.3024, allocations: 16 kB / 0.7765 GB, free: 11.75 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.0005568/0.303, allocations: 391.1 kB / 0.7768 GB, free: 11.38 MB / 0.5919 GB Notification: Performance of sort global known variables: time 8e-08/0.303, allocations: 0 / 0.7768 GB, free: 11.38 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.0009625/0.3039, allocations: 228 kB / 0.7771 GB, free: 11.15 MB / 0.5919 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.001983/0.3059, allocations: 1.533 MB / 0.7786 GB, free: 9.562 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.002231/0.3081, allocations: 1.232 MB / 0.7798 GB, free: 8.277 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 4.168e-06/0.3082, allocations: 0 / 0.7798 GB, free: 8.277 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.001463/0.3096, allocations: 0.8816 MB / 0.7806 GB, free: 7.344 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001214/0.3108, allocations: 219.8 kB / 0.7808 GB, free: 7.141 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009729/0.3206, allocations: 6.388 MB / 0.7871 GB, free: 424 kB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007538/0.3213, allocations: 1.013 MB / 0.7881 GB, free: 15.37 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 0.0003986/0.3217, allocations: 122 kB / 0.7882 GB, free: 15.25 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003512/0.3221, allocations: 255.3 kB / 0.7884 GB, free: 15 MB / 0.6075 GB Notification: Performance of SimCode: time 8.42e-07/0.3221, allocations: 4 kB / 0.7884 GB, free: 15 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07368/0.3957, allocations: 17.66 MB / 0.8057 GB, free: 13.68 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.42/11.82, allocations: 8.969 kB / 0.8057 GB, free: 13.68 MB / 0.6231 GB " [Timeout remaining time 648] (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Electrical_AC_ThreePhasesBalanced_Lines_Examples_ACLine_R_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=50 --tolerance=1e-06 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: 16.157973090012092] Failed to read output from testmodel.py, exit status != 0: 11.967368839948904 11.991054223 11.738345505 Calling exit ...