Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_8_Buildings.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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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(Buildings.Utilities.Math.Examples.IntegratorWithReset,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Utilities.Math.Examples.IntegratorWithReset") translateModel(Buildings.Utilities.Math.Examples.IntegratorWithReset,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.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.001106/0.001106, allocations: 104 kB / 16.36 MB, free: 6.262 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001248/0.001248, allocations: 193.4 kB / 17.3 MB, free: 5.848 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.383/1.383, allocations: 205.1 MB / 223.2 MB, free: 12.19 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.703/1.703, allocations: 292.3 MB / 0.5496 GB, free: 17.42 MB / 462.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001519/0.001519, allocations: 71.03 kB / 0.6729 GB, free: 5.875 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2239/0.2255, allocations: 114.6 MB / 0.7848 GB, free: 3.203 MB / 0.6544 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.IntegratorWithReset): time 0.003182/0.2287, allocations: 1.815 MB / 0.7866 GB, free: 1.371 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.001051/0.2298, allocations: 0.5931 MB / 0.7871 GB, free: 0.7695 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001426/0.2299, allocations: 0 / 0.7871 GB, free: 0.7695 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 0.0001561/0.2301, allocations: 27.72 kB / 0.7872 GB, free: 0.7422 MB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 8.394e-05/0.2302, allocations: 23.75 kB / 0.7872 GB, free: 0.7188 MB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002292/0.2304, allocations: 67.84 kB / 0.7873 GB, free: 0.6523 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 0.000227/0.2307, allocations: 163.5 kB / 0.7874 GB, free: 0.4922 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001489/0.2308, allocations: 57.58 kB / 0.7875 GB, free: 444 kB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 8.584e-05/0.2309, allocations: 55.72 kB / 0.7875 GB, free: 388 kB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 7.922e-05/0.231, allocations: 55.7 kB / 0.7876 GB, free: 332 kB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 2.445e-05/0.231, allocations: 8 kB / 0.7876 GB, free: 324 kB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 1.997e-05/0.2311, allocations: 12 kB / 0.7876 GB, free: 312 kB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 3.409e-05/0.2311, allocations: 31.84 kB / 0.7876 GB, free: 280 kB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 6.8e-05/0.2312, allocations: 67.55 kB / 0.7877 GB, free: 212 kB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.0001735/0.2314, allocations: 135.5 kB / 0.7878 GB, free: 76 kB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 5.881e-06/0.2314, allocations: 0 / 0.7878 GB, free: 76 kB / 0.6544 GB Notification: Performance of FrontEnd: time 1.633e-06/0.2314, allocations: 0 / 0.7878 GB, free: 76 kB / 0.6544 GB Notification: Performance of Transformations before backend: time 7.084e-06/0.2314, allocations: 0 / 0.7878 GB, free: 76 kB / 0.6544 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.417/0.6484, allocations: 479 kB / 0.7883 GB, free: 48.94 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 4.535e-05/0.6484, allocations: 8.188 kB / 0.7883 GB, free: 48.94 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.333e-05/0.6485, allocations: 20.11 kB / 0.7883 GB, free: 48.93 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003172/0.6488, allocations: 231.1 kB / 0.7885 GB, free: 48.72 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.069e-05/0.6488, allocations: 9.781 kB / 0.7885 GB, free: 48.72 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.604e-05/0.6489, allocations: 17.62 kB / 0.7885 GB, free: 48.72 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000261/0.6491, allocations: 145.9 kB / 0.7887 GB, free: 48.65 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.556e-06/0.6492, allocations: 0 / 0.7887 GB, free: 48.65 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.629e-05/0.6492, allocations: 9.031 kB / 0.7887 GB, free: 48.64 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.843e-06/0.6492, allocations: 2.844 kB / 0.7887 GB, free: 48.64 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002119/0.6494, allocations: 79.14 kB / 0.7888 GB, free: 48.64 MB / 0.6544 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000764/0.6502, allocations: 0.7381 MB / 0.7895 GB, free: 48.04 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001236/0.6503, allocations: 44.56 kB / 0.7895 GB, free: 48.01 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.399e-05/0.6504, allocations: 35.59 kB / 0.7896 GB, free: 48 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 2.191e-05/0.6505, allocations: 1.875 kB / 0.7896 GB, free: 48 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000202/0.6507, allocations: 124 kB / 0.7897 GB, free: 47.93 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=11): time 1.262e-06/0.6507, allocations: 0 / 0.7897 GB, free: 47.93 MB / 0.6544 GB Notification: Performance of matching and sorting (n=11): time 0.0004624/0.6511, allocations: 167.8 kB / 0.7898 GB, free: 47.88 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.8e-05/0.6512, allocations: 133.1 kB / 0.79 GB, free: 47.73 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000161/0.6514, allocations: 206.6 kB / 0.7902 GB, free: 47.62 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 1.504e-05/0.6514, allocations: 31.8 kB / 0.7902 GB, free: 47.59 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 6.44e-05/0.6515, allocations: 122.7 kB / 0.7903 GB, free: 47.5 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 2.782e-05/0.6515, allocations: 35.28 kB / 0.7903 GB, free: 47.48 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.637e-05/0.6516, allocations: 47.91 kB / 0.7904 GB, free: 47.46 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 6.317e-05/0.6516, allocations: 335.5 kB / 0.7907 GB, free: 47.14 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001073/0.6517, allocations: 35.5 kB / 0.7907 GB, free: 47.14 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001495/0.6519, allocations: 142 kB / 0.7909 GB, free: 47.01 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002715/0.6522, allocations: 205 kB / 0.7911 GB, free: 46.88 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.568e-06/0.6522, allocations: 8.641 kB / 0.7911 GB, free: 46.88 MB / 0.6544 GB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0003484/0.6525, allocations: 205.3 kB / 0.7913 GB, free: 46.84 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 1.6e-05/0.6526, allocations: 8.906 kB / 0.7913 GB, free: 46.84 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.223e-06/0.6526, allocations: 5.562 kB / 0.7913 GB, free: 46.84 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.301e-05/0.6526, allocations: 5.469 kB / 0.7913 GB, free: 46.84 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001146/0.6527, allocations: 31.97 kB / 0.7913 GB, free: 46.84 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.037e-05/0.6527, allocations: 8.719 kB / 0.7913 GB, free: 46.84 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001304/0.6529, allocations: 32.83 kB / 0.7914 GB, free: 46.83 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.127e-05/0.6529, allocations: 7.875 kB / 0.7914 GB, free: 46.83 MB / 0.6544 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 8.544e-05/0.653, allocations: 142.5 kB / 0.7915 GB, free: 46.71 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.374e-05/0.653, allocations: 15.53 kB / 0.7915 GB, free: 46.7 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.835e-05/0.6531, allocations: 21.11 kB / 0.7916 GB, free: 46.7 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.679e-06/0.6531, allocations: 3.375 kB / 0.7916 GB, free: 46.7 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.054e-06/0.6531, allocations: 4.844 kB / 0.7916 GB, free: 46.7 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 3.49e-05/0.6531, allocations: 93.02 kB / 0.7916 GB, free: 46.6 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.524e-05/0.6531, allocations: 2.75 kB / 0.7917 GB, free: 46.6 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001018/0.6532, allocations: 17.2 kB / 0.7917 GB, free: 46.6 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.278e-05/0.6533, allocations: 16.66 kB / 0.7917 GB, free: 46.59 MB / 0.6544 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0004823/0.6538, allocations: 469.4 kB / 0.7921 GB, free: 46.26 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0004498/0.6543, allocations: 0.5771 MB / 0.7927 GB, free: 45.82 MB / 0.6544 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0001214/0.6544, allocations: 52.05 kB / 0.7927 GB, free: 45.82 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 7.31e-05/0.6545, allocations: 140.5 kB / 0.7929 GB, free: 45.75 MB / 0.6544 GB Notification: Performance of Backend: time 5.41e-07/0.6545, allocations: 1.75 kB / 0.7929 GB, free: 45.75 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.000706/0.6552, allocations: 169.9 kB / 0.793 GB, free: 45.68 MB / 0.6544 GB Notification: Performance of SimCode: time 0.0008247/0.656, allocations: 0.8172 MB / 0.7938 GB, free: 45.02 MB / 0.6544 GB Notification: Performance of Templates: time 0.00465/0.6607, allocations: 2.275 MB / 0.7961 GB, free: 44.92 MB / 0.6544 GB make -j1 -f Buildings_8_Buildings.Utilities.Math.Examples.IntegratorWithReset.makefile (rm -f Buildings_8_Buildings.Utilities.Math.Examples.IntegratorWithReset.pipe ; mkfifo Buildings_8_Buildings.Utilities.Math.Examples.IntegratorWithReset.pipe ; head -c 1048576 < Buildings_8_Buildings.Utilities.Math.Examples.IntegratorWithReset.pipe >> ../files/Buildings_8_Buildings.Utilities.Math.Examples.IntegratorWithReset.sim & ./Buildings_8_Buildings.Utilities.Math.Examples.IntegratorWithReset -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Utilities.Math.Examples.IntegratorWithReset.pipe 2>&1)