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.001333/0.001333, allocations: 103.9 kB / 15.98 MB, free: 6.312 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.001496/0.001496, allocations: 197.8 kB / 16.91 MB, free: 6.16 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.391/1.391, allocations: 205.1 MB / 222.8 MB, free: 4.688 MB / 174.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.702/1.702, allocations: 292.3 MB / 0.5492 GB, free: 13.61 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.001295/0.001295, allocations: 64.2 kB / 0.6716 GB, free: 26.39 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2004/0.2017, allocations: 114.5 MB / 0.7835 GB, free: 13.93 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.IntegratorWithReset): time 0.003037/0.2048, allocations: 1.877 MB / 0.7853 GB, free: 12.03 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.000951/0.2057, allocations: 0.5698 MB / 0.7859 GB, free: 11.45 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.569e-05/0.2058, allocations: 7.938 kB / 0.7859 GB, free: 11.44 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.0001495/0.206, allocations: 11.86 kB / 0.7859 GB, free: 11.43 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 7.018e-05/0.2061, allocations: 23.78 kB / 0.7859 GB, free: 11.41 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001999/0.2063, allocations: 59.95 kB / 0.786 GB, free: 11.35 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0002176/0.2065, allocations: 175.4 kB / 0.7862 GB, free: 11.18 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001417/0.2067, allocations: 45.66 kB / 0.7862 GB, free: 11.13 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 7.704e-05/0.2068, allocations: 59.72 kB / 0.7863 GB, free: 11.07 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 7.987e-05/0.2068, allocations: 55.69 kB / 0.7863 GB, free: 11.02 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 2.741e-05/0.2069, allocations: 16 kB / 0.7863 GB, free: 11 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 2.007e-05/0.2069, allocations: 8 kB / 0.7863 GB, free: 11 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 3.436e-05/0.2069, allocations: 27.86 kB / 0.7864 GB, free: 10.97 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 6.557e-05/0.207, allocations: 67.59 kB / 0.7864 GB, free: 10.9 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0001382/0.2072, allocations: 92.08 kB / 0.7865 GB, free: 10.81 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 5.931e-06/0.2072, allocations: 0 / 0.7865 GB, free: 10.81 MB / 0.6075 GB Notification: Performance of FrontEnd: time 3.055e-06/0.2072, allocations: 7.938 kB / 0.7865 GB, free: 10.8 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 5.74e-06/0.2072, allocations: 0 / 0.7865 GB, free: 10.8 MB / 0.6075 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.0007014/0.2079, allocations: 466.7 kB / 0.787 GB, free: 10.3 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.889e-05/0.2079, allocations: 12.03 kB / 0.787 GB, free: 10.29 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.742e-05/0.208, allocations: 16.75 kB / 0.787 GB, free: 10.27 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002492/0.2083, allocations: 231.8 kB / 0.7872 GB, free: 10.01 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.353e-05/0.2083, allocations: 8.375 kB / 0.7872 GB, free: 10 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.442e-05/0.2083, allocations: 12.38 kB / 0.7872 GB, free: 9.988 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003062/0.2086, allocations: 157.2 kB / 0.7874 GB, free: 9.816 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.427e-06/0.2086, allocations: 0 / 0.7874 GB, free: 9.816 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.709e-05/0.2087, allocations: 8 kB / 0.7874 GB, free: 9.809 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.222e-06/0.2087, allocations: 0 / 0.7874 GB, free: 9.809 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002217/0.2089, allocations: 75.81 kB / 0.7875 GB, free: 9.734 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009103/0.2098, allocations: 0.7431 MB / 0.7882 GB, free: 8.926 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001456/0.21, allocations: 50.5 kB / 0.7882 GB, free: 8.867 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001026/0.2101, allocations: 36.83 kB / 0.7883 GB, free: 8.828 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 2.078e-05/0.2101, allocations: 0 / 0.7883 GB, free: 8.828 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002879/0.2104, allocations: 122.7 kB / 0.7884 GB, free: 8.684 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=11): time 2.535e-06/0.2104, allocations: 7.984 kB / 0.7884 GB, free: 8.676 MB / 0.6075 GB Notification: Performance of matching and sorting (n=11): time 0.0004513/0.2109, allocations: 165.2 kB / 0.7886 GB, free: 8.508 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.792e-05/0.211, allocations: 132.5 kB / 0.7887 GB, free: 8.348 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001836/0.2112, allocations: 207.4 kB / 0.7889 GB, free: 8.133 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 2.292e-05/0.2112, allocations: 33.95 kB / 0.7889 GB, free: 8.094 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 9.218e-05/0.2113, allocations: 131.8 kB / 0.789 GB, free: 7.961 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 3.158e-05/0.2113, allocations: 35.69 kB / 0.7891 GB, free: 7.926 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.204e-05/0.2114, allocations: 45.61 kB / 0.7891 GB, free: 7.875 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001257/0.2115, allocations: 326.8 kB / 0.7894 GB, free: 7.547 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001179/0.2117, allocations: 35.97 kB / 0.7895 GB, free: 7.512 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001763/0.2118, allocations: 150.5 kB / 0.7896 GB, free: 7.312 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000303/0.2121, allocations: 202.3 kB / 0.7898 GB, free: 7.062 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.768e-06/0.2122, allocations: 4 kB / 0.7898 GB, free: 7.059 MB / 0.6075 GB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0003783/0.2125, allocations: 201.5 kB / 0.79 GB, free: 6.855 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.761e-05/0.2126, allocations: 12.03 kB / 0.79 GB, free: 6.844 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.65e-06/0.2126, allocations: 0 / 0.79 GB, free: 6.844 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.4e-05/0.2126, allocations: 8 kB / 0.79 GB, free: 6.836 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001228/0.2127, allocations: 36.17 kB / 0.7901 GB, free: 6.801 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.696e-06/0.2127, allocations: 4 kB / 0.7901 GB, free: 6.797 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000139/0.2129, allocations: 27.83 kB / 0.7901 GB, free: 6.77 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.787e-05/0.2129, allocations: 15.98 kB / 0.7901 GB, free: 6.754 MB / 0.6075 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.0001108/0.213, allocations: 146.2 kB / 0.7902 GB, free: 6.602 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.76e-05/0.2131, allocations: 15.81 kB / 0.7903 GB, free: 6.586 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.622e-05/0.2131, allocations: 21.39 kB / 0.7903 GB, free: 6.562 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.408e-06/0.2131, allocations: 4 kB / 0.7903 GB, free: 6.559 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.809e-06/0.2131, allocations: 0 / 0.7903 GB, free: 6.559 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.078e-06/0.2131, allocations: 0 / 0.7903 GB, free: 6.559 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007413/0.2139, allocations: 0.5132 MB / 0.7908 GB, free: 5.988 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.894e-06/0.2139, allocations: 0 / 0.7908 GB, free: 5.988 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001153/0.214, allocations: 19.92 kB / 0.7908 GB, free: 5.969 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.504e-06/0.214, allocations: 0 / 0.7908 GB, free: 5.969 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.641e-05/0.214, allocations: 8 kB / 0.7908 GB, free: 5.961 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.864e-06/0.2141, allocations: 0 / 0.7908 GB, free: 5.961 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.857e-06/0.2141, allocations: 7.938 kB / 0.7908 GB, free: 5.953 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004962/0.2146, allocations: 354.5 kB / 0.7912 GB, free: 5.586 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 5.124e-05/0.2146, allocations: 92.88 kB / 0.7912 GB, free: 5.477 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.754e-05/0.2147, allocations: 15.92 kB / 0.7913 GB, free: 5.461 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000164/0.2148, allocations: 7.984 kB / 0.7913 GB, free: 5.453 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.798e-05/0.2149, allocations: 23.92 kB / 0.7913 GB, free: 5.43 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.668e-06/0.2149, allocations: 4 kB / 0.7913 GB, free: 5.426 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.0001136/0.215, allocations: 136.6 kB / 0.7914 GB, free: 5.293 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.2e-07/0.215, allocations: 0 / 0.7914 GB, free: 5.293 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0003288/0.2154, allocations: 28 kB / 0.7914 GB, free: 5.266 MB / 0.6075 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.0001404/0.2155, allocations: 119.4 kB / 0.7916 GB, free: 5.141 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0003264/0.2159, allocations: 119.8 kB / 0.7917 GB, free: 5.023 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 2.985e-06/0.2159, allocations: 0 / 0.7917 GB, free: 5.023 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.0001796/0.2161, allocations: 52 kB / 0.7917 GB, free: 4.973 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006035/0.2167, allocations: 69.39 kB / 0.7918 GB, free: 4.906 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008253/0.2175, allocations: 422.2 kB / 0.7922 GB, free: 4.453 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003578/0.2179, allocations: 0.7203 MB / 0.7929 GB, free: 3.707 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.376e-05/0.2179, allocations: 27.44 kB / 0.7929 GB, free: 3.684 MB / 0.6075 GB Notification: Performance of SimCode: time 2.5e-07/0.2179, allocations: 0 / 0.7929 GB, free: 3.684 MB / 0.6075 GB Notification: Performance of Templates: time 0.004101/0.2221, allocations: 2.134 MB / 0.795 GB, free: 1.566 MB / 0.6075 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)