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.00133/0.00133, allocations: 101.9 kB / 20.48 MB, free: 1.383 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.001535/0.001535, allocations: 209.3 kB / 23.77 MB, free: 4.559 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.499/1.499, allocations: 230.6 MB / 257.6 MB, free: 7.801 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.9649/0.9649, allocations: 150 MB / 463.9 MB, free: 10.16 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="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Electrical.DC.Lines.Examples.Resistance,fileNamePrefix="IBPSA_latest_IBPSA_Electrical_DC_Lines_Examples_Resistance",fmuType="cs",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.002046/0.002046, allocations: 65.16 kB / 0.6419 GB, free: 9.879 MB / 478.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1875/0.1896, allocations: 89.17 MB / 0.729 GB, free: 0.7852 MB / 0.545 GB Notification: Performance of NFInst.instantiate(IBPSA.Electrical.DC.Lines.Examples.Resistance): time 0.005095/0.1946, allocations: 3.037 MB / 0.732 GB, free: 13.73 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.002324/0.197, allocations: 1.313 MB / 0.7333 GB, free: 12.41 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001302/0.1971, allocations: 7.938 kB / 0.7333 GB, free: 12.4 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.00107/0.1982, allocations: 329.4 kB / 0.7336 GB, free: 12.08 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.0003887/0.1986, allocations: 155.3 kB / 0.7337 GB, free: 11.93 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003915/0.199, allocations: 139.6 kB / 0.7339 GB, free: 11.79 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.0004079/0.1994, allocations: 302.9 kB / 0.7342 GB, free: 11.5 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004207/0.1998, allocations: 188.6 kB / 0.7343 GB, free: 11.31 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001718/0.2, allocations: 131.5 kB / 0.7345 GB, free: 11.18 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003353/0.2003, allocations: 147.5 kB / 0.7346 GB, free: 11.04 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 3.924e-05/0.2003, allocations: 16 kB / 0.7346 GB, free: 11.02 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003171/0.2006, allocations: 147.7 kB / 0.7348 GB, free: 10.88 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.0001202/0.2008, allocations: 91.72 kB / 0.7349 GB, free: 10.79 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.0001369/0.2009, allocations: 95.59 kB / 0.7349 GB, free: 10.7 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.0005251/0.2014, allocations: 334.8 kB / 0.7353 GB, free: 10.37 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 5.02e-06/0.2014, allocations: 0 / 0.7353 GB, free: 10.37 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.413e-06/0.2014, allocations: 0 / 0.7353 GB, free: 10.37 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 7.485e-06/0.2014, allocations: 7.938 kB / 0.7353 GB, free: 10.36 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.0009651/0.2024, allocations: 449.5 kB / 0.7357 GB, free: 9.887 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 4.761e-05/0.2025, allocations: 12.02 kB / 0.7357 GB, free: 9.875 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.877e-05/0.2025, allocations: 8.562 kB / 0.7357 GB, free: 9.867 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.476e-05/0.2026, allocations: 62.72 kB / 0.7358 GB, free: 9.797 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006052/0.2032, allocations: 76.72 kB / 0.7359 GB, free: 9.723 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003165/0.2035, allocations: 182.2 kB / 0.736 GB, free: 9.52 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.306e-05/0.2035, allocations: 16.75 kB / 0.736 GB, free: 9.504 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.59e-05/0.2035, allocations: 16.38 kB / 0.7361 GB, free: 9.488 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005493/0.2041, allocations: 380.2 kB / 0.7364 GB, free: 9.078 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.334e-05/0.2041, allocations: 4 kB / 0.7364 GB, free: 9.074 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.781e-05/0.2041, allocations: 11.94 kB / 0.7364 GB, free: 9.062 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.67e-05/0.2042, allocations: 16.36 kB / 0.7364 GB, free: 9.047 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003505/0.2045, allocations: 197 kB / 0.7366 GB, free: 8.852 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001405/0.2059, allocations: 1.031 MB / 0.7376 GB, free: 7.758 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002571/0.2062, allocations: 98.55 kB / 0.7377 GB, free: 7.652 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.138e-05/0.2062, allocations: 28.84 kB / 0.7378 GB, free: 7.621 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 1.006e-05/0.2062, allocations: 4 kB / 0.7378 GB, free: 7.617 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.686e-05/0.2063, allocations: 34.56 kB / 0.7378 GB, free: 7.574 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=7): time 1.603e-06/0.2063, allocations: 0 / 0.7378 GB, free: 7.574 MB / 0.5606 GB Notification: Performance of matching and sorting (n=7): time 0.0004915/0.2068, allocations: 142.4 kB / 0.7379 GB, free: 7.426 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.448e-05/0.2068, allocations: 59.33 kB / 0.738 GB, free: 7.355 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002428/0.2071, allocations: 203.9 kB / 0.7382 GB, free: 7.148 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 2.244e-05/0.2071, allocations: 33.7 kB / 0.7382 GB, free: 7.109 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001275/0.2072, allocations: 172.1 kB / 0.7384 GB, free: 6.938 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 2.303e-05/0.2072, allocations: 19.86 kB / 0.7384 GB, free: 6.918 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.049e-05/0.2073, allocations: 45.56 kB / 0.7384 GB, free: 6.867 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001614/0.2075, allocations: 326.8 kB / 0.7388 GB, free: 6.539 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.229e-05/0.2075, allocations: 31.98 kB / 0.7388 GB, free: 6.508 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001153/0.2077, allocations: 100.6 kB / 0.7389 GB, free: 6.379 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001998/0.2079, allocations: 156.4 kB / 0.739 GB, free: 6.195 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.645e-06/0.2079, allocations: 3.938 kB / 0.739 GB, free: 6.191 MB / 0.5606 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0003275/0.2082, allocations: 186.4 kB / 0.7392 GB, free: 6 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 2.068e-05/0.2082, allocations: 12.06 kB / 0.7392 GB, free: 5.988 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.593e-06/0.2082, allocations: 0 / 0.7392 GB, free: 5.988 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001712/0.2084, allocations: 28.89 kB / 0.7393 GB, free: 5.957 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001142/0.2085, allocations: 31.91 kB / 0.7393 GB, free: 5.926 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00125/0.2097, allocations: 1.307 MB / 0.7406 GB, free: 4.496 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001245/0.2099, allocations: 24.05 kB / 0.7406 GB, free: 4.473 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.667e-05/0.2099, allocations: 15.92 kB / 0.7406 GB, free: 4.457 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.0001645/0.2101, allocations: 149.7 kB / 0.7407 GB, free: 4.301 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.163e-05/0.2101, allocations: 15.91 kB / 0.7408 GB, free: 4.285 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.484e-05/0.2101, allocations: 17.41 kB / 0.7408 GB, free: 4.27 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.222e-06/0.2101, allocations: 3.938 kB / 0.7408 GB, free: 4.266 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.338e-06/0.2101, allocations: 4 kB / 0.7408 GB, free: 4.262 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.186e-06/0.2101, allocations: 0 / 0.7408 GB, free: 4.262 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005595/0.2107, allocations: 406.3 kB / 0.7412 GB, free: 3.812 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.983e-06/0.2107, allocations: 4 kB / 0.7412 GB, free: 3.809 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.004e-05/0.2107, allocations: 8 kB / 0.7412 GB, free: 3.801 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.601e-05/0.2108, allocations: 24.84 kB / 0.7412 GB, free: 3.773 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.145e-06/0.2108, allocations: 0 / 0.7412 GB, free: 3.773 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001094/0.2119, allocations: 1.307 MB / 0.7425 GB, free: 2.355 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.397e-06/0.2119, allocations: 8.141 kB / 0.7425 GB, free: 2.348 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002629/0.2122, allocations: 212.2 kB / 0.7427 GB, free: 2.121 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 5.76e-05/0.2123, allocations: 23.89 kB / 0.7427 GB, free: 2.098 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.92e-05/0.2123, allocations: 0 / 0.7427 GB, free: 2.098 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001112/0.2124, allocations: 4 kB / 0.7427 GB, free: 2.094 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.448e-05/0.2124, allocations: 7.984 kB / 0.7427 GB, free: 2.086 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.69e-06/0.2124, allocations: 0 / 0.7427 GB, free: 2.086 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.0001435/0.2126, allocations: 144.4 kB / 0.7429 GB, free: 1.945 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1e-07/0.2126, allocations: 0 / 0.7429 GB, free: 1.945 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0003418/0.2129, allocations: 55.83 kB / 0.7429 GB, free: 1.891 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.0005459/0.2134, allocations: 0.7444 MB / 0.7436 GB, free: 1.113 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.0003835/0.2138, allocations: 210.5 kB / 0.7438 GB, free: 0.8945 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 2.615e-06/0.2138, allocations: 0 / 0.7438 GB, free: 0.8945 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.000168/0.214, allocations: 143.2 kB / 0.744 GB, free: 0.7422 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003711/0.2144, allocations: 37.56 kB / 0.744 GB, free: 0.707 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002431/0.2168, allocations: 2.054 MB / 0.746 GB, free: 14.51 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000149/0.217, allocations: 143.9 kB / 0.7462 GB, free: 14.35 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 9.129e-05/0.217, allocations: 25.47 kB / 0.7462 GB, free: 14.32 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.448e-05/0.2171, allocations: 47.42 kB / 0.7462 GB, free: 14.28 MB / 0.5762 GB Notification: Performance of SimCode: time 7.31e-07/0.2171, allocations: 0 / 0.7462 GB, free: 14.28 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02825/0.2454, allocations: 4.059 MB / 0.7502 GB, free: 10.42 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.7/11.95, allocations: 10.89 kB / 0.7502 GB, free: 10.41 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Electrical_DC_Lines_Examples_Resistance_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=50 --tolerance=1e-06 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.19054692296777] Failed to read output from testmodel.py, exit status != 0: 12.11456271901261 12.453413904 12.248988219 Calling exit ...