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.001422/0.001422, allocations: 100.4 kB / 20.45 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.001678/0.001678, allocations: 207.5 kB / 23.74 MB, free: 4.539 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.48/1.48, allocations: 230.6 MB / 257.5 MB, free: 7.781 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.9834/0.9834, allocations: 149.9 MB / 463.8 MB, free: 10.4 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.59 kB / 0.6423 GB, free: 9.66 MB / 478.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1677/0.1698, allocations: 89.17 MB / 0.7294 GB, free: 0.5547 MB / 0.545 GB Notification: Performance of NFInst.instantiate(IBPSA.Electrical.DC.Loads.Examples.Resistor): time 0.005887/0.1757, allocations: 3.778 MB / 0.7331 GB, free: 12.76 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.002944/0.1786, allocations: 1.699 MB / 0.7347 GB, free: 11.05 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001533/0.1788, allocations: 7.938 kB / 0.7347 GB, free: 11.05 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.001478/0.1803, allocations: 0.4935 MB / 0.7352 GB, free: 10.55 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.0005213/0.1808, allocations: 226.9 kB / 0.7354 GB, free: 10.33 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005317/0.1813, allocations: 215.5 kB / 0.7356 GB, free: 10.12 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.0005368/0.1818, allocations: 478.4 kB / 0.7361 GB, free: 9.652 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004967/0.1823, allocations: 285.4 kB / 0.7364 GB, free: 9.371 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002422/0.1826, allocations: 207.3 kB / 0.7365 GB, free: 9.168 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003955/0.183, allocations: 219.1 kB / 0.7368 GB, free: 8.953 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 5.343e-05/0.183, allocations: 28 kB / 0.7368 GB, free: 8.926 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003994/0.1834, allocations: 215.5 kB / 0.737 GB, free: 8.715 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.0001414/0.1836, allocations: 131.6 kB / 0.7371 GB, free: 8.586 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.000152/0.1837, allocations: 139.4 kB / 0.7372 GB, free: 8.449 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.0006238/0.1843, allocations: 0.5098 MB / 0.7377 GB, free: 7.938 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 3.267e-06/0.1844, allocations: 0 / 0.7377 GB, free: 7.938 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.282e-06/0.1844, allocations: 0 / 0.7377 GB, free: 7.938 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 6.823e-06/0.1844, allocations: 3.938 kB / 0.7377 GB, free: 7.934 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.001/0.1854, allocations: 0.5635 MB / 0.7383 GB, free: 7.34 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 3.275e-05/0.1854, allocations: 12.03 kB / 0.7383 GB, free: 7.328 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009017/0.1863, allocations: 136.6 kB / 0.7384 GB, free: 7.195 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004315/0.1867, allocations: 233.9 kB / 0.7387 GB, free: 6.941 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.632e-05/0.1868, allocations: 21.03 kB / 0.7387 GB, free: 6.922 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.13e-05/0.1868, allocations: 32.36 kB / 0.7387 GB, free: 6.891 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007877/0.1876, allocations: 0.5861 MB / 0.7393 GB, free: 6.234 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.41e-05/0.1876, allocations: 0 / 0.7393 GB, free: 6.234 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.593e-05/0.1876, allocations: 12 kB / 0.7393 GB, free: 6.223 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.323e-05/0.1877, allocations: 36.62 kB / 0.7393 GB, free: 6.188 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005116/0.1882, allocations: 318.3 kB / 0.7396 GB, free: 5.875 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001967/0.1902, allocations: 1.509 MB / 0.7411 GB, free: 4.297 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003527/0.1905, allocations: 166.6 kB / 0.7413 GB, free: 4.125 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002296/0.1908, allocations: 92.81 kB / 0.7414 GB, free: 4.031 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 1.237e-05/0.1908, allocations: 4 kB / 0.7414 GB, free: 4.027 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.624e-05/0.1908, allocations: 34.55 kB / 0.7414 GB, free: 3.984 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=14): time 1.372e-06/0.1908, allocations: 4 kB / 0.7414 GB, free: 3.98 MB / 0.5606 GB Notification: Performance of matching and sorting (n=14): time 0.0005751/0.1914, allocations: 222.5 kB / 0.7416 GB, free: 3.754 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.672e-05/0.1914, allocations: 55.41 kB / 0.7417 GB, free: 3.688 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002446/0.1917, allocations: 232 kB / 0.7419 GB, free: 3.453 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 2.27e-05/0.1917, allocations: 25.7 kB / 0.7419 GB, free: 3.422 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001491/0.1918, allocations: 216.1 kB / 0.7421 GB, free: 3.203 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 4.199e-05/0.1919, allocations: 51.58 kB / 0.7422 GB, free: 3.152 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.502e-05/0.192, allocations: 49.94 kB / 0.7422 GB, free: 3.094 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001525/0.1921, allocations: 334.8 kB / 0.7425 GB, free: 2.758 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.922e-05/0.1922, allocations: 52.44 kB / 0.7426 GB, free: 2.707 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001743/0.1924, allocations: 152 kB / 0.7427 GB, free: 2.52 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002852/0.1927, allocations: 218.9 kB / 0.7429 GB, free: 2.266 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.305e-06/0.1927, allocations: 0 / 0.7429 GB, free: 2.266 MB / 0.5606 GB Notification: Performance of matching and sorting (n=28) (initialization): time 0.0004275/0.1931, allocations: 258.4 kB / 0.7432 GB, free: 2.004 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 1.729e-05/0.1931, allocations: 12.03 kB / 0.7432 GB, free: 1.992 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.881e-06/0.1931, allocations: 0 / 0.7432 GB, free: 1.992 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001623/0.1933, allocations: 28.84 kB / 0.7432 GB, free: 1.961 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000192/0.1935, allocations: 51.91 kB / 0.7433 GB, free: 1.91 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001142/0.1946, allocations: 1.295 MB / 0.7445 GB, free: 0.5156 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000165/0.1948, allocations: 35.97 kB / 0.7446 GB, free: 492 kB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.833e-05/0.1948, allocations: 16.03 kB / 0.7446 GB, free: 476 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.0001714/0.195, allocations: 169.7 kB / 0.7447 GB, free: 296 kB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.663e-05/0.195, allocations: 19.84 kB / 0.7448 GB, free: 276 kB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.456e-05/0.1951, allocations: 25.45 kB / 0.7448 GB, free: 252 kB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.496e-06/0.1951, allocations: 4 kB / 0.7448 GB, free: 248 kB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.776e-06/0.1951, allocations: 0 / 0.7448 GB, free: 248 kB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.565e-06/0.1951, allocations: 0 / 0.7448 GB, free: 248 kB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008796/0.196, allocations: 0.5622 MB / 0.7453 GB, free: 15.62 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.394e-06/0.196, allocations: 0 / 0.7453 GB, free: 15.62 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.524e-05/0.1961, allocations: 27.92 kB / 0.7454 GB, free: 15.59 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.205e-05/0.1961, allocations: 24.84 kB / 0.7454 GB, free: 15.57 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.001e-05/0.1961, allocations: 0 / 0.7454 GB, free: 15.57 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001038/0.1972, allocations: 1.292 MB / 0.7467 GB, free: 14.17 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.24e-06/0.1972, allocations: 4.031 kB / 0.7467 GB, free: 14.17 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003557/0.1975, allocations: 320.3 kB / 0.747 GB, free: 13.82 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 8.202e-05/0.1976, allocations: 27.89 kB / 0.747 GB, free: 13.79 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.187e-05/0.1977, allocations: 11.98 kB / 0.747 GB, free: 13.78 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001529/0.1978, allocations: 4 kB / 0.747 GB, free: 13.78 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.365e-05/0.1978, allocations: 32.03 kB / 0.747 GB, free: 13.75 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.244e-05/0.1979, allocations: 7.938 kB / 0.747 GB, free: 13.74 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0001563/0.198, allocations: 161.8 kB / 0.7472 GB, free: 13.58 MB / 0.5762 GB Notification: Performance of sort global known variables: time 8e-08/0.198, allocations: 0 / 0.7472 GB, free: 13.58 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0003974/0.1984, allocations: 79.78 kB / 0.7473 GB, free: 13.5 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.0001137/0.1985, allocations: 99.25 kB / 0.7474 GB, free: 13.4 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.0004683/0.199, allocations: 266.7 kB / 0.7476 GB, free: 13.12 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 5.44e-06/0.199, allocations: 4 kB / 0.7476 GB, free: 13.12 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.0002295/0.1992, allocations: 182.5 kB / 0.7478 GB, free: 12.93 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004326/0.1997, allocations: 51.3 kB / 0.7479 GB, free: 12.88 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009056/0.2006, allocations: 0.5804 MB / 0.7484 GB, free: 12.25 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001976/0.2008, allocations: 182.1 kB / 0.7486 GB, free: 12.05 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.349e-05/0.2008, allocations: 23.44 kB / 0.7486 GB, free: 12.02 MB / 0.5762 GB Notification: Performance of SimCode: time 3.01e-07/0.2008, allocations: 0 / 0.7486 GB, free: 12.02 MB / 0.5762 GB Notification: Performance of Templates: time 0.007048/0.2079, allocations: 4.347 MB / 0.7529 GB, free: 7.691 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: 9.050233432091773] Failed to read output from testmodel.py, exit status != 0: 0.21715235011652112 0.49688381600000003 0.309863889 Calling exit ...