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.001347/0.001347, allocations: 108.3 kB / 19.7 MB, free: 1.918 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.001739/0.001739, allocations: 209 kB / 22.99 MB, free: 4.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.477/1.477, allocations: 230.6 MB / 256.8 MB, free: 7.793 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.9623/0.9623, allocations: 149.9 MB / 463 MB, free: 10.38 MB / 366.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="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: 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.002078/0.002078, allocations: 66.81 kB / 0.6411 GB, free: 10.12 MB / 478.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1971/0.1992, allocations: 89.17 MB / 0.7282 GB, free: 1.027 MB / 0.545 GB Notification: Performance of NFInst.instantiate(IBPSA.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R): time 0.009785/0.209, allocations: 6.538 MB / 0.7345 GB, free: 10.46 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.005866/0.2148, allocations: 3.071 MB / 0.7375 GB, free: 7.379 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005492/0.2154, allocations: 39.62 kB / 0.7376 GB, free: 7.34 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.002653/0.218, allocations: 0.9571 MB / 0.7385 GB, free: 6.379 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.001299/0.2193, allocations: 0.5207 MB / 0.739 GB, free: 5.855 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.00112/0.2204, allocations: 446.2 kB / 0.7395 GB, free: 5.422 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.001513/0.222, allocations: 1.229 MB / 0.7407 GB, free: 4.188 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008628/0.2228, allocations: 0.5372 MB / 0.7412 GB, free: 3.641 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006587/0.2235, allocations: 494.3 kB / 0.7416 GB, free: 3.156 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007281/0.2242, allocations: 0.5175 MB / 0.7422 GB, free: 2.637 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 0.0001089/0.2243, allocations: 68 kB / 0.7422 GB, free: 2.57 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006941/0.225, allocations: 343.3 kB / 0.7425 GB, free: 2.234 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.000328/0.2253, allocations: 319 kB / 0.7429 GB, free: 1.922 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.0004204/0.2258, allocations: 378.2 kB / 0.7432 GB, free: 1.551 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.001422/0.2272, allocations: 1.23 MB / 0.7444 GB, free: 324 kB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 4.929e-06/0.2272, allocations: 0 / 0.7444 GB, free: 324 kB / 0.5606 GB Notification: Performance of FrontEnd: time 2.174e-06/0.2272, allocations: 0 / 0.7444 GB, free: 324 kB / 0.5606 GB Notification: Performance of Transformations before backend: time 2.106e-05/0.2272, allocations: 0 / 0.7444 GB, free: 324 kB / 0.5606 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.002027/0.2292, allocations: 1.127 MB / 0.7455 GB, free: 15.15 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 3.998e-05/0.2293, allocations: 8.031 kB / 0.7455 GB, free: 15.14 MB / 0.5762 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001405/0.2294, allocations: 114.7 kB / 0.7456 GB, free: 15.02 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001512/0.2309, allocations: 244.1 kB / 0.7459 GB, free: 14.79 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001176/0.2321, allocations: 0.5399 MB / 0.7464 GB, free: 14.22 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.96e-05/0.2322, allocations: 45.69 kB / 0.7464 GB, free: 14.18 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001219/0.2323, allocations: 64.34 kB / 0.7465 GB, free: 14.11 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001779/0.2341, allocations: 1.336 MB / 0.7478 GB, free: 12.61 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.868e-05/0.2341, allocations: 11.89 kB / 0.7478 GB, free: 12.59 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.011e-05/0.2342, allocations: 31.98 kB / 0.7478 GB, free: 12.56 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001537/0.2343, allocations: 81.25 kB / 0.7479 GB, free: 12.48 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00121/0.2355, allocations: 0.7543 MB / 0.7487 GB, free: 11.73 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00543/0.2409, allocations: 4.635 MB / 0.7532 GB, free: 6.926 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001038/0.242, allocations: 0.5202 MB / 0.7537 GB, free: 6.395 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000446/0.2424, allocations: 286 kB / 0.754 GB, free: 6.113 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 3.872e-05/0.2425, allocations: 8.438 kB / 0.754 GB, free: 6.105 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.281e-05/0.2425, allocations: 38.98 kB / 0.754 GB, free: 6.059 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=47): time 2.746e-06/0.2425, allocations: 4 kB / 0.754 GB, free: 6.055 MB / 0.5762 GB Notification: Performance of matching and sorting (n=48): time 0.003877/0.2464, allocations: 1.675 MB / 0.7556 GB, free: 4.359 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.71e-05/0.2464, allocations: 59.84 kB / 0.7557 GB, free: 4.289 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006813/0.2471, allocations: 0.5858 MB / 0.7563 GB, free: 3.695 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 4.182e-05/0.2472, allocations: 29.7 kB / 0.7563 GB, free: 3.66 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003229/0.2475, allocations: 428 kB / 0.7567 GB, free: 3.234 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 0.000152/0.2476, allocations: 178.5 kB / 0.7569 GB, free: 3.059 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002037/0.2478, allocations: 130.6 kB / 0.757 GB, free: 2.926 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001898/0.248, allocations: 374.7 kB / 0.7574 GB, free: 2.551 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004304/0.2485, allocations: 273.8 kB / 0.7576 GB, free: 2.285 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006048/0.2491, allocations: 0.4891 MB / 0.7581 GB, free: 1.703 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001119/0.2502, allocations: 0.8123 MB / 0.7589 GB, free: 0.7969 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.33e-06/0.2502, allocations: 4 kB / 0.7589 GB, free: 0.793 MB / 0.5762 GB Notification: Performance of matching and sorting (n=85) (initialization): time 0.4203/0.6704, allocations: 1.068 MB / 0.7599 GB, free: 34.11 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 3.006e-05/0.6705, allocations: 12.33 kB / 0.76 GB, free: 34.11 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.6e-05/0.6705, allocations: 6.406 kB / 0.76 GB, free: 34.11 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008408/0.6713, allocations: 275.5 kB / 0.7602 GB, free: 34.08 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005201/0.6718, allocations: 127.5 kB / 0.7603 GB, free: 34.08 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004834/0.6767, allocations: 6.684 MB / 0.7669 GB, free: 29.24 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006087/0.6773, allocations: 38.5 kB / 0.7669 GB, free: 29.24 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.24e-05/0.6773, allocations: 30 kB / 0.7669 GB, free: 29.24 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.0003145/0.6776, allocations: 247.5 kB / 0.7672 GB, free: 29.13 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001008/0.6777, allocations: 81.67 kB / 0.7673 GB, free: 29.12 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001393/0.6791, allocations: 0.8775 MB / 0.7681 GB, free: 29.03 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.419e-06/0.6791, allocations: 5.562 kB / 0.7681 GB, free: 29.03 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.124e-06/0.6792, allocations: 8.703 kB / 0.7681 GB, free: 29.02 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.575e-06/0.6792, allocations: 4.266 kB / 0.7681 GB, free: 29.02 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002468/0.6816, allocations: 1.611 MB / 0.7697 GB, free: 28.64 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.66e-06/0.6816, allocations: 2.562 kB / 0.7697 GB, free: 28.64 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002674/0.6819, allocations: 64.22 kB / 0.7698 GB, free: 28.64 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007261/0.6826, allocations: 264.7 kB / 0.77 GB, free: 28.61 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.656e-05/0.6827, allocations: 16.72 kB / 0.77 GB, free: 28.61 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005349/0.688, allocations: 6.669 MB / 0.7765 GB, free: 23.7 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.637e-06/0.688, allocations: 2.938 kB / 0.7765 GB, free: 23.7 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001778/0.6898, allocations: 0.9751 MB / 0.7775 GB, free: 23.41 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004437/0.6902, allocations: 125 kB / 0.7776 GB, free: 23.37 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.804e-05/0.6903, allocations: 14.78 kB / 0.7776 GB, free: 23.37 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004086/0.6907, allocations: 28.53 kB / 0.7777 GB, free: 23.37 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001841/0.6909, allocations: 46.48 kB / 0.7777 GB, free: 23.37 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.091e-05/0.691, allocations: 14.62 kB / 0.7777 GB, free: 23.37 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0005561/0.6915, allocations: 390.2 kB / 0.7781 GB, free: 23.27 MB / 0.5762 GB Notification: Performance of sort global known variables: time 1.1e-07/0.6915, allocations: 0 / 0.7781 GB, free: 23.27 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.001008/0.6925, allocations: 225.3 kB / 0.7783 GB, free: 23.27 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 (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.001988/0.6945, allocations: 1.538 MB / 0.7798 GB, free: 22.46 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.002226/0.6967, allocations: 1.238 MB / 0.781 GB, free: 21.81 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 5.119e-06/0.6967, allocations: 0.9375 kB / 0.781 GB, free: 21.81 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.001359/0.6981, allocations: 0.8618 MB / 0.7819 GB, free: 21.23 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001322/0.6994, allocations: 225.5 kB / 0.7821 GB, free: 21.16 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01375/0.7132, allocations: 6.409 MB / 0.7883 GB, free: 17.52 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006311/0.7138, allocations: 414.8 kB / 0.7887 GB, free: 17.39 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.0007061/0.7145, allocations: 124 kB / 0.7888 GB, free: 17.37 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003797/0.7149, allocations: 255.1 kB / 0.7891 GB, free: 17.17 MB / 0.5762 GB Notification: Performance of SimCode: time 1.192e-06/0.7149, allocations: 0.7656 kB / 0.7891 GB, free: 17.17 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07095/0.7858, allocations: 19.35 MB / 0.808 GB, free: 10.12 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.15/12.93, allocations: 12.94 kB / 0.808 GB, free: 10.11 MB / 0.5762 GB " [Timeout remaining time 647] (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.793898249045014] Failed to read output from testmodel.py, exit status != 0: 13.059280501212925 13.080087521 12.84797212 Calling exit ...