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.0009664/0.0009665, allocations: 106.6 kB / 16.29 MB, free: 6.43 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.0009387/0.0009387, allocations: 184 kB / 17.22 MB, free: 5.934 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.2/1.2, 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.607/1.607, allocations: 292.3 MB / 0.5495 GB, free: 17.47 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.001271/0.001271, allocations: 67.91 kB / 0.6722 GB, free: 6.52 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1877/0.189, allocations: 114.6 MB / 0.7841 GB, free: 3.848 MB / 0.6544 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.IntegratorWithReset): time 0.003276/0.1923, allocations: 1.803 MB / 0.7858 GB, free: 2.027 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.00102/0.1934, allocations: 0.5853 MB / 0.7864 GB, free: 1.434 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001234/0.1935, allocations: 8 kB / 0.7864 GB, free: 1.426 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 0.0001282/0.1937, allocations: 23.73 kB / 0.7864 GB, free: 1.402 MB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 7.497e-05/0.1938, allocations: 27.72 kB / 0.7865 GB, free: 1.375 MB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002303/0.194, allocations: 67.84 kB / 0.7865 GB, free: 1.309 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 0.000223/0.1942, allocations: 175.5 kB / 0.7867 GB, free: 1.137 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001517/0.1944, allocations: 53.59 kB / 0.7867 GB, free: 1.082 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 9.104e-05/0.1945, allocations: 59.77 kB / 0.7868 GB, free: 1.023 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 6.93e-05/0.1946, allocations: 55.64 kB / 0.7869 GB, free: 0.9688 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 2.465e-05/0.1946, allocations: 12 kB / 0.7869 GB, free: 0.957 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 2.044e-05/0.1946, allocations: 8 kB / 0.7869 GB, free: 0.9492 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 3.352e-05/0.1947, allocations: 27.86 kB / 0.7869 GB, free: 0.9219 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 6.673e-05/0.1947, allocations: 67.55 kB / 0.787 GB, free: 0.8555 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.0001533/0.1949, allocations: 131.7 kB / 0.7871 GB, free: 0.7266 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 5.269e-06/0.1949, allocations: 3.984 kB / 0.7871 GB, free: 0.7227 MB / 0.6544 GB Notification: Performance of FrontEnd: time 1.222e-06/0.1949, allocations: 4 kB / 0.7871 GB, free: 0.7188 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 9.197e-06/0.1949, allocations: 0 / 0.7871 GB, free: 0.7188 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.0006335/0.1956, allocations: 478.6 kB / 0.7876 GB, free: 208 kB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 3.071e-05/0.1956, allocations: 8.031 kB / 0.7876 GB, free: 200 kB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.925e-05/0.1956, allocations: 20.75 kB / 0.7876 GB, free: 180 kB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.2807/0.4764, allocations: 229.4 kB / 0.7878 GB, free: 48.78 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.738e-05/0.4764, allocations: 8.062 kB / 0.7878 GB, free: 48.78 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.538e-05/0.4765, allocations: 14.38 kB / 0.7878 GB, free: 48.78 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002699/0.4768, allocations: 149.3 kB / 0.788 GB, free: 48.71 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.738e-06/0.4768, allocations: 2.25 kB / 0.788 GB, free: 48.71 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.376e-05/0.4768, allocations: 5.438 kB / 0.788 GB, free: 48.71 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.741e-06/0.4768, allocations: 2.625 kB / 0.788 GB, free: 48.71 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001853/0.477, allocations: 75.36 kB / 0.788 GB, free: 48.7 MB / 0.6544 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006647/0.4777, allocations: 0.7417 MB / 0.7888 GB, free: 48.11 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001148/0.4778, allocations: 44.77 kB / 0.7888 GB, free: 48.08 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.334e-05/0.4779, allocations: 34.17 kB / 0.7888 GB, free: 48.07 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 2.219e-05/0.4779, allocations: 5.906 kB / 0.7889 GB, free: 48.07 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002415/0.4782, allocations: 122.1 kB / 0.789 GB, free: 48 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=11): time 1.693e-06/0.4782, allocations: 0 / 0.789 GB, free: 48 MB / 0.6544 GB Notification: Performance of matching and sorting (n=11): time 0.0003687/0.4786, allocations: 165.1 kB / 0.7891 GB, free: 47.96 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.913e-05/0.4786, allocations: 142.5 kB / 0.7893 GB, free: 47.8 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001213/0.4787, allocations: 208.2 kB / 0.7895 GB, free: 47.69 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 1.187e-05/0.4788, allocations: 28.77 kB / 0.7895 GB, free: 47.66 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 5.075e-05/0.4788, allocations: 129.1 kB / 0.7896 GB, free: 47.56 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 2.399e-05/0.4788, allocations: 36.27 kB / 0.7896 GB, free: 47.54 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.079e-05/0.4789, allocations: 45.41 kB / 0.7897 GB, free: 47.52 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 4.738e-05/0.4789, allocations: 325 kB / 0.79 GB, free: 47.21 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.989e-05/0.479, allocations: 43.92 kB / 0.79 GB, free: 47.21 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001138/0.4792, allocations: 139.6 kB / 0.7902 GB, free: 47.08 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002164/0.4794, allocations: 203.8 kB / 0.7904 GB, free: 46.95 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.016e-06/0.4794, allocations: 3.375 kB / 0.7904 GB, free: 46.95 MB / 0.6544 GB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0002903/0.4797, allocations: 206.7 kB / 0.7906 GB, free: 46.9 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 1.424e-05/0.4797, allocations: 10.38 kB / 0.7906 GB, free: 46.9 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.312e-06/0.4797, allocations: 2.969 kB / 0.7906 GB, free: 46.9 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.557e-05/0.4798, allocations: 8.734 kB / 0.7906 GB, free: 46.9 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001056/0.4799, allocations: 42.27 kB / 0.7906 GB, free: 46.9 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.206e-06/0.4799, allocations: 5.031 kB / 0.7906 GB, free: 46.9 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001173/0.48, allocations: 28.42 kB / 0.7907 GB, free: 46.89 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.198e-05/0.48, allocations: 9.391 kB / 0.7907 GB, free: 46.89 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 6.97e-05/0.4801, allocations: 137.6 kB / 0.7908 GB, free: 46.78 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.416e-05/0.4801, allocations: 23.81 kB / 0.7908 GB, free: 46.77 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.565e-05/0.4802, allocations: 18.53 kB / 0.7908 GB, free: 46.77 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.545e-06/0.4802, allocations: 3.531 kB / 0.7908 GB, free: 46.77 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.737e-06/0.4802, allocations: 0 / 0.7908 GB, free: 46.77 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.399e-06/0.4802, allocations: 6.172 kB / 0.7909 GB, free: 46.77 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005112/0.4807, allocations: 0.5141 MB / 0.7914 GB, free: 46.39 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.914e-06/0.4807, allocations: 2.688 kB / 0.7914 GB, free: 46.39 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.653e-05/0.4808, allocations: 18.89 kB / 0.7914 GB, free: 46.39 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.494e-06/0.4808, allocations: 2.625 kB / 0.7914 GB, free: 46.39 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.144e-05/0.4808, allocations: 2.625 kB / 0.7914 GB, free: 46.39 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.653e-06/0.4808, allocations: 0 / 0.7914 GB, free: 46.39 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.453e-06/0.4809, allocations: 2.625 kB / 0.7914 GB, free: 46.39 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000345/0.4812, allocations: 358.5 kB / 0.7917 GB, free: 46.16 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 2.952e-05/0.4812, allocations: 101 kB / 0.7918 GB, free: 46.05 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.19e-05/0.4813, allocations: 6.031 kB / 0.7918 GB, free: 46.05 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001502/0.4814, allocations: 12.33 kB / 0.7918 GB, free: 46.05 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.833e-05/0.4815, allocations: 15.47 kB / 0.7919 GB, free: 46.05 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.004e-05/0.4815, allocations: 11.86 kB / 0.7919 GB, free: 46.05 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 7.05e-05/0.4816, allocations: 137.4 kB / 0.792 GB, free: 45.98 MB / 0.6544 GB Notification: Performance of sort global known variables: time 1e-07/0.4816, allocations: 2.625 kB / 0.792 GB, free: 45.98 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.0002932/0.4819, allocations: 25.69 kB / 0.792 GB, free: 45.98 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 8.627e-05/0.482, allocations: 113.1 kB / 0.7921 GB, free: 45.89 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.0002514/0.4822, allocations: 116 kB / 0.7922 GB, free: 45.89 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 2.104e-06/0.4822, allocations: 1 kB / 0.7922 GB, free: 45.89 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 0.0001109/0.4823, allocations: 51.06 kB / 0.7923 GB, free: 45.88 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004679/0.4828, allocations: 60.2 kB / 0.7923 GB, free: 45.88 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004299/0.4833, allocations: 339 kB / 0.7927 GB, free: 45.67 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001231/0.4834, allocations: 0.7256 MB / 0.7934 GB, free: 44.97 MB / 0.6544 GB Notification: Performance of simCode: alias equations: time 5.603e-05/0.4835, allocations: 16.41 kB / 0.7934 GB, free: 44.97 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.551e-05/0.4835, allocations: 19.78 kB / 0.7934 GB, free: 44.96 MB / 0.6544 GB Notification: Performance of SimCode: time 2.1e-07/0.4835, allocations: 0 / 0.7934 GB, free: 44.96 MB / 0.6544 GB Notification: Performance of Templates: time 0.003894/0.4874, allocations: 2.021 MB / 0.7954 GB, free: 44.88 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 -s cvode -lv LOG_STATS > Buildings_8_Buildings.Utilities.Math.Examples.IntegratorWithReset.pipe 2>&1)