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.00148/0.00148, allocations: 108.3 kB / 19.7 MB, free: 1.918 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.001604/0.001604, allocations: 209 kB / 22.99 MB, free: 4.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.528/1.528, allocations: 230.6 MB / 256.8 MB, free: 7.777 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.9605/0.9605, allocations: 149.9 MB / 463 MB, free: 10.33 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.Loads.Examples.Resistor,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Electrical.DC.Loads.Examples.Resistor") translateModel(IBPSA.Electrical.DC.Loads.Examples.Resistor,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Electrical.DC.Loads.Examples.Resistor") [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.002114/0.002114, allocations: 68.05 kB / 0.6415 GB, free: 9.566 MB / 478.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1935/0.1956, allocations: 89.17 MB / 0.7286 GB, free: 480 kB / 0.545 GB Notification: Performance of NFInst.instantiate(IBPSA.Electrical.DC.Loads.Examples.Resistor): time 0.006504/0.2021, allocations: 3.765 MB / 0.7323 GB, free: 12.68 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.003325/0.2054, allocations: 1.698 MB / 0.7339 GB, free: 10.98 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001843/0.2056, allocations: 15.94 kB / 0.734 GB, free: 10.96 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.00156/0.2072, allocations: 0.4969 MB / 0.7344 GB, free: 10.46 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.0005833/0.2077, allocations: 230.9 kB / 0.7347 GB, free: 10.24 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005679/0.2083, allocations: 211.5 kB / 0.7349 GB, free: 10.03 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.0006712/0.209, allocations: 474.4 kB / 0.7353 GB, free: 9.566 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005586/0.2095, allocations: 297.3 kB / 0.7356 GB, free: 9.273 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000242/0.2098, allocations: 195.4 kB / 0.7358 GB, free: 9.082 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004483/0.2102, allocations: 215.1 kB / 0.736 GB, free: 8.871 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 5.364e-05/0.2103, allocations: 32 kB / 0.736 GB, free: 8.84 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004115/0.2107, allocations: 219.5 kB / 0.7362 GB, free: 8.625 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.0001733/0.2109, allocations: 127.6 kB / 0.7364 GB, free: 8.5 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.0002067/0.2111, allocations: 147.3 kB / 0.7365 GB, free: 8.355 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.0006485/0.2117, allocations: 0.5059 MB / 0.737 GB, free: 7.848 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 4.649e-06/0.2117, allocations: 0 / 0.737 GB, free: 7.848 MB / 0.5606 GB Notification: Performance of FrontEnd: time 2.384e-06/0.2117, allocations: 0 / 0.737 GB, free: 7.848 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 1.011e-05/0.2117, allocations: 0 / 0.737 GB, free: 7.848 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: 78 * Number of variables: 78 Notification: Performance of Generate backend data structure: time 0.001055/0.2128, allocations: 0.5674 MB / 0.7375 GB, free: 7.25 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 4.569e-05/0.2128, allocations: 12.03 kB / 0.7376 GB, free: 7.238 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009071/0.2137, allocations: 132.6 kB / 0.7377 GB, free: 7.109 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004623/0.2142, allocations: 230 kB / 0.7379 GB, free: 6.859 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.166e-05/0.2142, allocations: 21.03 kB / 0.7379 GB, free: 6.84 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.716e-05/0.2143, allocations: 28.38 kB / 0.738 GB, free: 6.812 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001001/0.2153, allocations: 0.5823 MB / 0.7385 GB, free: 6.16 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.864e-05/0.2153, allocations: 3.938 kB / 0.7385 GB, free: 6.156 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.982e-05/0.2153, allocations: 15.98 kB / 0.7385 GB, free: 6.141 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.972e-05/0.2154, allocations: 36.62 kB / 0.7386 GB, free: 6.105 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006353/0.216, allocations: 314.3 kB / 0.7389 GB, free: 5.797 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002176/0.2182, allocations: 1.513 MB / 0.7404 GB, free: 4.215 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003785/0.2186, allocations: 170.5 kB / 0.7405 GB, free: 4.039 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000232/0.2188, allocations: 96.81 kB / 0.7406 GB, free: 3.941 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 9.898e-06/0.2188, allocations: 0 / 0.7406 GB, free: 3.941 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.004e-05/0.2189, allocations: 42.55 kB / 0.7406 GB, free: 3.891 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=14): time 9.72e-07/0.2189, allocations: 0 / 0.7406 GB, free: 3.891 MB / 0.5606 GB Notification: Performance of matching and sorting (n=14): time 0.0005842/0.2195, allocations: 217.7 kB / 0.7409 GB, free: 3.672 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001454/0.2196, allocations: 55.41 kB / 0.7409 GB, free: 3.605 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003042/0.2199, allocations: 232.1 kB / 0.7411 GB, free: 3.371 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 2.895e-05/0.2199, allocations: 37.64 kB / 0.7412 GB, free: 3.328 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001488/0.2201, allocations: 216.1 kB / 0.7414 GB, free: 3.109 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 4.788e-05/0.2201, allocations: 55.53 kB / 0.7414 GB, free: 3.055 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.788e-05/0.2202, allocations: 45.94 kB / 0.7415 GB, free: 3 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001639/0.2204, allocations: 334.8 kB / 0.7418 GB, free: 2.664 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.947e-05/0.2205, allocations: 52.44 kB / 0.7418 GB, free: 2.613 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000176/0.2207, allocations: 152 kB / 0.742 GB, free: 2.426 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003031/0.221, allocations: 220.8 kB / 0.7422 GB, free: 2.172 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.635e-06/0.221, allocations: 0 / 0.7422 GB, free: 2.172 MB / 0.5606 GB Notification: Performance of matching and sorting (n=28) (initialization): time 0.0004701/0.2214, allocations: 266.1 kB / 0.7424 GB, free: 1.902 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 1.926e-05/0.2214, allocations: 4 kB / 0.7424 GB, free: 1.898 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.746e-06/0.2215, allocations: 4 kB / 0.7425 GB, free: 1.895 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001887/0.2216, allocations: 28.84 kB / 0.7425 GB, free: 1.863 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001849/0.2218, allocations: 43.92 kB / 0.7425 GB, free: 1.82 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001258/0.2231, allocations: 1.296 MB / 0.7438 GB, free: 436 kB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001561/0.2232, allocations: 31.78 kB / 0.7438 GB, free: 404 kB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.67e-05/0.2233, allocations: 8 kB / 0.7438 GB, free: 396 kB / 0.5606 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.000194/0.2235, allocations: 165.8 kB / 0.744 GB, free: 220 kB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.761e-05/0.2235, allocations: 23.84 kB / 0.744 GB, free: 196 kB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.742e-05/0.2235, allocations: 25.45 kB / 0.744 GB, free: 172 kB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.198e-06/0.2236, allocations: 7.938 kB / 0.744 GB, free: 164 kB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.484e-06/0.2236, allocations: 4.125 kB / 0.744 GB, free: 160 kB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.645e-06/0.2236, allocations: 0 / 0.744 GB, free: 160 kB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009395/0.2245, allocations: 0.5544 MB / 0.7446 GB, free: 15.54 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.579e-06/0.2245, allocations: 4 kB / 0.7446 GB, free: 15.54 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.597e-05/0.2246, allocations: 23.92 kB / 0.7446 GB, free: 15.52 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.268e-05/0.2247, allocations: 25.03 kB / 0.7446 GB, free: 15.49 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.457e-05/0.2247, allocations: 8 kB / 0.7446 GB, free: 15.48 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00117/0.2259, allocations: 1.3 MB / 0.7459 GB, free: 14.08 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.563e-06/0.2259, allocations: 0 / 0.7459 GB, free: 14.08 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003637/0.2262, allocations: 313.2 kB / 0.7462 GB, free: 13.73 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 8.623e-05/0.2263, allocations: 35.84 kB / 0.7462 GB, free: 13.7 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.47e-05/0.2263, allocations: 8.141 kB / 0.7463 GB, free: 13.69 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001512/0.2265, allocations: 12 kB / 0.7463 GB, free: 13.68 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.8e-05/0.2265, allocations: 12.08 kB / 0.7463 GB, free: 13.67 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.475e-05/0.2265, allocations: 15.88 kB / 0.7463 GB, free: 13.65 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0001572/0.2267, allocations: 161.8 kB / 0.7464 GB, free: 13.5 MB / 0.5762 GB Notification: Performance of sort global known variables: time 9e-08/0.2267, allocations: 4 kB / 0.7464 GB, free: 13.49 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0003993/0.2271, allocations: 79.78 kB / 0.7465 GB, free: 13.41 MB / 0.5762 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.0001214/0.2272, allocations: 101.3 kB / 0.7466 GB, free: 13.31 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.0004888/0.2277, allocations: 269 kB / 0.7469 GB, free: 13.04 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 2.685e-06/0.2277, allocations: 0 / 0.7469 GB, free: 13.04 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.0002219/0.2279, allocations: 183.5 kB / 0.7471 GB, free: 12.84 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004585/0.2284, allocations: 53.36 kB / 0.7471 GB, free: 12.8 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009055/0.2293, allocations: 0.5359 MB / 0.7476 GB, free: 12.21 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002001/0.2295, allocations: 186.1 kB / 0.7478 GB, free: 12.01 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.0001243/0.2296, allocations: 37.92 kB / 0.7478 GB, free: 11.97 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.733e-05/0.2297, allocations: 19.44 kB / 0.7479 GB, free: 11.95 MB / 0.5762 GB Notification: Performance of SimCode: time 3.11e-07/0.2297, allocations: 0 / 0.7479 GB, free: 11.95 MB / 0.5762 GB Notification: Performance of Templates: time 0.007113/0.2368, allocations: 2.772 MB / 0.7506 GB, free: 9.246 MB / 0.5762 GB " [Timeout remaining time 660] make -j1 -f IBPSA_latest_IBPSA.Electrical.DC.Loads.Examples.Resistor.makefile [Timeout 660] (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 & ./IBPSA_latest_IBPSA.Electrical.DC.Loads.Examples.Resistor -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Electrical.DC.Loads.Examples.Resistor.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 6.345610840246081] Failed to read output from testmodel.py, exit status != 0: 0.24543380178511143 0.615994495 0.40164360000000005 Calling exit ...