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.00139/0.00139, allocations: 114.8 kB / 19.69 MB, free: 2.047 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.001512/0.001512, allocations: 219.4 kB / 23.01 MB, free: 4.93 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.604/1.604, allocations: 230.6 MB / 256.8 MB, free: 7.973 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.9725/0.9725, allocations: 150 MB / 463.2 MB, free: 10.46 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.002043/0.002043, allocations: 68.02 kB / 0.6413 GB, free: 10.36 MB / 478.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2163/0.2183, allocations: 89.17 MB / 0.7284 GB, free: 1.25 MB / 0.545 GB Notification: Performance of NFInst.instantiate(IBPSA.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R): time 0.01039/0.2287, allocations: 7.064 MB / 0.7353 GB, free: 10.16 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.006629/0.2354, allocations: 3.219 MB / 0.7384 GB, free: 6.926 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009284/0.2363, allocations: 35.69 kB / 0.7384 GB, free: 6.891 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.002985/0.2393, allocations: 0.9998 MB / 0.7394 GB, free: 5.887 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.001809/0.2411, allocations: 0.5207 MB / 0.7399 GB, free: 5.363 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.001437/0.2425, allocations: 452.9 kB / 0.7404 GB, free: 4.922 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.001963/0.2445, allocations: 1.232 MB / 0.7416 GB, free: 3.684 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001088/0.2456, allocations: 0.5412 MB / 0.7421 GB, free: 3.133 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00102/0.2466, allocations: 494.2 kB / 0.7426 GB, free: 2.648 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001075/0.2477, allocations: 0.5487 MB / 0.7431 GB, free: 2.098 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 0.0002089/0.2479, allocations: 68 kB / 0.7432 GB, free: 2.031 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0009602/0.2488, allocations: 387.2 kB / 0.7435 GB, free: 1.652 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.0004444/0.2493, allocations: 319.1 kB / 0.7438 GB, free: 1.34 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.0007204/0.25, allocations: 453.7 kB / 0.7443 GB, free: 0.8945 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.001954/0.252, allocations: 1.222 MB / 0.7455 GB, free: 15.67 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 5.32e-06/0.252, allocations: 0 / 0.7455 GB, free: 15.67 MB / 0.5762 GB Notification: Performance of FrontEnd: time 2.274e-06/0.252, allocations: 4 kB / 0.7455 GB, free: 15.66 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 4.548e-05/0.252, allocations: 0 / 0.7455 GB, free: 15.66 MB / 0.5762 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.002582/0.2546, allocations: 1.123 MB / 0.7466 GB, free: 14.5 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 4.745e-05/0.2546, allocations: 8.031 kB / 0.7466 GB, free: 14.5 MB / 0.5762 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001997/0.2548, allocations: 122.7 kB / 0.7467 GB, free: 14.37 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00163/0.2565, allocations: 240.1 kB / 0.7469 GB, free: 14.13 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001183/0.2577, allocations: 0.5321 MB / 0.7474 GB, free: 13.58 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.535e-05/0.2577, allocations: 57.67 kB / 0.7475 GB, free: 13.52 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001216/0.2578, allocations: 60.36 kB / 0.7475 GB, free: 13.46 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001755/0.2596, allocations: 1.085 MB / 0.7486 GB, free: 12.27 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.648e-05/0.2596, allocations: 15.83 kB / 0.7486 GB, free: 12.25 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.206e-05/0.2597, allocations: 31.98 kB / 0.7486 GB, free: 12.22 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001668/0.2599, allocations: 85.25 kB / 0.7487 GB, free: 12.14 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001342/0.2612, allocations: 0.7543 MB / 0.7495 GB, free: 11.38 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006688/0.2679, allocations: 5.799 MB / 0.7551 GB, free: 5.168 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001036/0.2689, allocations: 0.5125 MB / 0.7556 GB, free: 4.645 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004556/0.2694, allocations: 286 kB / 0.7559 GB, free: 4.363 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 3.923e-05/0.2694, allocations: 4.438 kB / 0.7559 GB, free: 4.359 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.186e-05/0.2695, allocations: 39 kB / 0.7559 GB, free: 4.312 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=47): time 2.204e-06/0.2695, allocations: 0 / 0.7559 GB, free: 4.312 MB / 0.5762 GB Notification: Performance of matching and sorting (n=48): time 0.004088/0.2736, allocations: 1.69 MB / 0.7576 GB, free: 2.602 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.942e-05/0.2736, allocations: 55.84 kB / 0.7576 GB, free: 2.535 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007953/0.2744, allocations: 0.5665 MB / 0.7582 GB, free: 1.957 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 5.005e-05/0.2745, allocations: 37.7 kB / 0.7582 GB, free: 1.914 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003895/0.2749, allocations: 432 kB / 0.7586 GB, free: 1.484 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001885/0.275, allocations: 178.5 kB / 0.7588 GB, free: 1.309 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002098/0.2753, allocations: 122.6 kB / 0.7589 GB, free: 1.184 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0002377/0.2755, allocations: 382.7 kB / 0.7593 GB, free: 0.8008 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004416/0.2759, allocations: 273.8 kB / 0.7596 GB, free: 0.5352 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.4879/0.7639, allocations: 494 kB / 0.76 GB, free: 34.21 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001133/0.765, allocations: 0.8021 MB / 0.7608 GB, free: 33.96 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.47e-06/0.765, allocations: 2.469 kB / 0.7608 GB, free: 33.96 MB / 0.5762 GB Notification: Performance of matching and sorting (n=85) (initialization): time 0.002063/0.7671, allocations: 1.082 MB / 0.7619 GB, free: 33.89 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 2.74e-05/0.7671, allocations: 8.312 kB / 0.7619 GB, free: 33.89 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.59e-05/0.7671, allocations: 6.656 kB / 0.7619 GB, free: 33.89 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008429/0.768, allocations: 279.3 kB / 0.7622 GB, free: 33.86 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004679/0.7684, allocations: 125.3 kB / 0.7623 GB, free: 33.86 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005242/0.7737, allocations: 6.73 MB / 0.7688 GB, free: 29.01 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006564/0.7743, allocations: 42.03 kB / 0.7689 GB, free: 29.01 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.846e-05/0.7744, allocations: 30.64 kB / 0.7689 GB, free: 29.01 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.0003713/0.7748, allocations: 253.1 kB / 0.7692 GB, free: 28.88 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001079/0.7749, allocations: 78.66 kB / 0.7692 GB, free: 28.87 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001738/0.7766, allocations: 0.8781 MB / 0.7701 GB, free: 28.77 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.122e-06/0.7766, allocations: 8.344 kB / 0.7701 GB, free: 28.77 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.494e-06/0.7766, allocations: 4.156 kB / 0.7701 GB, free: 28.77 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.305e-05/0.7766, allocations: 4.562 kB / 0.7701 GB, free: 28.77 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002872/0.7795, allocations: 1.688 MB / 0.7718 GB, free: 28.38 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.546e-06/0.7795, allocations: 5.812 kB / 0.7718 GB, free: 28.38 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003051/0.7798, allocations: 62.66 kB / 0.7718 GB, free: 28.38 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008418/0.7807, allocations: 270.1 kB / 0.7721 GB, free: 28.34 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.599e-05/0.7807, allocations: 11.56 kB / 0.7721 GB, free: 28.34 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006788/0.7875, allocations: 6.715 MB / 0.7786 GB, free: 23.39 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.971e-06/0.7875, allocations: 1.969 kB / 0.7786 GB, free: 23.39 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002176/0.7897, allocations: 0.9768 MB / 0.7796 GB, free: 22.96 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003987/0.7901, allocations: 120.8 kB / 0.7797 GB, free: 22.9 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.434e-05/0.7901, allocations: 11.66 kB / 0.7797 GB, free: 22.89 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003686/0.7905, allocations: 33.58 kB / 0.7798 GB, free: 22.89 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001458/0.7907, allocations: 41.28 kB / 0.7798 GB, free: 22.88 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.6e-05/0.7907, allocations: 11.72 kB / 0.7798 GB, free: 22.88 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0005553/0.7913, allocations: 388.7 kB / 0.7802 GB, free: 22.7 MB / 0.5762 GB Notification: Performance of sort global known variables: time 9e-08/0.7913, allocations: 4.906 kB / 0.7802 GB, free: 22.69 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0009648/0.7922, allocations: 227.5 kB / 0.7804 GB, free: 22.67 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.002248/0.7945, allocations: 1.539 MB / 0.7819 GB, free: 21.61 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.002298/0.7968, allocations: 1.237 MB / 0.7831 GB, free: 20.88 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 4.989e-06/0.7968, allocations: 0 / 0.7831 GB, free: 20.88 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.001333/0.7981, allocations: 0.8622 MB / 0.784 GB, free: 20.29 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001068/0.7992, allocations: 228 kB / 0.7842 GB, free: 20.22 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009092/0.8083, allocations: 6.403 MB / 0.7904 GB, free: 16.56 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006118/0.8089, allocations: 1.01 MB / 0.7914 GB, free: 15.82 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.0004857/0.8094, allocations: 125.7 kB / 0.7915 GB, free: 15.8 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002657/0.8096, allocations: 251.4 kB / 0.7918 GB, free: 15.61 MB / 0.5762 GB Notification: Performance of SimCode: time 9.92e-07/0.8096, allocations: 3.938 kB / 0.7918 GB, free: 15.61 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07299/0.8826, allocations: 18.17 MB / 0.8095 GB, free: 9.121 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.33/13.21, allocations: 4.625 kB / 0.8095 GB, free: 9.121 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: 17.293235839810222] Failed to read output from testmodel.py, exit status != 0: 13.329033124027774 13.340372084 13.085213558 Calling exit ...