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.001717/0.001717, 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.002184/0.002184, allocations: 213.3 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.504/1.504, allocations: 230.6 MB / 256.8 MB, free: 7.789 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.9656/0.9656, allocations: 149.9 MB / 463 MB, free: 10.41 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.002983/0.002983, allocations: 69.86 kB / 0.6415 GB, free: 9.684 MB / 478.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2183/0.2213, allocations: 89.17 MB / 0.7286 GB, free: 0.5781 MB / 0.545 GB Notification: Performance of NFInst.instantiate(IBPSA.Electrical.DC.Lines.Examples.Resistance): time 0.005243/0.2265, allocations: 3.042 MB / 0.7316 GB, free: 13.52 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.002394/0.2289, allocations: 1.313 MB / 0.7329 GB, free: 12.2 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001262/0.229, allocations: 8 kB / 0.7329 GB, free: 12.19 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.001108/0.2302, allocations: 338.8 kB / 0.7332 GB, free: 11.86 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.000384/0.2305, allocations: 143.2 kB / 0.7333 GB, free: 11.72 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004004/0.2309, allocations: 139.6 kB / 0.7335 GB, free: 11.58 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.0004264/0.2314, allocations: 307 kB / 0.7338 GB, free: 11.28 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004361/0.2318, allocations: 180.6 kB / 0.7339 GB, free: 11.11 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001933/0.232, allocations: 131.5 kB / 0.7341 GB, free: 10.98 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003505/0.2323, allocations: 139.5 kB / 0.7342 GB, free: 10.84 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 4.325e-05/0.2324, allocations: 20 kB / 0.7342 GB, free: 10.82 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003013/0.2327, allocations: 147.7 kB / 0.7344 GB, free: 10.68 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.0001151/0.2328, allocations: 83.73 kB / 0.7344 GB, free: 10.59 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.0001178/0.2329, allocations: 91.64 kB / 0.7345 GB, free: 10.5 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.0005014/0.2334, allocations: 338.7 kB / 0.7348 GB, free: 10.17 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 6.091e-06/0.2334, allocations: 4 kB / 0.7348 GB, free: 10.17 MB / 0.5606 GB Notification: Performance of FrontEnd: time 2.525e-06/0.2334, allocations: 0 / 0.7348 GB, free: 10.17 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 8.146e-06/0.2334, allocations: 0 / 0.7348 GB, free: 10.17 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.0009706/0.2344, allocations: 457.5 kB / 0.7353 GB, free: 9.688 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 4.932e-05/0.2345, allocations: 12.03 kB / 0.7353 GB, free: 9.676 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000574/0.235, allocations: 76.72 kB / 0.7354 GB, free: 9.602 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003654/0.2354, allocations: 192.4 kB / 0.7355 GB, free: 9.391 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.99e-05/0.2354, allocations: 16.75 kB / 0.7356 GB, free: 9.375 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.836e-05/0.2355, allocations: 16.38 kB / 0.7356 GB, free: 9.359 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000543/0.236, allocations: 376.6 kB / 0.7359 GB, free: 8.953 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.285e-05/0.236, allocations: 0 / 0.7359 GB, free: 8.953 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.732e-05/0.236, allocations: 12 kB / 0.736 GB, free: 8.941 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.731e-05/0.2361, allocations: 20.36 kB / 0.736 GB, free: 8.922 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003185/0.2364, allocations: 196.9 kB / 0.7362 GB, free: 8.73 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001344/0.2377, allocations: 0.9888 MB / 0.7371 GB, free: 7.688 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002493/0.238, allocations: 98.48 kB / 0.7372 GB, free: 7.582 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.191e-05/0.2381, allocations: 28.84 kB / 0.7372 GB, free: 7.551 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 1.594e-05/0.2381, allocations: 4 kB / 0.7372 GB, free: 7.547 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.295e-05/0.2381, allocations: 34.56 kB / 0.7373 GB, free: 7.504 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=7): time 1.533e-06/0.2381, allocations: 4 kB / 0.7373 GB, free: 7.5 MB / 0.5606 GB Notification: Performance of matching and sorting (n=7): time 0.0004902/0.2386, allocations: 146.5 kB / 0.7374 GB, free: 7.348 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.416e-05/0.2386, allocations: 55.41 kB / 0.7375 GB, free: 7.281 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002103/0.2388, allocations: 190.3 kB / 0.7377 GB, free: 7.086 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 2.037e-05/0.2389, allocations: 25.7 kB / 0.7377 GB, free: 7.055 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001234/0.239, allocations: 168 kB / 0.7378 GB, free: 6.887 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 2.671e-05/0.239, allocations: 31.73 kB / 0.7379 GB, free: 6.855 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.626e-05/0.2391, allocations: 29.72 kB / 0.7379 GB, free: 6.82 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001574/0.2392, allocations: 330.8 kB / 0.7382 GB, free: 6.488 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.684e-05/0.2393, allocations: 39.89 kB / 0.7383 GB, free: 6.449 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001323/0.2394, allocations: 107 kB / 0.7384 GB, free: 6.316 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001975/0.2396, allocations: 144.4 kB / 0.7385 GB, free: 6.145 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.966e-06/0.2396, allocations: 8 kB / 0.7385 GB, free: 6.137 MB / 0.5606 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0003328/0.24, allocations: 190.1 kB / 0.7387 GB, free: 5.941 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 1.675e-05/0.24, allocations: 4 kB / 0.7387 GB, free: 5.938 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.757e-06/0.24, allocations: 4 kB / 0.7387 GB, free: 5.934 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001898/0.2402, allocations: 24.84 kB / 0.7387 GB, free: 5.906 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001134/0.2403, allocations: 32.2 kB / 0.7387 GB, free: 5.875 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001133/0.2414, allocations: 1.292 MB / 0.74 GB, free: 4.473 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001127/0.2415, allocations: 11.89 kB / 0.74 GB, free: 4.461 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.235e-05/0.2415, allocations: 8 kB / 0.74 GB, free: 4.453 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.0001662/0.2417, allocations: 153.7 kB / 0.7402 GB, free: 4.293 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.981e-05/0.2418, allocations: 20 kB / 0.7402 GB, free: 4.273 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.822e-05/0.2418, allocations: 17.41 kB / 0.7402 GB, free: 4.262 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.353e-06/0.2418, allocations: 48 / 0.7402 GB, free: 4.262 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.831e-06/0.2418, allocations: 7.984 kB / 0.7402 GB, free: 4.254 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.126e-06/0.2418, allocations: 0 / 0.7402 GB, free: 4.254 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000489/0.2423, allocations: 367.2 kB / 0.7406 GB, free: 3.855 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.814e-06/0.2423, allocations: 0 / 0.7406 GB, free: 3.855 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.952e-05/0.2423, allocations: 8 kB / 0.7406 GB, free: 3.848 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.91e-05/0.2424, allocations: 24.84 kB / 0.7406 GB, free: 3.82 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.21e-05/0.2424, allocations: 4 kB / 0.7406 GB, free: 3.816 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00101/0.2434, allocations: 1.3 MB / 0.7419 GB, free: 2.418 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.51e-07/0.2434, allocations: 0 / 0.7419 GB, free: 2.418 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002323/0.2437, allocations: 208.2 kB / 0.7421 GB, free: 2.195 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 5.317e-05/0.2437, allocations: 19.88 kB / 0.7421 GB, free: 2.176 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.871e-05/0.2437, allocations: 4 kB / 0.7421 GB, free: 2.172 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001013/0.2438, allocations: 160 / 0.7421 GB, free: 2.172 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.21e-05/0.2439, allocations: 15.98 kB / 0.7421 GB, free: 2.156 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.2e-06/0.2439, allocations: 0 / 0.7421 GB, free: 2.156 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.0001175/0.244, allocations: 132.3 kB / 0.7422 GB, free: 2.027 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1.1e-07/0.244, allocations: 0 / 0.7422 GB, free: 2.027 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0003324/0.2443, allocations: 59.78 kB / 0.7423 GB, free: 1.969 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.000112/0.2444, allocations: 95.23 kB / 0.7424 GB, free: 1.863 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.0003909/0.2448, allocations: 202.7 kB / 0.7426 GB, free: 1.652 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 2.335e-06/0.2448, allocations: 4 kB / 0.7426 GB, free: 1.648 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.0001616/0.245, allocations: 146.7 kB / 0.7427 GB, free: 1.492 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003497/0.2453, allocations: 20.27 kB / 0.7427 GB, free: 1.473 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000675/0.246, allocations: 372 kB / 0.7431 GB, free: 1.082 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001555/0.2462, allocations: 135.9 kB / 0.7432 GB, free: 0.9258 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 8.849e-05/0.2463, allocations: 29.39 kB / 0.7433 GB, free: 0.8945 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.633e-05/0.2463, allocations: 15.44 kB / 0.7433 GB, free: 0.8828 MB / 0.5606 GB Notification: Performance of SimCode: time 4.61e-07/0.2463, allocations: 0 / 0.7433 GB, free: 0.8828 MB / 0.5606 GB Notification: Performance of Templates: time 0.005354/0.2516, allocations: 1.857 MB / 0.7451 GB, free: 15.08 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.071927636861801] Failed to read output from testmodel.py, exit status != 0: 0.2618525195866823 0.27502013000000003 0.038248250000000004 Calling exit ...