Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Electrical.DC.Loads.Examples.Resistor.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.001349/0.001349, allocations: 119 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.001495/0.001495, allocations: 224.9 kB / 23.01 MB, free: 5.047 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.443/1.443, allocations: 230.6 MB / 256.8 MB, free: 7.992 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.006/1.006, allocations: 150 MB / 463.2 MB, free: 10.47 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.Loads.Examples.Resistor,fileNamePrefix="IBPSA_latest_IBPSA_Electrical_DC_Loads_Examples_Resistor",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Electrical.DC.Loads.Examples.Resistor,fileNamePrefix="IBPSA_latest_IBPSA_Electrical_DC_Loads_Examples_Resistor",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.00304/0.00304, allocations: 65.84 kB / 0.6413 GB, free: 10.4 MB / 478.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2211/0.2241, allocations: 89.17 MB / 0.7283 GB, free: 1.297 MB / 0.545 GB Notification: Performance of NFInst.instantiate(IBPSA.Electrical.DC.Loads.Examples.Resistor): time 0.006183/0.2303, allocations: 3.979 MB / 0.7322 GB, free: 13.3 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.003227/0.2335, allocations: 1.831 MB / 0.734 GB, free: 11.46 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002555/0.2338, allocations: 11.94 kB / 0.734 GB, free: 11.45 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.001585/0.2354, allocations: 0.5136 MB / 0.7345 GB, free: 10.93 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.0006973/0.2361, allocations: 226.9 kB / 0.7347 GB, free: 10.71 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006353/0.2367, allocations: 211.5 kB / 0.7349 GB, free: 10.5 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.0006392/0.2374, allocations: 478.4 kB / 0.7354 GB, free: 10.03 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005483/0.2379, allocations: 297.3 kB / 0.7357 GB, free: 9.738 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000287/0.2382, allocations: 199.4 kB / 0.7359 GB, free: 9.543 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004322/0.2386, allocations: 227.2 kB / 0.7361 GB, free: 9.32 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 4.853e-05/0.2387, allocations: 31.94 kB / 0.7361 GB, free: 9.289 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004532/0.2391, allocations: 251.5 kB / 0.7364 GB, free: 9.043 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.00014/0.2393, allocations: 123.6 kB / 0.7365 GB, free: 8.922 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.0001886/0.2395, allocations: 179.1 kB / 0.7366 GB, free: 8.746 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.0006537/0.2401, allocations: 0.4981 MB / 0.7371 GB, free: 8.246 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 5.29e-06/0.2401, allocations: 0 / 0.7371 GB, free: 8.246 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.403e-06/0.2401, allocations: 0 / 0.7371 GB, free: 8.246 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 1.309e-05/0.2401, allocations: 3.938 kB / 0.7371 GB, free: 8.242 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: 78 * Number of variables: 78 Notification: Performance of Generate backend data structure: time 0.001174/0.2413, allocations: 0.5674 MB / 0.7377 GB, free: 7.645 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 4.991e-05/0.2414, allocations: 11.97 kB / 0.7377 GB, free: 7.633 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000105/0.2415, allocations: 66.72 kB / 0.7378 GB, free: 7.559 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009578/0.2424, allocations: 136.6 kB / 0.7379 GB, free: 7.426 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004511/0.2429, allocations: 241.9 kB / 0.7381 GB, free: 7.164 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.248e-05/0.2429, allocations: 25.02 kB / 0.7381 GB, free: 7.141 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.781e-05/0.2429, allocations: 24.38 kB / 0.7382 GB, free: 7.117 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007516/0.2437, allocations: 467.6 kB / 0.7386 GB, free: 6.621 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.827e-05/0.2437, allocations: 3.938 kB / 0.7386 GB, free: 6.617 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.852e-05/0.2438, allocations: 12 kB / 0.7386 GB, free: 6.605 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.295e-05/0.2438, allocations: 32.64 kB / 0.7387 GB, free: 6.574 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005403/0.2443, allocations: 322.3 kB / 0.739 GB, free: 6.258 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002506/0.2469, allocations: 2.143 MB / 0.7411 GB, free: 3.91 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003695/0.2472, allocations: 166.6 kB / 0.7412 GB, free: 3.738 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002446/0.2475, allocations: 100.8 kB / 0.7413 GB, free: 3.637 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 1.412e-05/0.2475, allocations: 0 / 0.7413 GB, free: 3.637 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.564e-05/0.2475, allocations: 30.56 kB / 0.7413 GB, free: 3.598 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=14): time 1.082e-06/0.2475, allocations: 8 kB / 0.7414 GB, free: 3.59 MB / 0.5606 GB Notification: Performance of matching and sorting (n=14): time 0.0005986/0.2481, allocations: 224.5 kB / 0.7416 GB, free: 3.363 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.217e-05/0.2481, allocations: 55.41 kB / 0.7416 GB, free: 3.297 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003096/0.2485, allocations: 265.9 kB / 0.7419 GB, free: 3.035 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 2.078e-05/0.2485, allocations: 25.7 kB / 0.7419 GB, free: 3.004 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001564/0.2486, allocations: 208.2 kB / 0.7421 GB, free: 2.793 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 4.514e-05/0.2487, allocations: 51.59 kB / 0.7421 GB, free: 2.742 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.998e-05/0.2488, allocations: 53.89 kB / 0.7422 GB, free: 2.68 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001572/0.2489, allocations: 342.7 kB / 0.7425 GB, free: 2.336 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001037/0.249, allocations: 56.44 kB / 0.7426 GB, free: 2.281 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001777/0.2492, allocations: 153.2 kB / 0.7427 GB, free: 2.094 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002966/0.2495, allocations: 217.9 kB / 0.7429 GB, free: 1.844 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.507e-06/0.2495, allocations: 4 kB / 0.7429 GB, free: 1.84 MB / 0.5606 GB Notification: Performance of matching and sorting (n=28) (initialization): time 0.0004932/0.25, allocations: 262 kB / 0.7432 GB, free: 1.574 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 2.628e-05/0.25, allocations: 8 kB / 0.7432 GB, free: 1.566 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.846e-06/0.25, allocations: 0 / 0.7432 GB, free: 1.566 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002216/0.2502, allocations: 29.2 kB / 0.7432 GB, free: 1.535 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002075/0.2505, allocations: 51.92 kB / 0.7433 GB, free: 1.484 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001346/0.2518, allocations: 1.322 MB / 0.7446 GB, free: 52 kB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001766/0.252, allocations: 27.78 kB / 0.7446 GB, free: 24 kB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.797e-05/0.252, allocations: 12 kB / 0.7446 GB, free: 12 kB / 0.5606 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 13 * 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 (27): * Single equations (assignments): 26 * 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.000216/0.2522, allocations: 172.4 kB / 0.7448 GB, free: 15.84 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.257e-05/0.2523, allocations: 27.8 kB / 0.7448 GB, free: 15.81 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.928e-05/0.2523, allocations: 29.77 kB / 0.7448 GB, free: 15.78 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.884e-06/0.2523, allocations: 4.062 kB / 0.7448 GB, free: 15.77 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.817e-06/0.2524, allocations: 0 / 0.7448 GB, free: 15.77 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.547e-06/0.2524, allocations: 4 kB / 0.7448 GB, free: 15.77 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009867/0.2533, allocations: 0.6743 MB / 0.7455 GB, free: 15.01 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.999e-06/0.2533, allocations: 4 kB / 0.7455 GB, free: 15.01 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.873e-05/0.2534, allocations: 20 kB / 0.7455 GB, free: 14.99 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.057e-05/0.2535, allocations: 28.72 kB / 0.7455 GB, free: 14.96 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.471e-05/0.2535, allocations: 8 kB / 0.7455 GB, free: 14.95 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001094/0.2546, allocations: 1.319 MB / 0.7468 GB, free: 13.52 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.907e-06/0.2546, allocations: 4.031 kB / 0.7468 GB, free: 13.52 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003906/0.255, allocations: 313.4 kB / 0.7471 GB, free: 13.17 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 8.595e-05/0.2551, allocations: 35.78 kB / 0.7472 GB, free: 13.14 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.11e-05/0.2551, allocations: 8 kB / 0.7472 GB, free: 13.13 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000162/0.2553, allocations: 11.98 kB / 0.7472 GB, free: 13.12 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.942e-05/0.2553, allocations: 15.92 kB / 0.7472 GB, free: 13.1 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.031e-05/0.2554, allocations: 8 kB / 0.7472 GB, free: 13.09 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0001964/0.2556, allocations: 189.2 kB / 0.7474 GB, free: 12.91 MB / 0.5762 GB Notification: Performance of sort global known variables: time 8.1e-08/0.2556, allocations: 0 / 0.7474 GB, free: 12.91 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0004266/0.256, allocations: 83.78 kB / 0.7475 GB, free: 12.83 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 (14): * Single equations (assignments): 13 * 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.0007158/0.2567, allocations: 0.8537 MB / 0.7483 GB, free: 11.93 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.000497/0.2572, allocations: 259.1 kB / 0.7486 GB, free: 11.66 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 2.946e-06/0.2572, allocations: 128 / 0.7486 GB, free: 11.66 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.0002381/0.2574, allocations: 186.5 kB / 0.7487 GB, free: 11.46 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004867/0.2579, allocations: 64.66 kB / 0.7488 GB, free: 11.4 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003392/0.2613, allocations: 2.721 MB / 0.7515 GB, free: 8.48 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004665/0.2618, allocations: 0.787 MB / 0.7522 GB, free: 7.668 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.0001582/0.2619, allocations: 42.27 kB / 0.7523 GB, free: 7.629 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001273/0.2621, allocations: 83.41 kB / 0.7523 GB, free: 7.547 MB / 0.5762 GB Notification: Performance of SimCode: time 7.91e-07/0.2621, allocations: 4 kB / 0.7523 GB, free: 7.543 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03669/0.2988, allocations: 5.612 MB / 0.7578 GB, free: 2.113 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.55/11.85, allocations: 2.234 kB / 0.7578 GB, free: 2.113 MB / 0.5762 GB " [Timeout remaining time 648] (rm -f IBPSA_latest_IBPSA.Electrical.DC.Loads.Examples.Resistor.pipe ; mkfifo IBPSA_latest_IBPSA.Electrical.DC.Loads.Examples.Resistor.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Electrical.DC.Loads.Examples.Resistor.pipe >> ../files/IBPSA_latest_IBPSA.Electrical.DC.Loads.Examples.Resistor.sim & python3 -m fmpy simulate --output-file IBPSA_latest_IBPSA.Electrical.DC.Loads.Examples.Resistor_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_Loads_Examples_Resistor.fmu > IBPSA_latest_IBPSA.Electrical.DC.Loads.Examples.Resistor.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 16.07898911599841] Failed to read output from testmodel.py, exit status != 0: 11.988363223001215 12.301624076 12.058012557 Calling exit ...