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.001669/0.001669, 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.001821/0.001821, allocations: 211.6 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.558/1.558, allocations: 230.6 MB / 256.8 MB, free: 7.809 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.021/1.021, allocations: 149.9 MB / 463 MB, free: 10.38 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.00232/0.00232, allocations: 75.55 kB / 0.6411 GB, free: 10.16 MB / 478.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1791/0.1814, allocations: 89.17 MB / 0.7281 GB, free: 1.055 MB / 0.545 GB Notification: Performance of NFInst.instantiate(IBPSA.Electrical.DC.Loads.Examples.Resistor): time 0.006631/0.188, allocations: 3.764 MB / 0.7318 GB, free: 13.27 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.003249/0.1913, allocations: 1.699 MB / 0.7335 GB, free: 11.57 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002886/0.1916, allocations: 11.94 kB / 0.7335 GB, free: 11.55 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.001645/0.1932, allocations: 498.1 kB / 0.734 GB, free: 11.07 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.0006835/0.1939, allocations: 226.9 kB / 0.7342 GB, free: 10.84 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006338/0.1945, allocations: 219.5 kB / 0.7344 GB, free: 10.63 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.0007239/0.1952, allocations: 470.4 kB / 0.7348 GB, free: 10.17 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006117/0.1959, allocations: 293.4 kB / 0.7351 GB, free: 9.879 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003549/0.1962, allocations: 199.4 kB / 0.7353 GB, free: 9.684 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005135/0.1967, allocations: 223.1 kB / 0.7355 GB, free: 9.465 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 6.413e-05/0.1968, allocations: 28 kB / 0.7356 GB, free: 9.438 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004741/0.1973, allocations: 211.5 kB / 0.7358 GB, free: 9.23 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.0001737/0.1974, allocations: 139.5 kB / 0.7359 GB, free: 9.094 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.0001829/0.1976, allocations: 143.4 kB / 0.736 GB, free: 8.953 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.0007969/0.1984, allocations: 0.5098 MB / 0.7365 GB, free: 8.441 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 4.789e-06/0.1984, allocations: 0 / 0.7365 GB, free: 8.441 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.633e-06/0.1984, allocations: 0 / 0.7365 GB, free: 8.441 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 1.13e-05/0.1984, allocations: 0 / 0.7365 GB, free: 8.441 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.001184/0.1996, allocations: 0.5635 MB / 0.7371 GB, free: 7.848 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 4.518e-05/0.1997, allocations: 12.03 kB / 0.7371 GB, free: 7.836 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.21e-05/0.1998, allocations: 66.72 kB / 0.7371 GB, free: 7.762 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009061/0.2007, allocations: 140.6 kB / 0.7373 GB, free: 7.625 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004589/0.2011, allocations: 233.9 kB / 0.7375 GB, free: 7.371 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.837e-05/0.2011, allocations: 21.03 kB / 0.7375 GB, free: 7.352 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.981e-05/0.2012, allocations: 32.36 kB / 0.7376 GB, free: 7.32 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008455/0.202, allocations: 0.5783 MB / 0.7381 GB, free: 6.672 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.485e-05/0.2021, allocations: 3.938 kB / 0.7381 GB, free: 6.668 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.069e-05/0.2021, allocations: 19.97 kB / 0.7381 GB, free: 6.648 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.337e-05/0.2022, allocations: 32.64 kB / 0.7382 GB, free: 6.617 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005448/0.2027, allocations: 314.3 kB / 0.7385 GB, free: 6.309 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002182/0.2049, allocations: 1.579 MB / 0.74 GB, free: 4.648 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003663/0.2053, allocations: 158.7 kB / 0.7402 GB, free: 4.484 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002333/0.2055, allocations: 92.81 kB / 0.7403 GB, free: 4.391 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 1.486e-05/0.2055, allocations: 0 / 0.7403 GB, free: 4.391 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.245e-05/0.2055, allocations: 42.55 kB / 0.7403 GB, free: 4.34 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=14): time 1.303e-06/0.2055, allocations: 4 kB / 0.7403 GB, free: 4.336 MB / 0.5606 GB Notification: Performance of matching and sorting (n=14): time 0.0006001/0.2061, allocations: 229.6 kB / 0.7405 GB, free: 4.105 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.375e-05/0.2062, allocations: 51.41 kB / 0.7406 GB, free: 4.043 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003085/0.2065, allocations: 269.8 kB / 0.7408 GB, free: 3.777 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 3.059e-05/0.2065, allocations: 33.7 kB / 0.7409 GB, free: 3.738 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001682/0.2067, allocations: 212.2 kB / 0.7411 GB, free: 3.523 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 5.066e-05/0.2067, allocations: 55.53 kB / 0.7411 GB, free: 3.469 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.862e-05/0.2068, allocations: 45.94 kB / 0.7412 GB, free: 3.414 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001773/0.207, allocations: 342.8 kB / 0.7415 GB, free: 3.07 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001063/0.2071, allocations: 56.38 kB / 0.7415 GB, free: 3.016 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000179/0.2073, allocations: 152.9 kB / 0.7417 GB, free: 2.828 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002864/0.2076, allocations: 217 kB / 0.7419 GB, free: 2.578 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.136e-06/0.2076, allocations: 0 / 0.7419 GB, free: 2.578 MB / 0.5606 GB Notification: Performance of matching and sorting (n=28) (initialization): time 0.0004355/0.208, allocations: 258.4 kB / 0.7421 GB, free: 2.316 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 2.114e-05/0.208, allocations: 16.11 kB / 0.7422 GB, free: 2.301 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.045e-05/0.208, allocations: 7.938 kB / 0.7422 GB, free: 2.293 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001733/0.2082, allocations: 24.84 kB / 0.7422 GB, free: 2.266 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001864/0.2084, allocations: 47.92 kB / 0.7422 GB, free: 2.219 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001231/0.2096, allocations: 1.314 MB / 0.7435 GB, free: 0.793 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001907/0.2098, allocations: 39.88 kB / 0.7436 GB, free: 0.7539 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.934e-05/0.2098, allocations: 12 kB / 0.7436 GB, free: 0.7422 MB / 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.0001891/0.21, allocations: 161.7 kB / 0.7437 GB, free: 0.5742 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.103e-05/0.2101, allocations: 27.84 kB / 0.7437 GB, free: 0.5469 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.501e-05/0.2101, allocations: 25.78 kB / 0.7438 GB, free: 0.5195 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.693e-06/0.2101, allocations: 0 / 0.7438 GB, free: 0.5195 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.615e-06/0.2101, allocations: 3.938 kB / 0.7438 GB, free: 0.5156 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5e-06/0.2101, allocations: 7.984 kB / 0.7438 GB, free: 0.5078 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009881/0.2111, allocations: 0.6046 MB / 0.7444 GB, free: 15.83 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.424e-06/0.2111, allocations: 0 / 0.7444 GB, free: 15.83 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.198e-05/0.2112, allocations: 27.92 kB / 0.7444 GB, free: 15.8 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.131e-05/0.2113, allocations: 28.78 kB / 0.7444 GB, free: 15.77 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.408e-05/0.2113, allocations: 4 kB / 0.7444 GB, free: 15.77 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001143/0.2125, allocations: 1.304 MB / 0.7457 GB, free: 14.36 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.168e-06/0.2125, allocations: 4.031 kB / 0.7457 GB, free: 14.35 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004039/0.2129, allocations: 327.5 kB / 0.746 GB, free: 14 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001093/0.213, allocations: 39.84 kB / 0.7461 GB, free: 13.96 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.69e-05/0.213, allocations: 0 / 0.7461 GB, free: 13.96 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001702/0.2132, allocations: 15.98 kB / 0.7461 GB, free: 13.94 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.437e-05/0.2132, allocations: 20.08 kB / 0.7461 GB, free: 13.92 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.463e-05/0.2133, allocations: 8 kB / 0.7461 GB, free: 13.91 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0002298/0.2135, allocations: 189.2 kB / 0.7463 GB, free: 13.73 MB / 0.5762 GB Notification: Performance of sort global known variables: time 1e-07/0.2135, allocations: 3.938 kB / 0.7463 GB, free: 13.73 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0004301/0.2139, allocations: 75.83 kB / 0.7464 GB, free: 13.65 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.0008306/0.2147, allocations: 0.8517 MB / 0.7472 GB, free: 12.75 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.0005218/0.2153, allocations: 266.5 kB / 0.7474 GB, free: 12.48 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 8.967e-06/0.2153, allocations: 3.938 kB / 0.7474 GB, free: 12.47 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.0002382/0.2155, allocations: 178.5 kB / 0.7476 GB, free: 12.29 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004905/0.216, allocations: 73.5 kB / 0.7477 GB, free: 12.21 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003579/0.2196, allocations: 2.707 MB / 0.7503 GB, free: 9.312 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002189/0.2198, allocations: 186.1 kB / 0.7505 GB, free: 9.113 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.0001529/0.22, allocations: 38.27 kB / 0.7505 GB, free: 9.078 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001442/0.2201, allocations: 83.41 kB / 0.7506 GB, free: 8.996 MB / 0.5762 GB Notification: Performance of SimCode: time 3.91e-07/0.2201, allocations: 0 / 0.7506 GB, free: 8.996 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03957/0.2597, allocations: 6.125 MB / 0.7566 GB, free: 3.082 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.61/11.87, allocations: 7.828 kB / 0.7566 GB, free: 3.078 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.31668308423832] Failed to read output from testmodel.py, exit status != 0: 11.983709993306547 12.334600175 12.132592993 Calling exit ...