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.001292/0.001292, allocations: 113.8 kB / 17.61 MB, free: 4.703 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.00138/0.00138, allocations: 186 kB / 20.78 MB, free: 1.547 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.499/1.499, allocations: 225.6 MB / 249.4 MB, free: 3.148 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.6.0-master/package.mo", uses=false) [Timeout 180] "[/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.6.0-master/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.6.0-master/package.mo): time 0.9396/0.9396, allocations: 145.2 MB / 449.7 MB, free: 13.25 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.6.0-master/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.001968/0.001968, allocations: 74.52 kB / 0.6232 GB, free: 35.09 MB / 0.4981 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1651/0.167, allocations: 86.64 MB / 0.7078 GB, free: 1.957 MB / 0.5137 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Utilities.Math.Examples.IntegratorWithReset): time 0.003258/0.1703, allocations: 1.845 MB / 0.7096 GB, free: 100 kB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.001081/0.1714, allocations: 0.5494 MB / 0.7101 GB, free: 15.54 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000112/0.1715, allocations: 7.938 kB / 0.7101 GB, free: 15.54 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 0.0001517/0.1716, allocations: 23.73 kB / 0.7102 GB, free: 15.51 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 8.167e-05/0.1717, allocations: 27.73 kB / 0.7102 GB, free: 15.48 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002645/0.172, allocations: 71.8 kB / 0.7103 GB, free: 15.41 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 0.0002526/0.1722, allocations: 171.5 kB / 0.7104 GB, free: 15.25 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001614/0.1724, allocations: 37.66 kB / 0.7105 GB, free: 15.21 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 9.731e-05/0.1725, allocations: 55.72 kB / 0.7105 GB, free: 15.16 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 8.593e-05/0.1726, allocations: 55.7 kB / 0.7106 GB, free: 15.1 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 3.047e-05/0.1726, allocations: 12 kB / 0.7106 GB, free: 15.09 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 2.153e-05/0.1726, allocations: 15.94 kB / 0.7106 GB, free: 15.07 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 3.599e-05/0.1727, allocations: 23.92 kB / 0.7106 GB, free: 15.05 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 7.97e-05/0.1728, allocations: 67.59 kB / 0.7107 GB, free: 14.98 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.0002269/0.173, allocations: 139.2 kB / 0.7108 GB, free: 14.85 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 4.138e-06/0.173, allocations: 0 / 0.7108 GB, free: 14.85 MB / 0.5294 GB Notification: Performance of FrontEnd: time 1.744e-06/0.173, allocations: 0 / 0.7108 GB, free: 14.85 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 8.265e-06/0.173, allocations: 3.984 kB / 0.7108 GB, free: 14.84 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.0008266/0.1738, allocations: 490.4 kB / 0.7113 GB, free: 14.32 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 4.234e-05/0.1739, allocations: 8.031 kB / 0.7113 GB, free: 14.31 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.986e-05/0.1739, allocations: 16.84 kB / 0.7113 GB, free: 14.29 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003764/0.1743, allocations: 236 kB / 0.7115 GB, free: 14.02 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.932e-05/0.1743, allocations: 12.38 kB / 0.7115 GB, free: 14.01 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.806e-05/0.1743, allocations: 12.38 kB / 0.7116 GB, free: 14 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003223/0.1747, allocations: 142.2 kB / 0.7117 GB, free: 13.84 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.148e-05/0.1747, allocations: 7.938 kB / 0.7117 GB, free: 13.83 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.055e-05/0.1747, allocations: 11.97 kB / 0.7117 GB, free: 13.82 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.387e-05/0.1747, allocations: 4 kB / 0.7117 GB, free: 13.82 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002298/0.1749, allocations: 63.89 kB / 0.7118 GB, free: 13.75 MB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001034/0.176, allocations: 0.7395 MB / 0.7125 GB, free: 12.95 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001734/0.1762, allocations: 58.53 kB / 0.7126 GB, free: 12.88 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001008/0.1763, allocations: 24.84 kB / 0.7126 GB, free: 12.86 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 2.158e-05/0.1763, allocations: 0 / 0.7126 GB, free: 12.86 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002402/0.1765, allocations: 138.6 kB / 0.7127 GB, free: 12.7 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=11): time 1.152e-06/0.1765, allocations: 0 / 0.7127 GB, free: 12.7 MB / 0.5294 GB Notification: Performance of matching and sorting (n=11): time 0.000498/0.177, allocations: 161.4 kB / 0.7129 GB, free: 12.53 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.953e-05/0.1771, allocations: 132.5 kB / 0.713 GB, free: 12.37 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000219/0.1773, allocations: 203.9 kB / 0.7132 GB, free: 12.16 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 2.194e-05/0.1773, allocations: 29.7 kB / 0.7132 GB, free: 12.13 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 9.363e-05/0.1774, allocations: 132 kB / 0.7133 GB, free: 12 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 3.792e-05/0.1775, allocations: 35.86 kB / 0.7134 GB, free: 11.96 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.905e-05/0.1775, allocations: 41.64 kB / 0.7134 GB, free: 11.91 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001527/0.1777, allocations: 330.8 kB / 0.7137 GB, free: 11.58 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001279/0.1778, allocations: 43.97 kB / 0.7138 GB, free: 11.54 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002021/0.178, allocations: 142.8 kB / 0.7139 GB, free: 11.35 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003291/0.1784, allocations: 202.4 kB / 0.7141 GB, free: 11.1 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.418e-06/0.1784, allocations: 4 kB / 0.7141 GB, free: 11.09 MB / 0.5294 GB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0004126/0.1788, allocations: 213.5 kB / 0.7143 GB, free: 10.88 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 2.323e-05/0.1788, allocations: 8 kB / 0.7143 GB, free: 10.87 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.117e-05/0.1788, allocations: 4 kB / 0.7143 GB, free: 10.87 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.03e-05/0.1788, allocations: 4 kB / 0.7143 GB, free: 10.86 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001279/0.179, allocations: 31.92 kB / 0.7144 GB, free: 10.83 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.542e-05/0.179, allocations: 15.92 kB / 0.7144 GB, free: 10.82 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001534/0.1791, allocations: 27.88 kB / 0.7144 GB, free: 10.79 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.611e-05/0.1791, allocations: 8 kB / 0.7144 GB, free: 10.78 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.0001295/0.1793, allocations: 138.7 kB / 0.7145 GB, free: 10.64 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.739e-05/0.1793, allocations: 23.91 kB / 0.7146 GB, free: 10.61 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.895e-05/0.1794, allocations: 21.39 kB / 0.7146 GB, free: 10.59 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.866e-06/0.1794, allocations: 0 / 0.7146 GB, free: 10.59 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.625e-06/0.1794, allocations: 4 kB / 0.7146 GB, free: 10.59 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.238e-06/0.1794, allocations: 0 / 0.7146 GB, free: 10.59 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008372/0.1802, allocations: 0.5135 MB / 0.7151 GB, free: 10.02 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.168e-06/0.1802, allocations: 4 kB / 0.7151 GB, free: 10.01 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001131/0.1803, allocations: 11.98 kB / 0.7151 GB, free: 10 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.535e-06/0.1803, allocations: 4 kB / 0.7151 GB, free: 9.996 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.457e-05/0.1804, allocations: 48 / 0.7151 GB, free: 9.996 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.999e-06/0.1804, allocations: 7.938 kB / 0.7151 GB, free: 9.988 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.552e-06/0.1804, allocations: 7.922 kB / 0.7151 GB, free: 9.98 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005263/0.1809, allocations: 356.3 kB / 0.7155 GB, free: 9.609 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 7.132e-05/0.181, allocations: 101 kB / 0.7156 GB, free: 9.492 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.459e-05/0.181, allocations: 0 / 0.7156 GB, free: 9.492 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001889/0.1812, allocations: 15.98 kB / 0.7156 GB, free: 9.477 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.524e-05/0.1812, allocations: 19.86 kB / 0.7156 GB, free: 9.457 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.386e-06/0.1812, allocations: 4 kB / 0.7156 GB, free: 9.453 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.0001282/0.1814, allocations: 144.6 kB / 0.7157 GB, free: 9.312 MB / 0.5294 GB Notification: Performance of sort global known variables: time 1.2e-07/0.1814, allocations: 3.938 kB / 0.7157 GB, free: 9.309 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.0003371/0.1817, allocations: 31.98 kB / 0.7158 GB, free: 9.277 MB / 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.000146/0.1819, allocations: 103.2 kB / 0.7159 GB, free: 9.168 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.0003333/0.1822, allocations: 111.8 kB / 0.716 GB, free: 9.059 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 2.415e-06/0.1822, allocations: 0 / 0.716 GB, free: 9.059 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.0001476/0.1823, allocations: 53.09 kB / 0.716 GB, free: 9.008 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000561/0.1829, allocations: 70.64 kB / 0.7161 GB, free: 8.945 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006721/0.1836, allocations: 375.8 kB / 0.7164 GB, free: 8.543 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003584/0.1839, allocations: 0.7203 MB / 0.7171 GB, free: 7.797 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 7.794e-05/0.184, allocations: 21.66 kB / 0.7172 GB, free: 7.773 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.42e-05/0.1841, allocations: 19.38 kB / 0.7172 GB, free: 7.754 MB / 0.5294 GB Notification: Performance of SimCode: time 4.31e-07/0.1841, allocations: 0 / 0.7172 GB, free: 7.754 MB / 0.5294 GB Notification: Performance of Templates: time 0.005588/0.1896, allocations: 2.088 MB / 0.7192 GB, free: 5.695 MB / 0.5294 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: 6.14018533192575]