Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Electrical.AC.OnePhase.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.001623/0.001623, allocations: 119.2 kB / 19.69 MB, free: 2.199 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.001977/0.001977, allocations: 225.6 kB / 23.01 MB, free: 5.043 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.49/1.49, allocations: 230.6 MB / 256.8 MB, free: 7.988 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.017/1.017, allocations: 150 MB / 463.2 MB, free: 10.48 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.OnePhase.Lines.Examples.ACLine_R,fileNamePrefix="IBPSA_latest_IBPSA_Electrical_AC_OnePhase_Lines_Examples_ACLine_R",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Electrical.AC.OnePhase.Lines.Examples.ACLine_R,fileNamePrefix="IBPSA_latest_IBPSA_Electrical_AC_OnePhase_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.00209/0.00209, allocations: 62.75 kB / 0.6413 GB, free: 10.36 MB / 478.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2198/0.2219, allocations: 89.18 MB / 0.7284 GB, free: 1.254 MB / 0.545 GB Notification: Performance of NFInst.instantiate(IBPSA.Electrical.AC.OnePhase.Lines.Examples.ACLine_R): time 0.009777/0.2317, allocations: 6.994 MB / 0.7352 GB, free: 10.23 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.006083/0.2378, allocations: 3.198 MB / 0.7383 GB, free: 7.023 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007168/0.2385, allocations: 43.62 kB / 0.7384 GB, free: 6.98 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.002875/0.2414, allocations: 0.9915 MB / 0.7393 GB, free: 5.988 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.001611/0.243, allocations: 0.5207 MB / 0.7398 GB, free: 5.465 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.001278/0.2443, allocations: 423 kB / 0.7402 GB, free: 5.051 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.001878/0.2461, allocations: 1.229 MB / 0.7414 GB, free: 3.816 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001005/0.2472, allocations: 0.5373 MB / 0.742 GB, free: 3.273 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001179/0.2483, allocations: 490.2 kB / 0.7424 GB, free: 2.793 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001234/0.2496, allocations: 0.5487 MB / 0.743 GB, free: 2.242 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 0.0001216/0.2497, allocations: 68 kB / 0.743 GB, free: 2.176 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007995/0.2505, allocations: 391.2 kB / 0.7434 GB, free: 1.793 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.0003225/0.2508, allocations: 323.1 kB / 0.7437 GB, free: 1.477 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.0005055/0.2513, allocations: 449.8 kB / 0.7441 GB, free: 1.035 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.001391/0.2527, allocations: 1.218 MB / 0.7453 GB, free: 15.81 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 4.508e-06/0.2527, allocations: 0 / 0.7453 GB, free: 15.81 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.342e-06/0.2527, allocations: 4 kB / 0.7453 GB, free: 15.81 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 1.659e-05/0.2527, allocations: 0 / 0.7453 GB, free: 15.81 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.002005/0.2547, allocations: 1.108 MB / 0.7464 GB, free: 14.66 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 4.608e-05/0.2548, allocations: 12.03 kB / 0.7464 GB, free: 14.65 MB / 0.5762 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001433/0.2549, allocations: 118.7 kB / 0.7465 GB, free: 14.53 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001571/0.2565, allocations: 236.1 kB / 0.7468 GB, free: 14.3 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009743/0.2575, allocations: 0.5191 MB / 0.7473 GB, free: 13.75 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.771e-05/0.2575, allocations: 53.67 kB / 0.7473 GB, free: 13.7 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001054/0.2576, allocations: 60.36 kB / 0.7474 GB, free: 13.64 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001552/0.2592, allocations: 1.097 MB / 0.7484 GB, free: 12.43 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.706e-05/0.2592, allocations: 3.938 kB / 0.7484 GB, free: 12.43 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.036e-05/0.2593, allocations: 35.98 kB / 0.7485 GB, free: 12.39 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001544/0.2594, allocations: 85.25 kB / 0.7486 GB, free: 12.31 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001205/0.2606, allocations: 0.7504 MB / 0.7493 GB, free: 11.56 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006159/0.2668, allocations: 5.795 MB / 0.755 GB, free: 5.348 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00106/0.2679, allocations: 0.5095 MB / 0.7555 GB, free: 4.828 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004919/0.2683, allocations: 282 kB / 0.7557 GB, free: 4.551 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 4.66e-05/0.2684, allocations: 8.438 kB / 0.7557 GB, free: 4.543 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.065e-05/0.2684, allocations: 46.81 kB / 0.7558 GB, free: 4.488 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=47): time 2.605e-06/0.2684, allocations: 0 / 0.7558 GB, free: 4.488 MB / 0.5762 GB Notification: Performance of matching and sorting (n=48): time 0.00394/0.2724, allocations: 1.686 MB / 0.7574 GB, free: 2.781 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.692e-05/0.2724, allocations: 55.84 kB / 0.7575 GB, free: 2.715 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007053/0.2731, allocations: 0.5509 MB / 0.758 GB, free: 2.152 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 4.401e-05/0.2732, allocations: 37.7 kB / 0.758 GB, free: 2.109 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003125/0.2735, allocations: 428 kB / 0.7585 GB, free: 1.688 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001507/0.2736, allocations: 186.5 kB / 0.7586 GB, free: 1.504 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001906/0.2738, allocations: 126.6 kB / 0.7588 GB, free: 1.375 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001918/0.274, allocations: 378.7 kB / 0.7591 GB, free: 0.9961 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004225/0.2744, allocations: 273.8 kB / 0.7594 GB, free: 0.7305 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005887/0.275, allocations: 0.4891 MB / 0.7599 GB, free: 152 kB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.3221/0.5971, allocations: 0.8044 MB / 0.7606 GB, free: 33.88 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.342e-06/0.5971, allocations: 3.781 kB / 0.7606 GB, free: 33.88 MB / 0.5762 GB Notification: Performance of matching and sorting (n=85) (initialization): time 0.002091/0.5992, allocations: 1.075 MB / 0.7617 GB, free: 33.81 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 2.914e-05/0.5993, allocations: 8.688 kB / 0.7617 GB, free: 33.81 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.524e-05/0.5993, allocations: 7.156 kB / 0.7617 GB, free: 33.81 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008661/0.6001, allocations: 276 kB / 0.762 GB, free: 33.78 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004656/0.6006, allocations: 127.3 kB / 0.7621 GB, free: 33.78 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004888/0.6055, allocations: 6.726 MB / 0.7687 GB, free: 28.94 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000588/0.6061, allocations: 43.3 kB / 0.7687 GB, free: 28.94 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.314e-05/0.6061, allocations: 26.97 kB / 0.7687 GB, free: 28.94 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.0003024/0.6064, allocations: 253.9 kB / 0.769 GB, free: 28.81 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.147e-05/0.6065, allocations: 81.53 kB / 0.7691 GB, free: 28.8 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001471/0.608, allocations: 0.8802 MB / 0.7699 GB, free: 28.7 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.152e-06/0.608, allocations: 5.906 kB / 0.7699 GB, free: 28.7 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.273e-06/0.608, allocations: 6.438 kB / 0.7699 GB, free: 28.7 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.326e-06/0.608, allocations: 5.844 kB / 0.7699 GB, free: 28.7 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002583/0.6106, allocations: 1.687 MB / 0.7716 GB, free: 28.3 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.64e-06/0.6106, allocations: 6.125 kB / 0.7716 GB, free: 28.3 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000266/0.6109, allocations: 60.69 kB / 0.7716 GB, free: 28.3 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007763/0.6116, allocations: 266.4 kB / 0.7719 GB, free: 28.26 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.272e-05/0.6117, allocations: 9.938 kB / 0.7719 GB, free: 28.26 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005381/0.6171, allocations: 6.715 MB / 0.7785 GB, free: 23.32 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.267e-06/0.6171, allocations: 2.469 kB / 0.7785 GB, free: 23.32 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001686/0.6188, allocations: 0.9805 MB / 0.7794 GB, free: 22.96 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003299/0.6191, allocations: 115.6 kB / 0.7795 GB, free: 22.9 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.137e-05/0.6192, allocations: 16.89 kB / 0.7795 GB, free: 22.89 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00037/0.6195, allocations: 31.52 kB / 0.7796 GB, free: 22.88 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001347/0.6197, allocations: 38.88 kB / 0.7796 GB, free: 22.88 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.386e-05/0.6197, allocations: 15.45 kB / 0.7796 GB, free: 22.87 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0004592/0.6202, allocations: 385.1 kB / 0.78 GB, free: 22.69 MB / 0.5762 GB Notification: Performance of sort global known variables: time 9e-08/0.6202, allocations: 0.6875 kB / 0.78 GB, free: 22.69 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0008963/0.6211, allocations: 229.4 kB / 0.7802 GB, free: 22.66 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.001671/0.6227, allocations: 1.527 MB / 0.7817 GB, free: 21.61 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.002015/0.6247, allocations: 1.239 MB / 0.7829 GB, free: 20.88 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 4.018e-06/0.6248, allocations: 0 / 0.7829 GB, free: 20.88 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.00122/0.626, allocations: 0.8669 MB / 0.7838 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.001062/0.627, allocations: 224.9 kB / 0.784 GB, free: 20.21 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0103/0.6373, allocations: 6.363 MB / 0.7902 GB, free: 16.57 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006363/0.638, allocations: 1.01 MB / 0.7912 GB, free: 15.83 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.0005333/0.6385, allocations: 132.1 kB / 0.7913 GB, free: 15.8 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002995/0.6388, allocations: 251 kB / 0.7915 GB, free: 15.61 MB / 0.5762 GB Notification: Performance of SimCode: time 1.102e-06/0.6388, allocations: 0 / 0.7915 GB, free: 15.61 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06648/0.7053, allocations: 18.05 MB / 0.8092 GB, free: 9.195 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.64/13.34, allocations: 18.91 kB / 0.8092 GB, free: 9.18 MB / 0.5762 GB " [Timeout remaining time 647] (rm -f IBPSA_latest_IBPSA.Electrical.AC.OnePhase.Lines.Examples.ACLine_R.pipe ; mkfifo IBPSA_latest_IBPSA.Electrical.AC.OnePhase.Lines.Examples.ACLine_R.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Electrical.AC.OnePhase.Lines.Examples.ACLine_R.pipe >> ../files/IBPSA_latest_IBPSA.Electrical.AC.OnePhase.Lines.Examples.ACLine_R.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Electrical_AC_OnePhase_Lines_Examples_ACLine_R_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_Electrical_AC_OnePhase_Lines_Examples_ACLine_R.fmu > IBPSA_latest_IBPSA.Electrical.AC.OnePhase.Lines.Examples.ACLine_R.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 17.256713879993185] Failed to read output from testmodel.py, exit status != 0: 13.467085279989988 13.488653858 13.231143 Calling exit ...