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.001288/0.001288, allocations: 97.91 kB / 20.48 MB, free: 1.363 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.0014/0.0014, allocations: 215.4 kB / 23.78 MB, free: 4.523 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.682/1.682, allocations: 230.6 MB / 257.5 MB, free: 7.805 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.056/1.056, allocations: 150 MB / 464 MB, free: 10.24 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.OnePhase.Lines.Examples.ACLine_RL,fileNamePrefix="IBPSA_latest_IBPSA_Electrical_AC_OnePhase_Lines_Examples_ACLine_RL",fmuType="cs",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="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.002017/0.002017, allocations: 61.78 kB / 0.642 GB, free: 9.91 MB / 478.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2024/0.2045, allocations: 89.19 MB / 0.7291 GB, free: 0.8008 MB / 0.545 GB Notification: Performance of NFInst.instantiate(IBPSA.Electrical.AC.OnePhase.Lines.Examples.ACLine_RL): time 0.008578/0.213, allocations: 5.247 MB / 0.7342 GB, free: 11.53 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.005683/0.2187, allocations: 2.607 MB / 0.7367 GB, free: 8.91 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005805/0.2193, allocations: 27.75 kB / 0.7367 GB, free: 8.883 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.002158/0.2215, allocations: 0.6798 MB / 0.7374 GB, free: 8.203 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.001156/0.2226, allocations: 425.8 kB / 0.7378 GB, free: 7.785 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.001168/0.2238, allocations: 403 kB / 0.7382 GB, free: 7.391 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.001663/0.2254, allocations: 0.9516 MB / 0.7391 GB, free: 6.438 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007364/0.2262, allocations: 378.4 kB / 0.7395 GB, free: 6.062 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006173/0.2268, allocations: 394.6 kB / 0.7399 GB, free: 5.676 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006293/0.2274, allocations: 426.4 kB / 0.7403 GB, free: 5.258 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 8.505e-05/0.2275, allocations: 48 kB / 0.7403 GB, free: 5.211 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000771/0.2283, allocations: 339.2 kB / 0.7406 GB, free: 4.879 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.0002867/0.2286, allocations: 247.2 kB / 0.7409 GB, free: 4.637 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.0003644/0.2289, allocations: 282.7 kB / 0.7412 GB, free: 4.359 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.001431/0.2304, allocations: 0.9883 MB / 0.7421 GB, free: 3.367 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 4.298e-06/0.2304, allocations: 4 kB / 0.7421 GB, free: 3.363 MB / 0.5606 GB Notification: Performance of FrontEnd: time 2.244e-06/0.2304, allocations: 0 / 0.7421 GB, free: 3.363 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 1.116e-05/0.2304, allocations: 0 / 0.7421 GB, free: 3.363 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.001779/0.2322, allocations: 0.917 MB / 0.743 GB, free: 2.414 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 5.939e-05/0.2322, allocations: 8.031 kB / 0.743 GB, free: 2.406 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.921e-05/0.2323, allocations: 17.19 kB / 0.743 GB, free: 2.391 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001223/0.2324, allocations: 106.6 kB / 0.7431 GB, free: 2.277 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001412/0.2338, allocations: 200.3 kB / 0.7433 GB, free: 2.082 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009173/0.2347, allocations: 455.6 kB / 0.7438 GB, free: 1.609 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.166e-05/0.2347, allocations: 41.36 kB / 0.7438 GB, free: 1.57 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001824/0.2349, allocations: 52.3 kB / 0.7439 GB, free: 1.52 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001398/0.2363, allocations: 0.9784 MB / 0.7448 GB, free: 424 kB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.752e-05/0.2364, allocations: 7.953 kB / 0.7448 GB, free: 416 kB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.402e-05/0.2364, allocations: 23.98 kB / 0.7448 GB, free: 392 kB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002028/0.2366, allocations: 72.88 kB / 0.7449 GB, free: 320 kB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009402/0.2376, allocations: 0.5658 MB / 0.7455 GB, free: 15.75 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004694/0.2423, allocations: 3.573 MB / 0.749 GB, free: 12.04 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005724/0.2428, allocations: 275.3 kB / 0.7492 GB, free: 11.76 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003373/0.2432, allocations: 213.2 kB / 0.7494 GB, free: 11.55 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 3.151e-05/0.2432, allocations: 4.281 kB / 0.7494 GB, free: 11.54 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.506e-05/0.2432, allocations: 38.84 kB / 0.7495 GB, free: 11.5 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=33): time 2.384e-06/0.2432, allocations: 0 / 0.7495 GB, free: 11.5 MB / 0.5762 GB Notification: Performance of matching and sorting (n=40): time 0.006028/0.2493, allocations: 2.338 MB / 0.7517 GB, free: 9.105 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.772e-05/0.2493, allocations: 59.34 kB / 0.7518 GB, free: 9.035 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005592/0.2499, allocations: 458 kB / 0.7522 GB, free: 8.578 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 3.956e-05/0.2499, allocations: 29.7 kB / 0.7523 GB, free: 8.543 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002785/0.2502, allocations: 344.5 kB / 0.7526 GB, free: 8.199 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001292/0.2503, allocations: 150.7 kB / 0.7527 GB, free: 8.051 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001923/0.2505, allocations: 106.2 kB / 0.7528 GB, free: 7.938 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001968/0.2507, allocations: 366.8 kB / 0.7532 GB, free: 7.57 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003807/0.2511, allocations: 237.2 kB / 0.7534 GB, free: 7.34 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005295/0.2516, allocations: 411.3 kB / 0.7538 GB, free: 6.859 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009821/0.2526, allocations: 0.6779 MB / 0.7545 GB, free: 6.109 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.705e-06/0.2526, allocations: 0 / 0.7545 GB, free: 6.109 MB / 0.5762 GB Notification: Performance of matching and sorting (n=69) (initialization): time 0.001829/0.2544, allocations: 0.9136 MB / 0.7554 GB, free: 5.18 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 2.121e-05/0.2545, allocations: 8 kB / 0.7554 GB, free: 5.172 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.355e-05/0.2545, allocations: 8 kB / 0.7554 GB, free: 5.164 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008286/0.2553, allocations: 222.9 kB / 0.7556 GB, free: 4.938 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005281/0.2558, allocations: 115.8 kB / 0.7557 GB, free: 4.824 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.395/0.6508, allocations: 4.992 MB / 0.7606 GB, free: 32.84 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005839/0.6514, allocations: 32.56 kB / 0.7606 GB, free: 32.84 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.802e-05/0.6514, allocations: 24.45 kB / 0.7606 GB, free: 32.84 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.0003344/0.6518, allocations: 228.5 kB / 0.7608 GB, free: 32.73 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001141/0.6519, allocations: 62.94 kB / 0.7609 GB, free: 32.73 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001425/0.6533, allocations: 0.7651 MB / 0.7617 GB, free: 32.66 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.231e-06/0.6533, allocations: 5.578 kB / 0.7617 GB, free: 32.66 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.36e-06/0.6533, allocations: 5.094 kB / 0.7617 GB, free: 32.66 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.711e-06/0.6533, allocations: 3.234 kB / 0.7617 GB, free: 32.66 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002131/0.6555, allocations: 1.397 MB / 0.763 GB, free: 32.31 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.069e-06/0.6555, allocations: 3.094 kB / 0.763 GB, free: 32.31 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003852/0.6559, allocations: 71.73 kB / 0.7631 GB, free: 32.31 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006531/0.6565, allocations: 202 kB / 0.7633 GB, free: 32.29 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.233e-05/0.6565, allocations: 18.72 kB / 0.7633 GB, free: 32.29 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003832/0.6604, allocations: 4.93 MB / 0.7681 GB, free: 28.66 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.747e-06/0.6604, allocations: 5.344 kB / 0.7681 GB, free: 28.66 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001786/0.6622, allocations: 1.122 MB / 0.7692 GB, free: 28.43 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002323/0.6624, allocations: 101.6 kB / 0.7693 GB, free: 28.41 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.955e-05/0.6625, allocations: 10.67 kB / 0.7693 GB, free: 28.41 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003252/0.6628, allocations: 24.95 kB / 0.7694 GB, free: 28.41 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001012/0.6629, allocations: 37.48 kB / 0.7694 GB, free: 28.41 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.026e-05/0.6629, allocations: 14.59 kB / 0.7694 GB, free: 28.41 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0003903/0.6633, allocations: 308 kB / 0.7697 GB, free: 28.32 MB / 0.5762 GB Notification: Performance of sort global known variables: time 6e-08/0.6633, allocations: 5.859 kB / 0.7697 GB, free: 28.32 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0007433/0.6641, allocations: 166.2 kB / 0.7699 GB, free: 28.32 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.001816/0.6659, allocations: 1.691 MB / 0.7715 GB, free: 27.52 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.001732/0.6676, allocations: 0.9722 MB / 0.7725 GB, free: 27.14 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 6.883e-06/0.6676, allocations: 1.812 kB / 0.7725 GB, free: 27.14 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.001091/0.6687, allocations: 0.6728 MB / 0.7731 GB, free: 26.78 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009888/0.6697, allocations: 184.9 kB / 0.7733 GB, free: 26.78 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009143/0.6788, allocations: 5.618 MB / 0.7788 GB, free: 24.41 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004924/0.6793, allocations: 348.8 kB / 0.7791 GB, free: 24.29 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.0005285/0.6799, allocations: 116.3 kB / 0.7792 GB, free: 24.28 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000294/0.6801, allocations: 209.9 kB / 0.7794 GB, free: 24.12 MB / 0.5762 GB Notification: Performance of SimCode: time 1.162e-06/0.6801, allocations: 4 kB / 0.7794 GB, free: 24.11 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06614/0.7463, allocations: 15.41 MB / 0.7945 GB, free: 20.16 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.08/13.83, allocations: 14.47 kB / 0.7945 GB, free: 20.16 MB / 0.5762 GB " [Timeout remaining time 646] (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: 18.074257619096898] Failed to read output from testmodel.py, exit status != 0: 14.005988645018078 14.023460671 13.789291895 Calling exit ...