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.001468/0.001468, allocations: 102.1 kB / 16.27 MB, free: 6.348 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.001458/0.001458, allocations: 187.6 kB / 17.2 MB, free: 5.949 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.528/1.528, allocations: 205.1 MB / 223.1 MB, free: 12.3 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.819/1.819, allocations: 292.3 MB / 0.5495 GB, free: 17.6 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.001468/0.001468, allocations: 67.91 kB / 0.6721 GB, free: 6.594 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2661/0.2676, allocations: 114.6 MB / 0.784 GB, free: 3.93 MB / 0.6544 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.IntegratorWithReset): time 0.003978/0.2716, allocations: 1.815 MB / 0.7858 GB, free: 2.094 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.00133/0.273, allocations: 0.5853 MB / 0.7864 GB, free: 1.5 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001848/0.2732, allocations: 7.938 kB / 0.7864 GB, free: 1.492 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 0.0001769/0.2734, allocations: 23.73 kB / 0.7864 GB, free: 1.469 MB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 0.0001293/0.2735, allocations: 31.72 kB / 0.7864 GB, free: 1.438 MB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 0.000287/0.2738, allocations: 67.84 kB / 0.7865 GB, free: 1.371 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 0.0003176/0.2741, allocations: 171.5 kB / 0.7866 GB, free: 1.203 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001828/0.2743, allocations: 41.66 kB / 0.7867 GB, free: 1.16 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001163/0.2745, allocations: 63.7 kB / 0.7867 GB, free: 1.098 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001049/0.2746, allocations: 63.64 kB / 0.7868 GB, free: 1.035 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 3.431e-05/0.2746, allocations: 8 kB / 0.7868 GB, free: 1.027 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 2.577e-05/0.2746, allocations: 12 kB / 0.7868 GB, free: 1.016 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 3.901e-05/0.2747, allocations: 23.92 kB / 0.7869 GB, free: 0.9922 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 8.233e-05/0.2748, allocations: 63.61 kB / 0.7869 GB, free: 0.9297 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.0002014/0.275, allocations: 127.7 kB / 0.787 GB, free: 0.8047 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 4.298e-06/0.275, allocations: 0 / 0.787 GB, free: 0.8047 MB / 0.6544 GB Notification: Performance of FrontEnd: time 4.339e-06/0.275, allocations: 3.984 kB / 0.787 GB, free: 0.8008 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 8.156e-06/0.275, allocations: 0 / 0.787 GB, free: 0.8008 MB / 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.001033/0.2761, allocations: 482.6 kB / 0.7875 GB, free: 288 kB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 5.762e-05/0.2761, allocations: 8.031 kB / 0.7875 GB, free: 280 kB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001023/0.2762, allocations: 20.75 kB / 0.7875 GB, free: 260 kB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.5091/0.7853, allocations: 224.8 kB / 0.7877 GB, free: 48.87 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.666e-05/0.7854, allocations: 11.06 kB / 0.7877 GB, free: 48.87 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.638e-05/0.7855, allocations: 12.66 kB / 0.7878 GB, free: 48.87 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003492/0.7858, allocations: 149.2 kB / 0.7879 GB, free: 48.8 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.144e-05/0.7859, allocations: 1.031 kB / 0.7879 GB, free: 48.8 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.667e-05/0.7859, allocations: 7.062 kB / 0.7879 GB, free: 48.8 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.522e-06/0.7859, allocations: 2.562 kB / 0.7879 GB, free: 48.8 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002216/0.7861, allocations: 73.47 kB / 0.788 GB, free: 48.8 MB / 0.6544 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008193/0.787, allocations: 0.7443 MB / 0.7887 GB, free: 48.2 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001373/0.7871, allocations: 47.56 kB / 0.7888 GB, free: 48.18 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.91e-05/0.7872, allocations: 36.39 kB / 0.7888 GB, free: 48.17 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 1.861e-05/0.7872, allocations: 2.891 kB / 0.7888 GB, free: 48.17 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002819/0.7875, allocations: 127.4 kB / 0.7889 GB, free: 48.09 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=11): time 1.814e-06/0.7875, allocations: 0 / 0.7889 GB, free: 48.09 MB / 0.6544 GB Notification: Performance of matching and sorting (n=11): time 0.0004678/0.788, allocations: 162.6 kB / 0.7891 GB, free: 48.06 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.63e-05/0.7881, allocations: 136.9 kB / 0.7892 GB, free: 47.9 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001441/0.7882, allocations: 207.8 kB / 0.7894 GB, free: 47.8 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 1.477e-05/0.7882, allocations: 28.3 kB / 0.7894 GB, free: 47.77 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 6.127e-05/0.7883, allocations: 128.8 kB / 0.7895 GB, free: 47.68 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 2.771e-05/0.7883, allocations: 41.06 kB / 0.7896 GB, free: 47.66 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.767e-05/0.7884, allocations: 47.16 kB / 0.7896 GB, free: 47.64 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 5.922e-05/0.7885, allocations: 328.2 kB / 0.7899 GB, free: 47.32 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000112/0.7886, allocations: 35.55 kB / 0.79 GB, free: 47.32 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001341/0.7887, allocations: 141 kB / 0.7901 GB, free: 47.19 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002551/0.789, allocations: 207.3 kB / 0.7903 GB, free: 47.06 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.354e-06/0.789, allocations: 0.625 kB / 0.7903 GB, free: 47.06 MB / 0.6544 GB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0003372/0.7893, allocations: 206.2 kB / 0.7905 GB, free: 47.02 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 1.708e-05/0.7894, allocations: 6 kB / 0.7905 GB, free: 47.02 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.674e-06/0.7894, allocations: 9.188 kB / 0.7905 GB, free: 47.02 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.341e-05/0.7894, allocations: 10.27 kB / 0.7905 GB, free: 47.02 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001159/0.7895, allocations: 32.84 kB / 0.7906 GB, free: 47.02 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.244e-05/0.7896, allocations: 9.328 kB / 0.7906 GB, free: 47.02 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001345/0.7897, allocations: 26.91 kB / 0.7906 GB, free: 47.01 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.202e-05/0.7897, allocations: 6.531 kB / 0.7906 GB, free: 47.01 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.114e-05/0.7898, allocations: 137.8 kB / 0.7907 GB, free: 46.9 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.786e-05/0.7898, allocations: 17.78 kB / 0.7908 GB, free: 46.89 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.194e-05/0.7899, allocations: 24.92 kB / 0.7908 GB, free: 46.89 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.615e-06/0.7899, allocations: 1.969 kB / 0.7908 GB, free: 46.89 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.432e-06/0.7899, allocations: 4.812 kB / 0.7908 GB, free: 46.89 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.127e-06/0.7899, allocations: 0.875 kB / 0.7908 GB, free: 46.89 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005951/0.7905, allocations: 0.5203 MB / 0.7913 GB, free: 46.51 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.823e-06/0.7905, allocations: 1.781 kB / 0.7913 GB, free: 46.51 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001087/0.7906, allocations: 22.59 kB / 0.7913 GB, free: 46.51 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.805e-06/0.7907, allocations: 0.9062 kB / 0.7913 GB, free: 46.51 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.509e-05/0.7907, allocations: 6.188 kB / 0.7913 GB, free: 46.51 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.885e-06/0.7907, allocations: 4.969 kB / 0.7913 GB, free: 46.51 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.485e-06/0.7907, allocations: 1.375 kB / 0.7913 GB, free: 46.51 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004259/0.7911, allocations: 360.8 kB / 0.7917 GB, free: 46.27 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 3.581e-05/0.7912, allocations: 95.2 kB / 0.7918 GB, free: 46.17 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.72e-05/0.7912, allocations: 5.125 kB / 0.7918 GB, free: 46.17 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001572/0.7914, allocations: 13.11 kB / 0.7918 GB, free: 46.17 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.349e-05/0.7914, allocations: 15.94 kB / 0.7918 GB, free: 46.17 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.275e-06/0.7914, allocations: 6.719 kB / 0.7918 GB, free: 46.17 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 8.185e-05/0.7915, allocations: 138.1 kB / 0.7919 GB, free: 46.1 MB / 0.6544 GB Notification: Performance of sort global known variables: time 1.1e-07/0.7915, allocations: 0 / 0.7919 GB, free: 46.1 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.0003263/0.7919, allocations: 32.25 kB / 0.792 GB, free: 46.1 MB / 0.6544 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.0001081/0.792, allocations: 108.9 kB / 0.7921 GB, free: 46.01 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.0003157/0.7923, allocations: 122.4 kB / 0.7922 GB, free: 46.01 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 3.196e-06/0.7923, allocations: 2.625 kB / 0.7922 GB, free: 46.01 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 0.0001363/0.7924, allocations: 48.31 kB / 0.7922 GB, free: 46.01 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005536/0.793, allocations: 64.47 kB / 0.7923 GB, free: 46.01 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005524/0.7936, allocations: 376.4 kB / 0.7927 GB, free: 45.76 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001681/0.7937, allocations: 0.7208 MB / 0.7934 GB, free: 45.06 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.451e-05/0.7938, allocations: 21.94 kB / 0.7934 GB, free: 45.05 MB / 0.6544 GB Notification: Performance of SimCode: time 1.453e-06/0.7938, allocations: 0 / 0.7934 GB, free: 45.05 MB / 0.6544 GB Notification: Performance of Templates: time 0.003629/0.7974, allocations: 2.152 MB / 0.7955 GB, free: 44.93 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)