Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Electrical.DC.Lines.Examples.Resistance.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.001391/0.001391, allocations: 119.2 kB / 19.7 MB, free: 2.188 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.001461/0.001461, allocations: 219.7 kB / 23 MB, free: 5.004 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.55/1.55, allocations: 230.6 MB / 256.8 MB, free: 8.008 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.002/1.002, allocations: 150 MB / 463.2 MB, free: 10.55 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.DC.Lines.Examples.Resistance,fileNamePrefix="IBPSA_latest_IBPSA_Electrical_DC_Lines_Examples_Resistance",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Electrical.DC.Lines.Examples.Resistance,fileNamePrefix="IBPSA_latest_IBPSA_Electrical_DC_Lines_Examples_Resistance",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.002961/0.002961, allocations: 69.77 kB / 0.6412 GB, free: 10.45 MB / 478.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2313/0.2342, allocations: 89.18 MB / 0.7283 GB, free: 1.336 MB / 0.545 GB Notification: Performance of NFInst.instantiate(IBPSA.Electrical.DC.Lines.Examples.Resistance): time 0.005016/0.2392, allocations: 3.17 MB / 0.7314 GB, free: 14.15 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.002339/0.2416, allocations: 1.418 MB / 0.7328 GB, free: 12.72 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001311/0.2417, allocations: 4 kB / 0.7328 GB, free: 12.72 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.001085/0.2428, allocations: 346.7 kB / 0.7332 GB, free: 12.38 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.0003494/0.2432, allocations: 151.3 kB / 0.7333 GB, free: 12.23 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003765/0.2435, allocations: 143.6 kB / 0.7334 GB, free: 12.09 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.0003849/0.2439, allocations: 306.9 kB / 0.7337 GB, free: 11.79 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003922/0.2443, allocations: 184.5 kB / 0.7339 GB, free: 11.61 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001646/0.2445, allocations: 127.6 kB / 0.734 GB, free: 11.48 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000315/0.2448, allocations: 147.5 kB / 0.7342 GB, free: 11.34 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 3.429e-05/0.2448, allocations: 16 kB / 0.7342 GB, free: 11.32 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003066/0.2451, allocations: 175.6 kB / 0.7343 GB, free: 11.15 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 9.673e-05/0.2452, allocations: 83.73 kB / 0.7344 GB, free: 11.07 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.0001276/0.2454, allocations: 115.5 kB / 0.7345 GB, free: 10.96 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.0004503/0.2458, allocations: 330.8 kB / 0.7349 GB, free: 10.63 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 7.384e-06/0.2458, allocations: 4 kB / 0.7349 GB, free: 10.63 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.553e-06/0.2458, allocations: 0 / 0.7349 GB, free: 10.63 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 6.172e-06/0.2458, allocations: 0 / 0.7349 GB, free: 10.63 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: 50 * Number of variables: 50 Notification: Performance of Generate backend data structure: time 0.0009072/0.2467, allocations: 457.4 kB / 0.7353 GB, free: 10.15 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 4.106e-05/0.2468, allocations: 12.03 kB / 0.7353 GB, free: 10.14 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.942e-05/0.2468, allocations: 54.73 kB / 0.7354 GB, free: 10.07 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005637/0.2474, allocations: 80.72 kB / 0.7354 GB, free: 9.996 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003312/0.2477, allocations: 190.2 kB / 0.7356 GB, free: 9.785 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.557e-05/0.2477, allocations: 16.69 kB / 0.7356 GB, free: 9.77 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.584e-05/0.2478, allocations: 16.38 kB / 0.7356 GB, free: 9.754 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004769/0.2483, allocations: 303.3 kB / 0.7359 GB, free: 9.438 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.231e-05/0.2483, allocations: 0 / 0.7359 GB, free: 9.438 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.491e-05/0.2483, allocations: 7.984 kB / 0.7359 GB, free: 9.43 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.15e-05/0.2483, allocations: 24.36 kB / 0.736 GB, free: 9.406 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003147/0.2486, allocations: 200.9 kB / 0.7362 GB, free: 9.211 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001586/0.2502, allocations: 1.418 MB / 0.7375 GB, free: 7.641 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002341/0.2505, allocations: 102.5 kB / 0.7376 GB, free: 7.531 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.836e-05/0.2505, allocations: 24.86 kB / 0.7377 GB, free: 7.504 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 1.026e-05/0.2505, allocations: 4 kB / 0.7377 GB, free: 7.5 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.283e-05/0.2506, allocations: 34.55 kB / 0.7377 GB, free: 7.457 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=7): time 1.102e-06/0.2506, allocations: 0 / 0.7377 GB, free: 7.457 MB / 0.5606 GB Notification: Performance of matching and sorting (n=7): time 0.0004852/0.2511, allocations: 158.5 kB / 0.7379 GB, free: 7.293 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.096e-05/0.2511, allocations: 51.41 kB / 0.7379 GB, free: 7.23 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002127/0.2513, allocations: 199.9 kB / 0.7381 GB, free: 7.027 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 2.023e-05/0.2513, allocations: 25.7 kB / 0.7381 GB, free: 6.996 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001185/0.2515, allocations: 171.9 kB / 0.7383 GB, free: 6.824 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 2.184e-05/0.2515, allocations: 23.84 kB / 0.7383 GB, free: 6.801 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.161e-05/0.2515, allocations: 37.58 kB / 0.7383 GB, free: 6.758 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001752/0.2517, allocations: 334.8 kB / 0.7387 GB, free: 6.422 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.96e-05/0.2518, allocations: 35.97 kB / 0.7387 GB, free: 6.387 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001161/0.2519, allocations: 100.5 kB / 0.7388 GB, free: 6.258 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001993/0.2521, allocations: 156.4 kB / 0.7389 GB, free: 6.074 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.184e-06/0.2521, allocations: 0 / 0.7389 GB, free: 6.074 MB / 0.5606 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0003194/0.2524, allocations: 186.2 kB / 0.7391 GB, free: 5.883 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 1.64e-05/0.2524, allocations: 4 kB / 0.7391 GB, free: 5.879 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.382e-06/0.2524, allocations: 4 kB / 0.7391 GB, free: 5.875 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000184/0.2526, allocations: 29.12 kB / 0.7391 GB, free: 5.844 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000113/0.2527, allocations: 31.92 kB / 0.7392 GB, free: 5.812 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001216/0.254, allocations: 1.318 MB / 0.7405 GB, free: 4.371 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001253/0.2541, allocations: 19.89 kB / 0.7405 GB, free: 4.352 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.066e-05/0.2541, allocations: 4 kB / 0.7405 GB, free: 4.348 MB / 0.5606 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 10 * 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 (17): * Single equations (assignments): 16 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0001615/0.2542, allocations: 164.3 kB / 0.7406 GB, free: 4.18 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.918e-05/0.2543, allocations: 16 kB / 0.7407 GB, free: 4.164 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.882e-05/0.2543, allocations: 21.41 kB / 0.7407 GB, free: 4.145 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.352e-06/0.2543, allocations: 0 / 0.7407 GB, free: 4.145 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.404e-06/0.2543, allocations: 0 / 0.7407 GB, free: 4.145 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.28e-06/0.2543, allocations: 7.984 kB / 0.7407 GB, free: 4.137 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005428/0.2549, allocations: 414.4 kB / 0.7411 GB, free: 3.68 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.674e-06/0.2549, allocations: 0 / 0.7411 GB, free: 3.68 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.065e-05/0.2549, allocations: 11.94 kB / 0.7411 GB, free: 3.668 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.948e-05/0.255, allocations: 28.83 kB / 0.7411 GB, free: 3.637 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.035e-06/0.255, allocations: 0 / 0.7411 GB, free: 3.637 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00108/0.2561, allocations: 1.311 MB / 0.7424 GB, free: 2.215 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.42e-07/0.2561, allocations: 0 / 0.7424 GB, free: 2.215 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002405/0.2563, allocations: 208.2 kB / 0.7426 GB, free: 1.992 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 5.439e-05/0.2564, allocations: 23.89 kB / 0.7426 GB, free: 1.969 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.681e-05/0.2564, allocations: 96 / 0.7426 GB, free: 1.969 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001076/0.2565, allocations: 16.03 kB / 0.7426 GB, free: 1.953 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.618e-05/0.2565, allocations: 7.922 kB / 0.7426 GB, free: 1.945 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.849e-06/0.2565, allocations: 4 kB / 0.7427 GB, free: 1.941 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.0001462/0.2567, allocations: 144.4 kB / 0.7428 GB, free: 1.801 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1e-07/0.2567, allocations: 0 / 0.7428 GB, free: 1.801 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0003317/0.257, allocations: 51.89 kB / 0.7428 GB, free: 1.75 MB / 0.5606 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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 (6): * Single equations (assignments): 5 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0005704/0.2576, allocations: 0.7449 MB / 0.7436 GB, free: 0.9727 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.0004113/0.258, allocations: 202.5 kB / 0.7438 GB, free: 0.7617 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 2.655e-06/0.258, allocations: 0.5625 kB / 0.7438 GB, free: 0.7617 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.0001697/0.2582, allocations: 150.6 kB / 0.7439 GB, free: 0.6016 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003503/0.2585, allocations: 35.3 kB / 0.7439 GB, free: 0.5703 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002628/0.2612, allocations: 2.058 MB / 0.7459 GB, free: 14.37 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004515/0.2616, allocations: 0.7437 MB / 0.7467 GB, free: 13.6 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 9.938e-05/0.2617, allocations: 33.47 kB / 0.7467 GB, free: 13.57 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.358e-05/0.2618, allocations: 47.42 kB / 0.7468 GB, free: 13.52 MB / 0.5762 GB Notification: Performance of SimCode: time 3.41e-07/0.2618, allocations: 0 / 0.7468 GB, free: 13.52 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03436/0.2962, allocations: 3.883 MB / 0.7505 GB, free: 9.805 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.37/11.66, allocations: 5.812 kB / 0.7505 GB, free: 9.801 MB / 0.5762 GB " [Timeout remaining time 648] (rm -f IBPSA_latest_IBPSA.Electrical.DC.Lines.Examples.Resistance.pipe ; mkfifo IBPSA_latest_IBPSA.Electrical.DC.Lines.Examples.Resistance.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Electrical.DC.Lines.Examples.Resistance.pipe >> ../files/IBPSA_latest_IBPSA.Electrical.DC.Lines.Examples.Resistance.sim & python3 -m fmpy simulate --output-file IBPSA_latest_IBPSA.Electrical.DC.Lines.Examples.Resistance_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 IBPSA_latest_IBPSA_Electrical_DC_Lines_Examples_Resistance.fmu > IBPSA_latest_IBPSA.Electrical.DC.Lines.Examples.Resistance.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 16.08686964500157] Failed to read output from testmodel.py, exit status != 0: 11.771149015999981 12.064423189 11.815843822 Calling exit ...