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.001466/0.001466, allocations: 105 kB / 20.48 MB, free: 1.488 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: 215.9 kB / 23.79 MB, free: 4.703 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.599/1.599, allocations: 230.6 MB / 257.6 MB, free: 7.98 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.9835/0.9835, allocations: 150 MB / 464 MB, free: 10.5 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_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.002391/0.002391, allocations: 62 kB / 0.642 GB, free: 10.38 MB / 478.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2265/0.2289, allocations: 89.17 MB / 0.7291 GB, free: 1.285 MB / 0.545 GB Notification: Performance of NFInst.instantiate(IBPSA.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R): time 0.01048/0.2394, allocations: 7.071 MB / 0.736 GB, free: 10.18 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.006426/0.2458, allocations: 3.223 MB / 0.7392 GB, free: 6.949 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007911/0.2466, allocations: 39.62 kB / 0.7392 GB, free: 6.91 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.002871/0.2495, allocations: 0.9997 MB / 0.7402 GB, free: 5.91 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.001538/0.251, allocations: 0.5206 MB / 0.7407 GB, free: 5.387 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.001297/0.2523, allocations: 454.9 kB / 0.7411 GB, free: 4.941 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.001825/0.2542, allocations: 1.225 MB / 0.7423 GB, free: 3.711 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001039/0.2552, allocations: 0.5451 MB / 0.7429 GB, free: 3.156 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0009709/0.2562, allocations: 490.3 kB / 0.7433 GB, free: 2.676 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001052/0.2572, allocations: 0.5526 MB / 0.7439 GB, free: 2.121 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 0.000225/0.2574, allocations: 68 kB / 0.7439 GB, free: 2.055 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001038/0.2585, allocations: 387.2 kB / 0.7443 GB, free: 1.676 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.0004162/0.2589, allocations: 319.1 kB / 0.7446 GB, free: 1.363 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.0006978/0.2596, allocations: 453.7 kB / 0.745 GB, free: 0.918 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.001852/0.2614, allocations: 1.222 MB / 0.7462 GB, free: 15.69 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 5.54e-06/0.2615, allocations: 0 / 0.7462 GB, free: 15.69 MB / 0.5762 GB Notification: Performance of FrontEnd: time 2.224e-06/0.2615, allocations: 0 / 0.7462 GB, free: 15.69 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 4.867e-05/0.2615, allocations: 0 / 0.7462 GB, free: 15.69 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.00252/0.264, allocations: 1.123 MB / 0.7473 GB, free: 14.53 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 4.465e-05/0.2641, allocations: 12.03 kB / 0.7473 GB, free: 14.52 MB / 0.5762 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 3.258e-05/0.2641, allocations: 17.5 kB / 0.7473 GB, free: 14.5 MB / 0.5762 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001758/0.2643, allocations: 122.7 kB / 0.7475 GB, free: 14.38 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00164/0.2659, allocations: 240.1 kB / 0.7477 GB, free: 14.14 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00113/0.267, allocations: 0.5321 MB / 0.7482 GB, free: 13.58 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.713e-05/0.2671, allocations: 49.67 kB / 0.7483 GB, free: 13.54 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001106/0.2672, allocations: 68.34 kB / 0.7483 GB, free: 13.47 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001631/0.2688, allocations: 1.081 MB / 0.7494 GB, free: 12.28 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.906e-05/0.2689, allocations: 11.89 kB / 0.7494 GB, free: 12.27 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.938e-05/0.269, allocations: 35.98 kB / 0.7494 GB, free: 12.23 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001588/0.2691, allocations: 85.23 kB / 0.7495 GB, free: 12.15 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001198/0.2703, allocations: 0.7504 MB / 0.7502 GB, free: 11.4 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006071/0.2764, allocations: 5.803 MB / 0.7559 GB, free: 5.176 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001045/0.2774, allocations: 0.5152 MB / 0.7564 GB, free: 4.652 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004494/0.2779, allocations: 282 kB / 0.7567 GB, free: 4.375 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 3.961e-05/0.2779, allocations: 8.438 kB / 0.7567 GB, free: 4.367 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.078e-05/0.278, allocations: 35 kB / 0.7567 GB, free: 4.324 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=47): time 3.166e-06/0.278, allocations: 3.938 kB / 0.7567 GB, free: 4.32 MB / 0.5762 GB Notification: Performance of matching and sorting (n=48): time 0.004091/0.2821, allocations: 1.69 MB / 0.7584 GB, free: 2.609 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.042e-05/0.2821, allocations: 59.84 kB / 0.7584 GB, free: 2.539 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007155/0.2828, allocations: 0.5626 MB / 0.759 GB, free: 1.965 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 4.457e-05/0.2829, allocations: 33.7 kB / 0.759 GB, free: 1.926 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003263/0.2832, allocations: 435.9 kB / 0.7594 GB, free: 1.492 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001612/0.2834, allocations: 178.5 kB / 0.7596 GB, free: 1.316 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002002/0.2836, allocations: 130.6 kB / 0.7597 GB, free: 1.184 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001865/0.2837, allocations: 374.7 kB / 0.7601 GB, free: 0.8086 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004133/0.2842, allocations: 277.8 kB / 0.7603 GB, free: 0.5391 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.4204/0.7046, allocations: 489.8 kB / 0.7608 GB, free: 34.19 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001012/0.7056, allocations: 0.8068 MB / 0.7616 GB, free: 33.94 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.711e-06/0.7056, allocations: 2 kB / 0.7616 GB, free: 33.94 MB / 0.5762 GB Notification: Performance of matching and sorting (n=85) (initialization): time 0.002056/0.7077, allocations: 1.081 MB / 0.7627 GB, free: 33.87 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 3.716e-05/0.7077, allocations: 5.844 kB / 0.7627 GB, free: 33.87 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.176e-05/0.7077, allocations: 9.5 kB / 0.7627 GB, free: 33.87 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001173/0.7089, allocations: 282.7 kB / 0.7629 GB, free: 33.84 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007293/0.7096, allocations: 127.4 kB / 0.7631 GB, free: 33.84 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007332/0.717, allocations: 6.727 MB / 0.7696 GB, free: 28.99 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001055/0.718, allocations: 42.81 kB / 0.7697 GB, free: 28.99 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.687e-05/0.7181, allocations: 30.91 kB / 0.7697 GB, free: 28.99 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.0004661/0.7186, allocations: 257.5 kB / 0.77 GB, free: 28.86 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001474/0.7187, allocations: 76.81 kB / 0.77 GB, free: 28.85 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002067/0.7208, allocations: 0.8769 MB / 0.7709 GB, free: 28.75 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.643e-06/0.7208, allocations: 6.375 kB / 0.7709 GB, free: 28.75 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.215e-06/0.7208, allocations: 2.312 kB / 0.7709 GB, free: 28.75 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.181e-05/0.7208, allocations: 3.766 kB / 0.7709 GB, free: 28.75 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003501/0.7243, allocations: 1.688 MB / 0.7725 GB, free: 28.36 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.686e-06/0.7243, allocations: 6.297 kB / 0.7725 GB, free: 28.36 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003685/0.7247, allocations: 63.52 kB / 0.7726 GB, free: 28.35 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001038/0.7257, allocations: 267.3 kB / 0.7729 GB, free: 28.32 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.317e-05/0.7258, allocations: 10.16 kB / 0.7729 GB, free: 28.32 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007269/0.733, allocations: 6.715 MB / 0.7794 GB, free: 23.36 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.901e-06/0.733, allocations: 2.438 kB / 0.7794 GB, free: 23.36 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002378/0.7354, allocations: 0.9699 MB / 0.7804 GB, free: 22.95 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004185/0.7358, allocations: 122.1 kB / 0.7805 GB, free: 22.88 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001206/0.736, allocations: 12 kB / 0.7805 GB, free: 22.88 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003674/0.7363, allocations: 30.83 kB / 0.7805 GB, free: 22.87 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001336/0.7365, allocations: 51.31 kB / 0.7806 GB, free: 22.85 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.364e-05/0.7365, allocations: 15.95 kB / 0.7806 GB, free: 22.85 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0004552/0.7369, allocations: 388.5 kB / 0.781 GB, free: 22.66 MB / 0.5762 GB Notification: Performance of sort global known variables: time 7.1e-08/0.7369, allocations: 0.7812 kB / 0.781 GB, free: 22.66 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0008503/0.7378, allocations: 220.8 kB / 0.7812 GB, free: 22.64 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.001749/0.7395, allocations: 1.536 MB / 0.7827 GB, free: 21.59 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.002603/0.7422, allocations: 1.238 MB / 0.7839 GB, free: 20.86 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 4.729e-06/0.7422, allocations: 1.406 kB / 0.7839 GB, free: 20.86 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.00167/0.7438, allocations: 0.8665 MB / 0.7847 GB, free: 20.27 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001541/0.7454, allocations: 233.8 kB / 0.785 GB, free: 20.2 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01208/0.7575, allocations: 6.399 MB / 0.7912 GB, free: 16.54 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006546/0.7581, allocations: 1.01 MB / 0.7922 GB, free: 15.8 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.0006373/0.7587, allocations: 125.3 kB / 0.7923 GB, free: 15.78 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003874/0.7591, allocations: 253.2 kB / 0.7926 GB, free: 15.59 MB / 0.5762 GB Notification: Performance of SimCode: time 1.332e-06/0.7591, allocations: 1.344 kB / 0.7926 GB, free: 15.59 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06015/0.8193, allocations: 18.2 MB / 0.8103 GB, free: 9.078 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.64/13.46, allocations: 5.578 kB / 0.8103 GB, free: 9.078 MB / 0.5762 GB " [Timeout remaining time 646] (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.759879888035357] Failed to read output from testmodel.py, exit status != 0: 13.661023204040248 13.678028202 13.412041738 Calling exit ...