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.001415/0.001415, allocations: 100.3 kB / 19.69 MB, free: 1.805 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.001474/0.001474, allocations: 209.8 kB / 22.99 MB, free: 4.605 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.488/1.488, allocations: 230.6 MB / 256.8 MB, free: 7.797 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 0.9846/0.9846, allocations: 149.9 MB / 463 MB, free: 10.36 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.002029/0.002029, allocations: 62.53 kB / 0.6411 GB, free: 10.2 MB / 478.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1822/0.1842, allocations: 89.18 MB / 0.7281 GB, free: 1.086 MB / 0.545 GB Notification: Performance of NFInst.instantiate(IBPSA.Electrical.DC.Lines.Examples.Resistance): time 0.005363/0.1896, allocations: 3.039 MB / 0.7311 GB, free: 14.03 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.002639/0.1922, allocations: 1.305 MB / 0.7324 GB, free: 12.72 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001449/0.1923, allocations: 7.938 kB / 0.7324 GB, free: 12.71 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.001219/0.1936, allocations: 338.8 kB / 0.7327 GB, free: 12.38 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.0004268/0.194, allocations: 151.2 kB / 0.7329 GB, free: 12.23 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004004/0.1944, allocations: 131.7 kB / 0.733 GB, free: 12.1 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.0004891/0.1949, allocations: 315 kB / 0.7333 GB, free: 11.79 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004124/0.1953, allocations: 180.8 kB / 0.7335 GB, free: 11.62 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001666/0.1955, allocations: 127.6 kB / 0.7336 GB, free: 11.49 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003166/0.1958, allocations: 139.4 kB / 0.7337 GB, free: 11.36 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 4.25e-05/0.1958, allocations: 20 kB / 0.7337 GB, free: 11.34 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000356/0.1962, allocations: 155.6 kB / 0.7339 GB, free: 11.18 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.0001033/0.1963, allocations: 79.75 kB / 0.734 GB, free: 11.11 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.0001157/0.1964, allocations: 95.58 kB / 0.7341 GB, free: 11.01 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.0006268/0.197, allocations: 334.8 kB / 0.7344 GB, free: 10.68 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 5.24e-06/0.197, allocations: 0 / 0.7344 GB, free: 10.68 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.853e-06/0.197, allocations: 0 / 0.7344 GB, free: 10.68 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 1.066e-05/0.197, allocations: 0 / 0.7344 GB, free: 10.68 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.0009421/0.198, allocations: 457.5 kB / 0.7348 GB, free: 10.2 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 4.304e-05/0.198, allocations: 12.03 kB / 0.7348 GB, free: 10.19 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.559e-05/0.1981, allocations: 58.67 kB / 0.7349 GB, free: 10.12 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006454/0.1987, allocations: 80.72 kB / 0.735 GB, free: 10.05 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003453/0.1991, allocations: 192.6 kB / 0.7351 GB, free: 9.836 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.946e-05/0.1991, allocations: 16.69 kB / 0.7352 GB, free: 9.82 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.647e-05/0.1991, allocations: 16.38 kB / 0.7352 GB, free: 9.805 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005242/0.1997, allocations: 376.5 kB / 0.7355 GB, free: 9.398 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.154e-05/0.1997, allocations: 3.938 kB / 0.7355 GB, free: 9.395 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.333e-05/0.1997, allocations: 15.94 kB / 0.7355 GB, free: 9.379 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.123e-05/0.1997, allocations: 16.36 kB / 0.7356 GB, free: 9.363 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003385/0.2001, allocations: 197 kB / 0.7358 GB, free: 9.172 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001698/0.2018, allocations: 1.031 MB / 0.7368 GB, free: 8.074 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002641/0.202, allocations: 90.61 kB / 0.7368 GB, free: 7.977 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.237e-05/0.2021, allocations: 36.84 kB / 0.7369 GB, free: 7.938 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 7.875e-06/0.2021, allocations: 0 / 0.7369 GB, free: 7.938 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.127e-05/0.2021, allocations: 42.48 kB / 0.7369 GB, free: 7.887 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=7): time 9.22e-07/0.2021, allocations: 0 / 0.7369 GB, free: 7.887 MB / 0.5606 GB Notification: Performance of matching and sorting (n=7): time 0.000549/0.2027, allocations: 142.4 kB / 0.7371 GB, free: 7.738 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.504e-05/0.2027, allocations: 51.41 kB / 0.7371 GB, free: 7.676 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000262/0.203, allocations: 207.8 kB / 0.7373 GB, free: 7.465 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 2.91e-05/0.203, allocations: 29.7 kB / 0.7373 GB, free: 7.43 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002256/0.2033, allocations: 168 kB / 0.7375 GB, free: 7.262 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 2.498e-05/0.2033, allocations: 31.89 kB / 0.7375 GB, free: 7.23 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.356e-05/0.2034, allocations: 37.62 kB / 0.7376 GB, free: 7.188 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001669/0.2035, allocations: 326.8 kB / 0.7379 GB, free: 6.859 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.581e-05/0.2036, allocations: 39.91 kB / 0.7379 GB, free: 6.82 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001382/0.2037, allocations: 98.77 kB / 0.738 GB, free: 6.695 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003674/0.2041, allocations: 156.4 kB / 0.7382 GB, free: 6.512 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.645e-06/0.2041, allocations: 0 / 0.7382 GB, free: 6.512 MB / 0.5606 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0003367/0.2044, allocations: 186.2 kB / 0.7383 GB, free: 6.32 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 2.29e-05/0.2045, allocations: 8 kB / 0.7383 GB, free: 6.312 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.224e-06/0.2045, allocations: 4.281 kB / 0.7383 GB, free: 6.309 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001952/0.2047, allocations: 32.88 kB / 0.7384 GB, free: 6.273 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001134/0.2048, allocations: 31.86 kB / 0.7384 GB, free: 6.242 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001362/0.2061, allocations: 1.311 MB / 0.7397 GB, free: 4.809 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001283/0.2063, allocations: 19.88 kB / 0.7397 GB, free: 4.789 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.393e-05/0.2063, allocations: 12.14 kB / 0.7397 GB, free: 4.777 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.0001571/0.2064, allocations: 153.6 kB / 0.7399 GB, free: 4.617 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.761e-05/0.2065, allocations: 11.95 kB / 0.7399 GB, free: 4.605 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.054e-05/0.2065, allocations: 17.41 kB / 0.7399 GB, free: 4.59 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.322e-06/0.2065, allocations: 0 / 0.7399 GB, free: 4.59 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.598e-06/0.2065, allocations: 7.984 kB / 0.7399 GB, free: 4.582 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.245e-06/0.2065, allocations: 0 / 0.7399 GB, free: 4.582 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006306/0.2071, allocations: 402.4 kB / 0.7403 GB, free: 4.137 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.823e-06/0.2071, allocations: 0 / 0.7403 GB, free: 4.137 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.566e-05/0.2072, allocations: 15.98 kB / 0.7403 GB, free: 4.121 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.82e-05/0.2073, allocations: 24.84 kB / 0.7403 GB, free: 4.094 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.804e-06/0.2073, allocations: 0 / 0.7403 GB, free: 4.094 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001181/0.2085, allocations: 1.303 MB / 0.7416 GB, free: 2.68 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.032e-06/0.2085, allocations: 0 / 0.7416 GB, free: 2.68 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002586/0.2087, allocations: 224.3 kB / 0.7418 GB, free: 2.441 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 5.736e-05/0.2088, allocations: 23.91 kB / 0.7418 GB, free: 2.418 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.792e-05/0.2088, allocations: 0 / 0.7418 GB, free: 2.418 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001095/0.2089, allocations: 7.984 kB / 0.7418 GB, free: 2.41 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.932e-05/0.2089, allocations: 4 kB / 0.7418 GB, free: 2.406 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.923e-06/0.2089, allocations: 4 kB / 0.7418 GB, free: 2.402 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.0001557/0.2091, allocations: 140.4 kB / 0.742 GB, free: 2.266 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1e-07/0.2091, allocations: 0 / 0.742 GB, free: 2.266 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.000334/0.2094, allocations: 51.89 kB / 0.742 GB, free: 2.215 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.0006011/0.21, allocations: 0.7444 MB / 0.7428 GB, free: 1.438 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.0004511/0.2105, allocations: 210.5 kB / 0.743 GB, free: 1.219 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 2.494e-06/0.2105, allocations: 0 / 0.743 GB, free: 1.219 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.0001735/0.2106, allocations: 142.7 kB / 0.7431 GB, free: 1.066 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003649/0.211, allocations: 37.86 kB / 0.7431 GB, free: 1.031 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002484/0.2135, allocations: 2.057 MB / 0.7451 GB, free: 14.83 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001564/0.2136, allocations: 143.8 kB / 0.7453 GB, free: 14.67 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 9.038e-05/0.2137, allocations: 25.47 kB / 0.7453 GB, free: 14.65 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001031/0.2138, allocations: 55.42 kB / 0.7453 GB, free: 14.59 MB / 0.5762 GB Notification: Performance of SimCode: time 5.11e-07/0.2138, allocations: 0 / 0.7453 GB, free: 14.59 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0355/0.2493, allocations: 4.366 MB / 0.7496 GB, free: 10.43 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.61/11.86, allocations: 3.047 kB / 0.7496 GB, free: 10.43 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.17055020807311] Failed to read output from testmodel.py, exit status != 0: 11.972403306048363 12.345153144 12.145237845 Calling exit ...