Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Electrical.AC.OnePhase.Lines.Examples.ACLine_RL.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.001971/0.001971, 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.002136/0.002136, allocations: 217.2 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.504/1.504, allocations: 230.6 MB / 256.8 MB, free: 7.789 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.9874/0.9874, allocations: 149.9 MB / 463.1 MB, free: 10.32 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_RL,fileNamePrefix="IBPSA_latest_IBPSA_Electrical_AC_OnePhase_Lines_Examples_ACLine_RL",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Electrical.AC.OnePhase.Lines.Examples.ACLine_RL,fileNamePrefix="IBPSA_latest_IBPSA_Electrical_AC_OnePhase_Lines_Examples_ACLine_RL",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.002086/0.002086, allocations: 70.7 kB / 0.6411 GB, free: 10.07 MB / 478.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1759/0.178, allocations: 89.16 MB / 0.7282 GB, free: 0.9844 MB / 0.545 GB Notification: Performance of NFInst.instantiate(IBPSA.Electrical.AC.OnePhase.Lines.Examples.ACLine_RL): time 0.007477/0.1855, allocations: 5.264 MB / 0.7333 GB, free: 11.7 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.005473/0.191, allocations: 2.611 MB / 0.7359 GB, free: 9.074 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000579/0.1916, allocations: 35.69 kB / 0.7359 GB, free: 9.039 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.001981/0.1935, allocations: 0.6796 MB / 0.7366 GB, free: 8.359 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.001302/0.1948, allocations: 425.7 kB / 0.737 GB, free: 7.941 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.001186/0.196, allocations: 399 kB / 0.7373 GB, free: 7.551 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.001207/0.1972, allocations: 0.9555 MB / 0.7383 GB, free: 6.594 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005585/0.1978, allocations: 374.8 kB / 0.7386 GB, free: 6.223 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005698/0.1984, allocations: 390.5 kB / 0.739 GB, free: 5.84 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005735/0.1989, allocations: 402.3 kB / 0.7394 GB, free: 5.445 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 8.129e-05/0.199, allocations: 48 kB / 0.7394 GB, free: 5.398 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006369/0.1997, allocations: 327.3 kB / 0.7397 GB, free: 5.078 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.0002485/0.1999, allocations: 251.2 kB / 0.74 GB, free: 4.832 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.0003108/0.2002, allocations: 294.6 kB / 0.7403 GB, free: 4.543 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.001195/0.2014, allocations: 0.9806 MB / 0.7412 GB, free: 3.559 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 5.972e-06/0.2014, allocations: 4 kB / 0.7412 GB, free: 3.555 MB / 0.5606 GB Notification: Performance of FrontEnd: time 2.625e-06/0.2014, allocations: 0 / 0.7412 GB, free: 3.555 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 1.406e-05/0.2014, allocations: 0 / 0.7412 GB, free: 3.555 MB / 0.5606 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 140 * Number of variables: 140 Notification: Performance of Generate backend data structure: time 0.001777/0.2032, allocations: 0.9169 MB / 0.7421 GB, free: 2.605 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 5.095e-05/0.2033, allocations: 8.031 kB / 0.7421 GB, free: 2.598 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001314/0.2034, allocations: 98.69 kB / 0.7422 GB, free: 2.492 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001429/0.2048, allocations: 200.3 kB / 0.7424 GB, free: 2.297 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009626/0.2058, allocations: 455.6 kB / 0.7428 GB, free: 1.824 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.543e-05/0.2058, allocations: 45.36 kB / 0.7429 GB, free: 1.781 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001698/0.206, allocations: 60.53 kB / 0.7429 GB, free: 1.723 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001339/0.2073, allocations: 0.9823 MB / 0.7439 GB, free: 0.6172 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.77e-05/0.2074, allocations: 7.891 kB / 0.7439 GB, free: 0.6094 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.769e-05/0.2074, allocations: 20 kB / 0.7439 GB, free: 0.5898 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002056/0.2076, allocations: 68.95 kB / 0.744 GB, free: 0.5234 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009428/0.2086, allocations: 0.5658 MB / 0.7446 GB, free: 15.95 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004568/0.2131, allocations: 3.573 MB / 0.748 GB, free: 12.25 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004835/0.2136, allocations: 275.3 kB / 0.7483 GB, free: 11.97 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003158/0.2139, allocations: 209.3 kB / 0.7485 GB, free: 11.76 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 2.689e-05/0.214, allocations: 4.281 kB / 0.7485 GB, free: 11.76 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.057e-05/0.214, allocations: 38.83 kB / 0.7485 GB, free: 11.71 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=33): time 2.064e-06/0.214, allocations: 0 / 0.7485 GB, free: 11.71 MB / 0.5762 GB Notification: Performance of matching and sorting (n=40): time 0.005723/0.2197, allocations: 2.334 MB / 0.7508 GB, free: 9.324 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.45e-05/0.2198, allocations: 55.41 kB / 0.7509 GB, free: 9.258 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005379/0.2203, allocations: 469.8 kB / 0.7513 GB, free: 8.789 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 3.829e-05/0.2203, allocations: 33.7 kB / 0.7514 GB, free: 8.75 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002739/0.2206, allocations: 360.4 kB / 0.7517 GB, free: 8.391 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001447/0.2208, allocations: 146.8 kB / 0.7518 GB, free: 8.246 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001834/0.2209, allocations: 106.2 kB / 0.7519 GB, free: 8.133 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.000206/0.2212, allocations: 358.8 kB / 0.7523 GB, free: 7.773 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004181/0.2216, allocations: 245.1 kB / 0.7525 GB, free: 7.535 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005788/0.2222, allocations: 403.4 kB / 0.7529 GB, free: 7.062 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001002/0.2232, allocations: 0.6779 MB / 0.7536 GB, free: 6.312 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.166e-06/0.2232, allocations: 0 / 0.7536 GB, free: 6.312 MB / 0.5762 GB Notification: Performance of matching and sorting (n=69) (initialization): time 0.001856/0.225, allocations: 0.9138 MB / 0.7545 GB, free: 5.383 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 2.899e-05/0.225, allocations: 9.875 kB / 0.7545 GB, free: 5.375 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.177e-05/0.2251, allocations: 4 kB / 0.7545 GB, free: 5.371 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008577/0.2259, allocations: 230.7 kB / 0.7547 GB, free: 5.137 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005672/0.2265, allocations: 111.8 kB / 0.7548 GB, free: 5.027 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.3562/0.5827, allocations: 5.003 MB / 0.7597 GB, free: 32.98 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006094/0.5833, allocations: 31.06 kB / 0.7597 GB, free: 32.98 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.452e-05/0.5833, allocations: 24 kB / 0.7597 GB, free: 32.98 MB / 0.5762 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 24 * 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 (58): * Single equations (assignments): 55 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 3 systems {(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.0003132/0.5836, allocations: 225.8 kB / 0.7599 GB, free: 32.87 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001001/0.5837, allocations: 59.69 kB / 0.76 GB, free: 32.87 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00146/0.5852, allocations: 0.7636 MB / 0.7608 GB, free: 32.8 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.218e-06/0.5852, allocations: 5.344 kB / 0.7608 GB, free: 32.8 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.392e-06/0.5852, allocations: 3.188 kB / 0.7608 GB, free: 32.8 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.921e-06/0.5852, allocations: 5.812 kB / 0.7608 GB, free: 32.8 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002507/0.5877, allocations: 1.397 MB / 0.7621 GB, free: 32.46 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.831e-06/0.5877, allocations: 0 / 0.7621 GB, free: 32.46 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003726/0.5881, allocations: 70.22 kB / 0.7622 GB, free: 32.46 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006544/0.5888, allocations: 209.1 kB / 0.7624 GB, free: 32.43 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.356e-05/0.5888, allocations: 9.188 kB / 0.7624 GB, free: 32.43 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00415/0.5929, allocations: 4.931 MB / 0.7672 GB, free: 28.81 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.475e-06/0.5929, allocations: 0.5469 kB / 0.7672 GB, free: 28.81 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001876/0.5948, allocations: 1.134 MB / 0.7683 GB, free: 28.58 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003284/0.5951, allocations: 96.14 kB / 0.7684 GB, free: 28.57 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.291e-05/0.5952, allocations: 12.16 kB / 0.7684 GB, free: 28.57 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000325/0.5955, allocations: 26.23 kB / 0.7685 GB, free: 28.57 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001012/0.5956, allocations: 41.86 kB / 0.7685 GB, free: 28.56 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.56e-05/0.5957, allocations: 11.58 kB / 0.7685 GB, free: 28.56 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0003135/0.596, allocations: 313.7 kB / 0.7688 GB, free: 28.47 MB / 0.5762 GB Notification: Performance of sort global known variables: time 7e-08/0.596, allocations: 0 / 0.7688 GB, free: 28.47 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0006467/0.5966, allocations: 171.7 kB / 0.769 GB, free: 28.47 MB / 0.5762 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * Number of states: 2 (RL_3.i_p[1],RL_3.i_p[2]) * 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 (30): * 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: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 3 systems {(2,2,100.0%), (2,4,100.0%), (2,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.001907/0.5985, allocations: 1.685 MB / 0.7706 GB, free: 27.68 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.001668/0.6002, allocations: 0.972 MB / 0.7716 GB, free: 27.31 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 4.659e-06/0.6002, allocations: 1.188 kB / 0.7716 GB, free: 27.31 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.0009169/0.6011, allocations: 0.669 MB / 0.7722 GB, free: 26.95 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009352/0.6021, allocations: 181.8 kB / 0.7724 GB, free: 26.95 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007719/0.6098, allocations: 5.614 MB / 0.7779 GB, free: 24.64 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000455/0.6102, allocations: 349.1 kB / 0.7782 GB, free: 24.53 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.0004274/0.6107, allocations: 119.6 kB / 0.7783 GB, free: 24.51 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002413/0.6109, allocations: 210.7 kB / 0.7785 GB, free: 24.35 MB / 0.5762 GB Notification: Performance of SimCode: time 1.182e-06/0.6109, allocations: 0 / 0.7785 GB, free: 24.35 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06113/0.672, allocations: 15.61 MB / 0.7938 GB, free: 20.06 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.03/12.7, allocations: 8.688 kB / 0.7938 GB, free: 20.05 MB / 0.5762 GB " [Timeout remaining time 647] (rm -f IBPSA_latest_IBPSA.Electrical.AC.OnePhase.Lines.Examples.ACLine_RL.pipe ; mkfifo IBPSA_latest_IBPSA.Electrical.AC.OnePhase.Lines.Examples.ACLine_RL.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Electrical.AC.OnePhase.Lines.Examples.ACLine_RL.pipe >> ../files/IBPSA_latest_IBPSA.Electrical.AC.OnePhase.Lines.Examples.ACLine_RL.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Electrical_AC_OnePhase_Lines_Examples_ACLine_RL_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_Electrical_AC_OnePhase_Lines_Examples_ACLine_RL.fmu > IBPSA_latest_IBPSA.Electrical.AC.OnePhase.Lines.Examples.ACLine_RL.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 16.541548437904567] Failed to read output from testmodel.py, exit status != 0: 12.825487510766834 12.846942469 12.64152926 Calling exit ...