Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.IntegratorWithReset.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001216/0.001216, allocations: 108.8 kB / 18.93 MB, free: 2.945 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001314/0.001314, allocations: 192 kB / 22.23 MB, free: 5.156 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.392/1.392, allocations: 225.6 MB / 251 MB, free: 13.01 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.7.0/package.mo", uses=false) [Timeout 180] "[/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.7.0/Building/BuildingEnvelope/HeatTransfer/package.mo:2:1-40:17:writable] Warning: Soil_case_nappe was referenced in the package.order file, but was not found in package.mo, Soil_case_nappe/package.mo or Soil_case_nappe.mo. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.7.0/package.mo): time 0.8858/0.8858, allocations: 145 MB / 451.2 MB, free: 5.461 MB / 350.1 MB " [Timeout remaining time 179] Using package BuildSysPro with version 3.6.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.7.0/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(BuildSysPro.IBPSA.Utilities.Math.Examples.IntegratorWithReset,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.IntegratorWithReset") translateModel(BuildSysPro.IBPSA.Utilities.Math.Examples.IntegratorWithReset,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.IntegratorWithReset") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001912/0.001912, allocations: 64.39 kB / 0.6253 GB, free: 15.47 MB / 462.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1739/0.1758, allocations: 86.71 MB / 0.71 GB, free: 8.762 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Utilities.Math.Examples.IntegratorWithReset): time 0.003232/0.1791, allocations: 1.836 MB / 0.7118 GB, free: 6.914 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.00105/0.1801, allocations: 0.5494 MB / 0.7123 GB, free: 6.359 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.958e-05/0.1802, allocations: 3.938 kB / 0.7123 GB, free: 6.355 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 0.0001468/0.1804, allocations: 27.73 kB / 0.7124 GB, free: 6.328 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 7.387e-05/0.1804, allocations: 27.72 kB / 0.7124 GB, free: 6.301 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002583/0.1807, allocations: 75.8 kB / 0.7125 GB, free: 6.227 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 0.0002488/0.1809, allocations: 167.5 kB / 0.7126 GB, free: 6.062 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001416/0.1811, allocations: 49.72 kB / 0.7127 GB, free: 6.012 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 8.735e-05/0.1812, allocations: 51.73 kB / 0.7127 GB, free: 5.961 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 8.602e-05/0.1813, allocations: 59.64 kB / 0.7128 GB, free: 5.902 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 2.804e-05/0.1813, allocations: 12 kB / 0.7128 GB, free: 5.891 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 7.742e-05/0.1814, allocations: 8 kB / 0.7128 GB, free: 5.883 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 4.044e-05/0.1814, allocations: 31.89 kB / 0.7128 GB, free: 5.852 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 7.552e-05/0.1815, allocations: 63.61 kB / 0.7129 GB, free: 5.789 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.0002088/0.1817, allocations: 135.3 kB / 0.713 GB, free: 5.656 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 6.152e-06/0.1817, allocations: 4 kB / 0.713 GB, free: 5.652 MB / 0.5294 GB Notification: Performance of FrontEnd: time 1.363e-06/0.1817, allocations: 0 / 0.713 GB, free: 5.652 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 6.082e-06/0.1817, allocations: 0 / 0.713 GB, free: 5.652 MB / 0.5294 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 24 * Number of variables: 24 Notification: Performance of Generate backend data structure: time 0.0007943/0.1825, allocations: 442.9 kB / 0.7134 GB, free: 5.184 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 3.772e-05/0.1825, allocations: 8.031 kB / 0.7135 GB, free: 5.176 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.068e-05/0.1826, allocations: 16.84 kB / 0.7135 GB, free: 5.16 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003093/0.1829, allocations: 178.2 kB / 0.7136 GB, free: 4.961 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.774e-05/0.1829, allocations: 12.38 kB / 0.7137 GB, free: 4.949 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.345e-05/0.1829, allocations: 12.38 kB / 0.7137 GB, free: 4.938 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003074/0.1832, allocations: 147.8 kB / 0.7138 GB, free: 4.773 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.698e-06/0.1833, allocations: 0 / 0.7138 GB, free: 4.773 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.827e-05/0.1833, allocations: 8 kB / 0.7138 GB, free: 4.766 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.394e-06/0.1833, allocations: 4 kB / 0.7138 GB, free: 4.762 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002313/0.1835, allocations: 75.83 kB / 0.7139 GB, free: 4.688 MB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009615/0.1845, allocations: 0.7112 MB / 0.7146 GB, free: 3.918 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001529/0.1846, allocations: 46.55 kB / 0.7146 GB, free: 3.863 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001062/0.1847, allocations: 28.84 kB / 0.7147 GB, free: 3.832 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 2.218e-05/0.1848, allocations: 3.938 kB / 0.7147 GB, free: 3.828 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002475/0.185, allocations: 130.7 kB / 0.7148 GB, free: 3.676 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=11): time 1.132e-06/0.185, allocations: 0 / 0.7148 GB, free: 3.676 MB / 0.5294 GB Notification: Performance of matching and sorting (n=11): time 0.0005036/0.1855, allocations: 161.4 kB / 0.7149 GB, free: 3.512 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.229e-05/0.1856, allocations: 136.8 kB / 0.7151 GB, free: 3.348 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002042/0.1858, allocations: 199.6 kB / 0.7153 GB, free: 3.141 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 2.644e-05/0.1858, allocations: 33.7 kB / 0.7153 GB, free: 3.102 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001179/0.1859, allocations: 132 kB / 0.7154 GB, free: 2.969 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 4.01e-05/0.186, allocations: 35.84 kB / 0.7154 GB, free: 2.934 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.971e-05/0.1861, allocations: 45.7 kB / 0.7155 GB, free: 2.883 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.000172/0.1862, allocations: 326.8 kB / 0.7158 GB, free: 2.555 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001294/0.1864, allocations: 43.97 kB / 0.7158 GB, free: 2.512 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002112/0.1866, allocations: 146.5 kB / 0.716 GB, free: 2.316 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003408/0.1869, allocations: 202.2 kB / 0.7162 GB, free: 2.066 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.919e-06/0.1869, allocations: 4 kB / 0.7162 GB, free: 2.062 MB / 0.5294 GB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0004021/0.1873, allocations: 209.5 kB / 0.7164 GB, free: 1.852 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 1.877e-05/0.1873, allocations: 8 kB / 0.7164 GB, free: 1.844 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.338e-06/0.1873, allocations: 4 kB / 0.7164 GB, free: 1.84 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.932e-05/0.1874, allocations: 4 kB / 0.7164 GB, free: 1.836 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001218/0.1875, allocations: 31.92 kB / 0.7164 GB, free: 1.805 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.497e-05/0.1875, allocations: 11.92 kB / 0.7164 GB, free: 1.793 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001432/0.1876, allocations: 36.2 kB / 0.7165 GB, free: 1.758 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.327e-05/0.1877, allocations: 8 kB / 0.7165 GB, free: 1.75 MB / 0.5294 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 17 * Number of states: 0 () * Number of discrete variables: 9 (sampleTrigger.y,$whenCondition2,$whenCondition1,booleanPulse.pulseStart,$PRE.booleanPulse.pulseStart,booleanPulse.y,$whenCondition3,intDef.trigger_internal,intNoReset.trigger_internal) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (21): * Single equations (assignments): 21 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001418/0.1878, allocations: 141.7 kB / 0.7166 GB, free: 1.602 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.113e-05/0.1878, allocations: 15.91 kB / 0.7166 GB, free: 1.586 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.914e-05/0.1879, allocations: 21.39 kB / 0.7167 GB, free: 1.559 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.689e-06/0.1879, allocations: 4 kB / 0.7167 GB, free: 1.555 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.538e-06/0.1879, allocations: 0 / 0.7167 GB, free: 1.555 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.041e-06/0.1879, allocations: 4 kB / 0.7167 GB, free: 1.551 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000777/0.1887, allocations: 496.6 kB / 0.7171 GB, free: 1.016 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.833e-06/0.1887, allocations: 320 / 0.7171 GB, free: 1.016 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001173/0.1888, allocations: 19.98 kB / 0.7172 GB, free: 0.9961 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.289e-06/0.1888, allocations: 4 kB / 0.7172 GB, free: 0.9922 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.319e-05/0.1888, allocations: 3.938 kB / 0.7172 GB, free: 0.9883 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.074e-06/0.1888, allocations: 0 / 0.7172 GB, free: 0.9883 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.448e-06/0.1888, allocations: 7.938 kB / 0.7172 GB, free: 0.9805 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005255/0.1893, allocations: 360.3 kB / 0.7175 GB, free: 0.6055 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 3.303e-05/0.1894, allocations: 23.81 kB / 0.7175 GB, free: 0.582 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.581e-05/0.1894, allocations: 8 kB / 0.7175 GB, free: 0.5742 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001714/0.1896, allocations: 15.98 kB / 0.7176 GB, free: 0.5586 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.003e-05/0.1896, allocations: 11.92 kB / 0.7176 GB, free: 0.5469 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.437e-05/0.1896, allocations: 11.98 kB / 0.7176 GB, free: 0.5352 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.000114/0.1898, allocations: 135.2 kB / 0.7177 GB, free: 412 kB / 0.5294 GB Notification: Performance of sort global known variables: time 7.1e-08/0.1898, allocations: 0 / 0.7177 GB, free: 412 kB / 0.5294 GB Notification: Performance of remove unused functions: time 0.0003165/0.1901, allocations: 28 kB / 0.7177 GB, free: 384 kB / 0.5294 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 4 (intWitRes2.y,intWitRes1.y,intNoReset.y,intDef.y) * Number of discrete variables: 6 (booleanPulse.y,$whenCondition3,$whenCondition1,booleanPulse.pulseStart,sampleTrigger.y,$whenCondition2) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (11): * Single equations (assignments): 10 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001273/0.1902, allocations: 103.2 kB / 0.7178 GB, free: 272 kB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.0003215/0.1905, allocations: 107.8 kB / 0.7179 GB, free: 164 kB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 2.224e-06/0.1905, allocations: 1 kB / 0.7179 GB, free: 164 kB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.0001442/0.1907, allocations: 52.03 kB / 0.718 GB, free: 112 kB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005568/0.1912, allocations: 79.47 kB / 0.7181 GB, free: 40 kB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006508/0.1919, allocations: 360.5 kB / 0.7184 GB, free: 15.65 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003811/0.1923, allocations: 0.732 MB / 0.7191 GB, free: 14.89 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 7.458e-05/0.1923, allocations: 17.61 kB / 0.7191 GB, free: 14.88 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.405e-05/0.1924, allocations: 19.44 kB / 0.7192 GB, free: 14.86 MB / 0.545 GB Notification: Performance of SimCode: time 3e-07/0.1924, allocations: 0 / 0.7192 GB, free: 14.86 MB / 0.545 GB Notification: Performance of Templates: time 0.00577/0.1982, allocations: 2.117 MB / 0.7212 GB, free: 12.77 MB / 0.545 GB " [Timeout remaining time 660] make -j1 -f BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.IntegratorWithReset.makefile [Timeout 660] (rm -f BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.IntegratorWithReset.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.IntegratorWithReset.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.IntegratorWithReset.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.IntegratorWithReset.sim & ./BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.IntegratorWithReset -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.IntegratorWithReset.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.375052453018725] Failed to read output from testmodel.py, exit status != 0: 0.2058552410453558 0.219954427 0.035367352000000005 Calling exit ... <OMPython.OMCSessionZMQ object at 0x7f9180d617b0>