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.001403/0.001403, 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.001527/0.001527, allocations: 221.6 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.557/1.557, allocations: 230.6 MB / 256.8 MB, free: 7.953 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.9853/0.9853, allocations: 150 MB / 463.1 MB, free: 10.46 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: translateModel(IBPSA.Electrical.DC.Lines.Examples.Resistance,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Electrical.DC.Lines.Examples.Resistance") translateModel(IBPSA.Electrical.DC.Lines.Examples.Resistance,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Electrical.DC.Lines.Examples.Resistance") [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.002122/0.002122, allocations: 67.95 kB / 0.6417 GB, free: 9.848 MB / 478.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1952/0.1974, allocations: 89.17 MB / 0.7288 GB, free: 0.7344 MB / 0.545 GB Notification: Performance of NFInst.instantiate(IBPSA.Electrical.DC.Lines.Examples.Resistance): time 0.005825/0.2032, allocations: 3.181 MB / 0.7319 GB, free: 13.54 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.002733/0.2059, allocations: 1.418 MB / 0.7333 GB, free: 12.11 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002353/0.2062, allocations: 7.938 kB / 0.7333 GB, free: 12.1 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.00133/0.2075, allocations: 350.6 kB / 0.7336 GB, free: 11.76 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.0004944/0.208, allocations: 143.3 kB / 0.7338 GB, free: 11.62 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004753/0.2085, allocations: 143.6 kB / 0.7339 GB, free: 11.48 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.0005678/0.209, allocations: 310.9 kB / 0.7342 GB, free: 11.18 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004558/0.2095, allocations: 184.5 kB / 0.7344 GB, free: 11 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002521/0.2097, allocations: 127.6 kB / 0.7345 GB, free: 10.87 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003919/0.2101, allocations: 147.5 kB / 0.7346 GB, free: 10.73 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 4.748e-05/0.2102, allocations: 20 kB / 0.7347 GB, free: 10.71 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003786/0.2106, allocations: 171.6 kB / 0.7348 GB, free: 10.54 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.0001327/0.2107, allocations: 83.73 kB / 0.7349 GB, free: 10.46 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.0001525/0.2108, allocations: 111.4 kB / 0.735 GB, free: 10.35 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.0006686/0.2115, allocations: 334.8 kB / 0.7353 GB, free: 10.02 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 5.8e-06/0.2115, allocations: 0 / 0.7353 GB, free: 10.02 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.853e-06/0.2115, allocations: 0 / 0.7353 GB, free: 10.02 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 1.265e-05/0.2115, allocations: 0 / 0.7353 GB, free: 10.02 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.00111/0.2126, allocations: 461.5 kB / 0.7358 GB, free: 9.535 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 4.645e-05/0.2127, allocations: 11.97 kB / 0.7358 GB, free: 9.523 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000619/0.2133, allocations: 84.72 kB / 0.7359 GB, free: 9.441 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003392/0.2136, allocations: 186.2 kB / 0.736 GB, free: 9.234 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.881e-05/0.2137, allocations: 8.75 kB / 0.736 GB, free: 9.227 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.707e-05/0.2137, allocations: 16.38 kB / 0.7361 GB, free: 9.211 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004958/0.2142, allocations: 307.5 kB / 0.7363 GB, free: 8.891 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.5e-05/0.2142, allocations: 0 / 0.7363 GB, free: 8.891 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.766e-05/0.2142, allocations: 8 kB / 0.7364 GB, free: 8.883 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.767e-05/0.2143, allocations: 20.36 kB / 0.7364 GB, free: 8.863 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003349/0.2146, allocations: 193 kB / 0.7366 GB, free: 8.676 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00174/0.2163, allocations: 1.425 MB / 0.738 GB, free: 7.098 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003183/0.2167, allocations: 110.5 kB / 0.7381 GB, free: 6.98 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.28e-05/0.2167, allocations: 28.84 kB / 0.7381 GB, free: 6.949 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 9.528e-06/0.2167, allocations: 0 / 0.7381 GB, free: 6.949 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.286e-05/0.2168, allocations: 34.56 kB / 0.7381 GB, free: 6.906 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=7): time 1.142e-06/0.2168, allocations: 0 / 0.7381 GB, free: 6.906 MB / 0.5606 GB Notification: Performance of matching and sorting (n=7): time 0.0005357/0.2173, allocations: 150.3 kB / 0.7383 GB, free: 6.75 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.975e-05/0.2174, allocations: 51.41 kB / 0.7383 GB, free: 6.688 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002376/0.2176, allocations: 207.9 kB / 0.7385 GB, free: 6.477 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 2.319e-05/0.2176, allocations: 25.7 kB / 0.7385 GB, free: 6.445 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.000129/0.2177, allocations: 172.1 kB / 0.7387 GB, free: 6.273 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 2.316e-05/0.2178, allocations: 23.84 kB / 0.7387 GB, free: 6.25 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.372e-05/0.2178, allocations: 33.67 kB / 0.7388 GB, free: 6.211 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.000239/0.2181, allocations: 330.8 kB / 0.7391 GB, free: 5.879 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.549e-05/0.2181, allocations: 39.88 kB / 0.7391 GB, free: 5.84 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001258/0.2183, allocations: 104.5 kB / 0.7392 GB, free: 5.707 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001912/0.2185, allocations: 148.5 kB / 0.7393 GB, free: 5.531 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.937e-06/0.2185, allocations: 8 kB / 0.7394 GB, free: 5.523 MB / 0.5606 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0003241/0.2188, allocations: 186.2 kB / 0.7395 GB, free: 5.332 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 1.97e-05/0.2188, allocations: 8 kB / 0.7395 GB, free: 5.324 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.177e-06/0.2188, allocations: 4 kB / 0.7395 GB, free: 5.32 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001823/0.219, allocations: 29.11 kB / 0.7396 GB, free: 5.289 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000112/0.2191, allocations: 24 kB / 0.7396 GB, free: 5.266 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00121/0.2203, allocations: 1.322 MB / 0.7409 GB, free: 3.82 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000119/0.2204, allocations: 23.81 kB / 0.7409 GB, free: 3.797 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.332e-05/0.2204, allocations: 8 kB / 0.7409 GB, free: 3.789 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.0001453/0.2206, allocations: 149.8 kB / 0.7411 GB, free: 3.633 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.899e-05/0.2206, allocations: 15.91 kB / 0.7411 GB, free: 3.617 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.971e-05/0.2207, allocations: 17.41 kB / 0.7411 GB, free: 3.602 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.406e-06/0.2207, allocations: 8.047 kB / 0.7411 GB, free: 3.594 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.665e-06/0.2207, allocations: 0 / 0.7411 GB, free: 3.594 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.495e-06/0.2207, allocations: 0 / 0.7411 GB, free: 3.594 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005444/0.2212, allocations: 418.2 kB / 0.7415 GB, free: 3.133 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.693e-06/0.2212, allocations: 0 / 0.7415 GB, free: 3.133 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.844e-05/0.2213, allocations: 7.984 kB / 0.7415 GB, free: 3.125 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.538e-05/0.2213, allocations: 20.84 kB / 0.7415 GB, free: 3.102 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.949e-06/0.2213, allocations: 4 kB / 0.7415 GB, free: 3.098 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001067/0.2224, allocations: 1.322 MB / 0.7428 GB, free: 1.664 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.72e-07/0.2224, allocations: 0 / 0.7428 GB, free: 1.664 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002484/0.2227, allocations: 208.2 kB / 0.743 GB, free: 1.441 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 5.16e-05/0.2227, allocations: 19.89 kB / 0.743 GB, free: 1.422 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.057e-05/0.2227, allocations: 4.094 kB / 0.743 GB, free: 1.418 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001069/0.2228, allocations: 7.938 kB / 0.743 GB, free: 1.41 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.09e-05/0.2229, allocations: 12.05 kB / 0.7431 GB, free: 1.398 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.079e-06/0.2229, allocations: 0 / 0.7431 GB, free: 1.398 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.0001468/0.223, allocations: 144.4 kB / 0.7432 GB, free: 1.258 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1e-07/0.223, allocations: 0 / 0.7432 GB, free: 1.258 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0003411/0.2234, allocations: 51.89 kB / 0.7432 GB, free: 1.207 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.0001223/0.2235, allocations: 95.25 kB / 0.7433 GB, free: 1.102 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.0004263/0.2239, allocations: 210.6 kB / 0.7435 GB, free: 0.8828 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 2.485e-06/0.2239, allocations: 0 / 0.7435 GB, free: 0.8828 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.0001997/0.2241, allocations: 150.6 kB / 0.7437 GB, free: 0.7227 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003856/0.2245, allocations: 40.59 kB / 0.7437 GB, free: 0.6914 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007524/0.2252, allocations: 367.3 kB / 0.7441 GB, free: 312 kB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004512/0.2257, allocations: 0.7476 MB / 0.7448 GB, free: 15.53 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 8.32e-05/0.2258, allocations: 25.47 kB / 0.7448 GB, free: 15.51 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.289e-05/0.2258, allocations: 19.38 kB / 0.7448 GB, free: 15.49 MB / 0.5762 GB Notification: Performance of SimCode: time 2.9e-07/0.2258, allocations: 0 / 0.7448 GB, free: 15.49 MB / 0.5762 GB Notification: Performance of Templates: time 0.005348/0.2312, allocations: 1.858 MB / 0.7467 GB, free: 13.66 MB / 0.5762 GB " [Timeout remaining time 660] make -j1 -f IBPSA_latest_IBPSA.Electrical.DC.Lines.Examples.Resistance.makefile [Timeout 660] (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 & ./IBPSA_latest_IBPSA.Electrical.DC.Lines.Examples.Resistance -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Electrical.DC.Lines.Examples.Resistance.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 6.362111238762736] Failed to read output from testmodel.py, exit status != 0: 0.24038243712857366 0.640630224 0.040008922 Calling exit ...