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.001698/0.001698, allocations: 109.7 kB / 17.12 MB, free: 5.926 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.002199/0.002199, allocations: 204 kB / 20.09 MB, free: 2.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.552/1.552, allocations: 230.6 MB / 253.5 MB, free: 15.09 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.037/1.037, allocations: 150 MB / 459.5 MB, free: 5.285 MB / 350.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.002026/0.002026, allocations: 73.2 kB / 0.6361 GB, free: 30.42 MB / 0.4981 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1731/0.1751, allocations: 89.13 MB / 0.7231 GB, free: 4.043 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(IBPSA.Electrical.DC.Loads.Examples.Resistor): time 0.0061/0.1812, allocations: 3.884 MB / 0.7269 GB, free: 140 kB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.003059/0.1843, allocations: 1.81 MB / 0.7287 GB, free: 14.32 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002046/0.1845, allocations: 11.94 kB / 0.7287 GB, free: 14.31 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.001504/0.186, allocations: 0.4929 MB / 0.7292 GB, free: 13.82 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.0005863/0.1866, allocations: 230.9 kB / 0.7294 GB, free: 13.59 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.000554/0.1871, allocations: 203.5 kB / 0.7296 GB, free: 13.39 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.0006673/0.1878, allocations: 474.4 kB / 0.7301 GB, free: 12.93 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005555/0.1883, allocations: 305.2 kB / 0.7303 GB, free: 12.62 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002452/0.1886, allocations: 199.3 kB / 0.7305 GB, free: 12.43 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004039/0.189, allocations: 219.2 kB / 0.7307 GB, free: 12.21 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 4.838e-05/0.189, allocations: 28 kB / 0.7308 GB, free: 12.18 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004234/0.1895, allocations: 259.3 kB / 0.731 GB, free: 11.93 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 0.0001472/0.1896, allocations: 131.6 kB / 0.7311 GB, free: 11.8 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 0.000177/0.1898, allocations: 163.2 kB / 0.7313 GB, free: 11.64 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.0006876/0.1905, allocations: 0.5098 MB / 0.7318 GB, free: 11.13 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 6.262e-06/0.1905, allocations: 4 kB / 0.7318 GB, free: 11.12 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.723e-06/0.1905, allocations: 4 kB / 0.7318 GB, free: 11.12 MB / 0.545 GB Notification: Performance of Transformations before backend: time 6.893e-06/0.1905, allocations: 0 / 0.7318 GB, free: 11.12 MB / 0.545 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.001121/0.1916, allocations: 0.6388 MB / 0.7324 GB, free: 10.43 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 4.103e-05/0.1917, allocations: 8.031 kB / 0.7324 GB, free: 10.42 MB / 0.545 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001047/0.1918, allocations: 66.72 kB / 0.7325 GB, free: 10.35 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009266/0.1927, allocations: 140.6 kB / 0.7326 GB, free: 10.21 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004036/0.1931, allocations: 295.8 kB / 0.7329 GB, free: 9.883 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.63e-05/0.1931, allocations: 21.03 kB / 0.7329 GB, free: 9.863 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.524e-05/0.1932, allocations: 28.36 kB / 0.733 GB, free: 9.836 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006872/0.1938, allocations: 463.8 kB / 0.7334 GB, free: 9.348 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.189e-05/0.1939, allocations: 0 / 0.7334 GB, free: 9.348 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.717e-05/0.1939, allocations: 15.98 kB / 0.7334 GB, free: 9.332 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.931e-05/0.1939, allocations: 32.47 kB / 0.7335 GB, free: 9.301 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005026/0.1944, allocations: 329.9 kB / 0.7338 GB, free: 8.98 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00248/0.1969, allocations: 2.185 MB / 0.7359 GB, free: 6.582 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003973/0.1973, allocations: 239.8 kB / 0.7361 GB, free: 6.32 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002281/0.1976, allocations: 96.8 kB / 0.7362 GB, free: 6.223 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 1.384e-05/0.1976, allocations: 4 kB / 0.7362 GB, free: 6.219 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.109e-05/0.1976, allocations: 38.55 kB / 0.7363 GB, free: 6.172 MB / 0.545 GB Notification: Performance of pre-optimization done (n=14): time 1.543e-06/0.1976, allocations: 0 / 0.7363 GB, free: 6.172 MB / 0.545 GB Notification: Performance of matching and sorting (n=14): time 0.0006335/0.1982, allocations: 298.1 kB / 0.7365 GB, free: 5.855 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.272e-05/0.1983, allocations: 55.41 kB / 0.7366 GB, free: 5.789 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003004/0.1986, allocations: 270.6 kB / 0.7369 GB, free: 5.516 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 2.127e-05/0.1986, allocations: 29.7 kB / 0.7369 GB, free: 5.48 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001467/0.1987, allocations: 208.3 kB / 0.7371 GB, free: 5.273 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 4.556e-05/0.1988, allocations: 51.53 kB / 0.7371 GB, free: 5.223 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.168e-05/0.1989, allocations: 53.89 kB / 0.7372 GB, free: 5.16 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001573/0.199, allocations: 334.8 kB / 0.7375 GB, free: 4.824 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001057/0.1991, allocations: 60.44 kB / 0.7376 GB, free: 4.766 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001656/0.1993, allocations: 136.1 kB / 0.7377 GB, free: 4.594 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003049/0.1996, allocations: 228.6 kB / 0.7379 GB, free: 4.332 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.435e-06/0.1996, allocations: 0 / 0.7379 GB, free: 4.332 MB / 0.545 GB Notification: Performance of matching and sorting (n=28) (initialization): time 0.0004429/0.2001, allocations: 272.1 kB / 0.7382 GB, free: 4.059 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 2.052e-05/0.2001, allocations: 9.562 kB / 0.7382 GB, free: 4.051 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.795e-06/0.2001, allocations: 4.375 kB / 0.7382 GB, free: 4.047 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001887/0.2003, allocations: 24.84 kB / 0.7382 GB, free: 4.02 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002033/0.2005, allocations: 51.92 kB / 0.7383 GB, free: 3.969 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00129/0.2018, allocations: 1.422 MB / 0.7396 GB, free: 2.41 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001697/0.2019, allocations: 27.78 kB / 0.7397 GB, free: 2.383 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.589e-05/0.202, allocations: 8 kB / 0.7397 GB, free: 2.375 MB / 0.545 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.0001829/0.2021, allocations: 177.7 kB / 0.7399 GB, free: 2.191 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.288e-05/0.2022, allocations: 23.86 kB / 0.7399 GB, free: 2.168 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.286e-05/0.2022, allocations: 33.77 kB / 0.7399 GB, free: 2.137 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.523e-06/0.2022, allocations: 96 / 0.7399 GB, free: 2.137 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.779e-06/0.2022, allocations: 7.938 kB / 0.7399 GB, free: 2.129 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.905e-06/0.2023, allocations: 0 / 0.7399 GB, free: 2.129 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009884/0.2032, allocations: 0.7025 MB / 0.7406 GB, free: 1.336 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.318e-06/0.2032, allocations: 4 kB / 0.7406 GB, free: 1.332 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.504e-05/0.2033, allocations: 19.98 kB / 0.7406 GB, free: 1.312 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001062/0.2034, allocations: 28.78 kB / 0.7406 GB, free: 1.281 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.463e-05/0.2035, allocations: 8 kB / 0.7407 GB, free: 1.273 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001209/0.2047, allocations: 1.419 MB / 0.742 GB, free: 15.71 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.048e-06/0.2047, allocations: 3.938 kB / 0.742 GB, free: 15.71 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000357/0.205, allocations: 317.2 kB / 0.7423 GB, free: 15.36 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001114/0.2051, allocations: 120.9 kB / 0.7425 GB, free: 15.23 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.49e-05/0.2052, allocations: 0 / 0.7425 GB, free: 15.23 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001625/0.2053, allocations: 15.98 kB / 0.7425 GB, free: 15.21 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.551e-05/0.2054, allocations: 15.92 kB / 0.7425 GB, free: 15.2 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.315e-05/0.2054, allocations: 8 kB / 0.7425 GB, free: 15.19 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.0001959/0.2056, allocations: 194 kB / 0.7427 GB, free: 15 MB / 0.5606 GB Notification: Performance of sort global known variables: time 8e-08/0.2056, allocations: 0 / 0.7427 GB, free: 15 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0004074/0.206, allocations: 75.84 kB / 0.7428 GB, free: 14.93 MB / 0.5606 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.0007072/0.2067, allocations: 0.8489 MB / 0.7436 GB, free: 14.03 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.0005071/0.2072, allocations: 266.8 kB / 0.7438 GB, free: 13.75 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 2.715e-06/0.2072, allocations: 0 / 0.7438 GB, free: 13.75 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.000247/0.2074, allocations: 174.6 kB / 0.744 GB, free: 13.57 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004914/0.2079, allocations: 67.14 kB / 0.7441 GB, free: 13.5 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003495/0.2114, allocations: 2.717 MB / 0.7467 GB, free: 10.6 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004482/0.2119, allocations: 0.7948 MB / 0.7475 GB, free: 9.777 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.0001478/0.212, allocations: 50.25 kB / 0.7476 GB, free: 9.73 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000124/0.2121, allocations: 83.41 kB / 0.7476 GB, free: 9.652 MB / 0.5606 GB Notification: Performance of SimCode: time 4.21e-07/0.2121, allocations: 0 / 0.7476 GB, free: 9.652 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03545/0.2476, allocations: 5.416 MB / 0.7529 GB, free: 4.395 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.09/10.34, allocations: 11.03 kB / 0.7529 GB, free: 4.387 MB / 0.5606 GB " [Timeout remaining time 650] (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: 14.48329583206214] Failed to read output from testmodel.py, exit status != 0: 10.419131989125162 10.443532468 10.248687098 Calling exit ...