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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.6.0/package.mo", uses=false) Using package BuildSysPro with version 3.5.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.6.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=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.IntegratorWithReset") translateModel(BuildSysPro.IBPSA.Utilities.Math.Examples.IntegratorWithReset,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.IntegratorWithReset") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001349/0.001348, allocations: 108 kB / 15.6 MB, free: 132 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001544/0.001544, allocations: 192.9 kB / 16.53 MB, free: 6.391 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.377/1.377, allocations: 222.9 MB / 240.2 MB, free: 4.41 MB / 190.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.6.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.6.0/package.mo): time 0.9642/0.9642, allocations: 143 MB / 433.4 MB, free: 11.61 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001391/0.001391, allocations: 63.91 kB / 0.5142 GB, free: 11.65 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1723/0.1738, allocations: 82.03 MB / 0.5943 GB, free: 9.582 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Utilities.Math.Examples.IntegratorWithReset): time 0.004773/0.1786, allocations: 1.817 MB / 0.596 GB, free: 7.75 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.001246/0.1799, allocations: 0.5299 MB / 0.5966 GB, free: 7.215 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001667/0.18, allocations: 7.938 kB / 0.5966 GB, free: 7.207 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.0001657/0.1802, allocations: 23.73 kB / 0.5966 GB, free: 7.184 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.0001022/0.1804, allocations: 31.72 kB / 0.5966 GB, free: 7.152 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002694/0.1806, allocations: 67.84 kB / 0.5967 GB, free: 7.086 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.000324/0.181, allocations: 167.5 kB / 0.5968 GB, free: 6.922 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001953/0.1812, allocations: 57.64 kB / 0.5969 GB, free: 6.867 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001266/0.1813, allocations: 55.7 kB / 0.5969 GB, free: 6.812 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001044/0.1814, allocations: 63.64 kB / 0.597 GB, free: 6.75 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 3.536e-05/0.1815, allocations: 8 kB / 0.597 GB, free: 6.742 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 2.775e-05/0.1815, allocations: 12 kB / 0.597 GB, free: 6.73 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 3.875e-05/0.1816, allocations: 23.92 kB / 0.597 GB, free: 6.707 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.000134/0.1817, allocations: 59.61 kB / 0.5971 GB, free: 6.648 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0002398/0.1819, allocations: 139.7 kB / 0.5972 GB, free: 6.512 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 3.858e-06/0.182, allocations: 0 / 0.5972 GB, free: 6.512 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.573e-06/0.182, allocations: 0 / 0.5972 GB, free: 6.512 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 9.778e-06/0.182, allocations: 8 kB / 0.5972 GB, free: 6.504 MB / 0.4981 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.0009812/0.183, allocations: 474.6 kB / 0.5977 GB, free: 5.992 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 6.118e-05/0.183, allocations: 12.03 kB / 0.5977 GB, free: 5.98 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.735e-05/0.1831, allocations: 16.75 kB / 0.5977 GB, free: 5.965 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003216/0.1834, allocations: 227.9 kB / 0.5979 GB, free: 5.703 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.74e-05/0.1835, allocations: 8.375 kB / 0.598 GB, free: 5.695 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.29e-05/0.1835, allocations: 12.38 kB / 0.598 GB, free: 5.684 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003624/0.1839, allocations: 154.8 kB / 0.5981 GB, free: 5.512 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.069e-05/0.1839, allocations: 0 / 0.5981 GB, free: 5.512 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.871e-05/0.1839, allocations: 8 kB / 0.5981 GB, free: 5.504 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.262e-06/0.184, allocations: 0 / 0.5981 GB, free: 5.504 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002436/0.1842, allocations: 77.77 kB / 0.5982 GB, free: 5.43 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001077/0.1853, allocations: 0.7392 MB / 0.5989 GB, free: 4.625 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001674/0.1855, allocations: 54.48 kB / 0.599 GB, free: 4.562 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001091/0.1856, allocations: 32.83 kB / 0.599 GB, free: 4.527 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 2.37e-05/0.1856, allocations: 0 / 0.599 GB, free: 4.527 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003318/0.186, allocations: 126.7 kB / 0.5991 GB, free: 4.379 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=11): time 1.954e-06/0.186, allocations: 4 kB / 0.5991 GB, free: 4.375 MB / 0.4981 GB Notification: Performance of matching and sorting (n=11): time 0.0005519/0.1865, allocations: 157.3 kB / 0.5993 GB, free: 4.215 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000102/0.1866, allocations: 144.8 kB / 0.5994 GB, free: 4.043 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000219/0.1869, allocations: 199.6 kB / 0.5996 GB, free: 3.84 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 2.253e-05/0.1869, allocations: 29.7 kB / 0.5996 GB, free: 3.805 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 9.683e-05/0.187, allocations: 132 kB / 0.5998 GB, free: 3.672 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 4.683e-05/0.1871, allocations: 35.45 kB / 0.5998 GB, free: 3.637 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.1e-05/0.1871, allocations: 41.7 kB / 0.5998 GB, free: 3.59 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001584/0.1873, allocations: 330.8 kB / 0.6001 GB, free: 3.258 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001385/0.1875, allocations: 39.97 kB / 0.6002 GB, free: 3.219 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000195/0.1877, allocations: 153.5 kB / 0.6003 GB, free: 3.02 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003619/0.188, allocations: 198.3 kB / 0.6005 GB, free: 2.773 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.13e-06/0.188, allocations: 4 kB / 0.6005 GB, free: 2.77 MB / 0.4981 GB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0004357/0.1885, allocations: 197.3 kB / 0.6007 GB, free: 2.57 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 2.212e-05/0.1885, allocations: 8 kB / 0.6007 GB, free: 2.562 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.967e-06/0.1885, allocations: 7.922 kB / 0.6007 GB, free: 2.555 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.037e-05/0.1886, allocations: 8.234 kB / 0.6007 GB, free: 2.547 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000131/0.1887, allocations: 31.98 kB / 0.6008 GB, free: 2.516 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.419e-05/0.1887, allocations: 7.938 kB / 0.6008 GB, free: 2.508 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001961/0.1889, allocations: 32.17 kB / 0.6008 GB, free: 2.477 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.642e-05/0.1889, allocations: 8 kB / 0.6008 GB, free: 2.469 MB / 0.4981 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.0001301/0.1891, allocations: 144.1 kB / 0.6009 GB, free: 2.32 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.385e-05/0.1891, allocations: 15.81 kB / 0.601 GB, free: 2.305 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.053e-05/0.1892, allocations: 17.41 kB / 0.601 GB, free: 2.281 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.313e-06/0.1892, allocations: 4 kB / 0.601 GB, free: 2.277 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.528e-06/0.1892, allocations: 4.234 kB / 0.601 GB, free: 2.273 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.12e-06/0.1892, allocations: 3.938 kB / 0.601 GB, free: 2.27 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008295/0.1901, allocations: 0.5287 MB / 0.6015 GB, free: 1.684 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.835e-06/0.1901, allocations: 3.938 kB / 0.6015 GB, free: 1.68 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001176/0.1902, allocations: 19.92 kB / 0.6015 GB, free: 1.66 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.807e-06/0.1902, allocations: 0 / 0.6015 GB, free: 1.66 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.929e-05/0.1902, allocations: 4 kB / 0.6015 GB, free: 1.656 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.956e-06/0.1902, allocations: 0 / 0.6015 GB, free: 1.656 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.003e-06/0.1903, allocations: 11.94 kB / 0.6015 GB, free: 1.645 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005927/0.1909, allocations: 352.1 kB / 0.6019 GB, free: 1.277 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 5.776e-05/0.1909, allocations: 96.92 kB / 0.602 GB, free: 1.164 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.713e-05/0.191, allocations: 4 kB / 0.602 GB, free: 1.16 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001666/0.1911, allocations: 16.02 kB / 0.602 GB, free: 1.145 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.873e-05/0.1912, allocations: 15.92 kB / 0.602 GB, free: 1.129 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.969e-06/0.1912, allocations: 4 kB / 0.602 GB, free: 1.125 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.0001231/0.1913, allocations: 144.4 kB / 0.6021 GB, free: 0.9844 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.5e-07/0.1913, allocations: 0 / 0.6021 GB, free: 0.9844 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0003416/0.1917, allocations: 28 kB / 0.6022 GB, free: 0.957 MB / 0.4981 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.0001604/0.1919, allocations: 113.9 kB / 0.6023 GB, free: 0.8398 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0003545/0.1922, allocations: 120.6 kB / 0.6024 GB, free: 0.7227 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.976e-06/0.1922, allocations: 0 / 0.6024 GB, free: 0.7227 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0001527/0.1924, allocations: 56.03 kB / 0.6025 GB, free: 0.668 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005883/0.193, allocations: 66.39 kB / 0.6025 GB, free: 0.6055 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006346/0.1936, allocations: 356.5 kB / 0.6029 GB, free: 224 kB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.3017/0.4953, allocations: 0.7221 MB / 0.6036 GB, free: 43.34 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.0001609/0.4956, allocations: 14.5 kB / 0.6036 GB, free: 43.34 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.673e-05/0.4956, allocations: 19.53 kB / 0.6036 GB, free: 43.34 MB / 0.4981 GB Notification: Performance of SimCode: time 1.353e-06/0.4956, allocations: 0 / 0.6036 GB, free: 43.34 MB / 0.4981 GB Notification: Performance of Templates: time 0.004857/0.5005, allocations: 2.015 MB / 0.6056 GB, free: 43.31 MB / 0.4981 GB make -j1 -f BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.IntegratorWithReset.makefile (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)