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.0009398/0.0009398, allocations: 107.3 kB / 15.33 MB, free: 0.5039 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.001036/0.001036, allocations: 197.7 kB / 16.25 MB, free: 6.629 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.221/1.221, allocations: 205.1 MB / 222.1 MB, free: 4.723 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.552/1.552, allocations: 292.2 MB / 0.5485 GB, free: 13.64 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.001282/0.001282, allocations: 65.58 kB / 0.671 GB, free: 26.54 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2036/0.2049, allocations: 114.5 MB / 0.7828 GB, free: 13.93 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.IntegratorWithReset): time 0.003129/0.208, allocations: 1.884 MB / 0.7847 GB, free: 12.03 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.0009104/0.209, allocations: 0.5737 MB / 0.7852 GB, free: 11.45 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.815e-05/0.2091, allocations: 3.938 kB / 0.7852 GB, free: 11.44 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.0001704/0.2093, allocations: 15.86 kB / 0.7853 GB, free: 11.43 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 8.358e-05/0.2094, allocations: 19.8 kB / 0.7853 GB, free: 11.41 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002374/0.2096, allocations: 55.94 kB / 0.7853 GB, free: 11.35 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0002336/0.2098, allocations: 171.4 kB / 0.7855 GB, free: 11.18 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001763/0.21, allocations: 57.62 kB / 0.7856 GB, free: 11.13 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 8.621e-05/0.2101, allocations: 51.73 kB / 0.7856 GB, free: 11.08 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 7.94e-05/0.2102, allocations: 51.7 kB / 0.7857 GB, free: 11.03 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 2.577e-05/0.2102, allocations: 12 kB / 0.7857 GB, free: 11.02 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 2.386e-05/0.2103, allocations: 12 kB / 0.7857 GB, free: 11 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 4.17e-05/0.2103, allocations: 27.86 kB / 0.7857 GB, free: 10.98 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 8.18e-05/0.2104, allocations: 75.58 kB / 0.7858 GB, free: 10.9 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0002024/0.2106, allocations: 127.8 kB / 0.7859 GB, free: 10.78 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 7.594e-06/0.2106, allocations: 0 / 0.7859 GB, free: 10.78 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.903e-06/0.2106, allocations: 3.938 kB / 0.7859 GB, free: 10.77 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 7.745e-06/0.2106, allocations: 0 / 0.7859 GB, free: 10.77 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.0007886/0.2114, allocations: 470.7 kB / 0.7863 GB, free: 10.27 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 4.529e-05/0.2115, allocations: 8.031 kB / 0.7864 GB, free: 10.26 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.752e-05/0.2116, allocations: 20.75 kB / 0.7864 GB, free: 10.24 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002826/0.2118, allocations: 231.9 kB / 0.7866 GB, free: 9.973 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.94e-05/0.2119, allocations: 8.375 kB / 0.7866 GB, free: 9.965 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.295e-05/0.2119, allocations: 12.38 kB / 0.7866 GB, free: 9.953 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003158/0.2122, allocations: 153.2 kB / 0.7868 GB, free: 9.785 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.168e-05/0.2123, allocations: 0 / 0.7868 GB, free: 9.785 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.657e-05/0.2123, allocations: 8 kB / 0.7868 GB, free: 9.777 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.731e-06/0.2123, allocations: 4 kB / 0.7868 GB, free: 9.773 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002248/0.2125, allocations: 71.88 kB / 0.7868 GB, free: 9.703 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009513/0.2135, allocations: 0.7469 MB / 0.7876 GB, free: 8.891 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001487/0.2137, allocations: 50.44 kB / 0.7876 GB, free: 8.832 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.939e-05/0.2138, allocations: 36.83 kB / 0.7877 GB, free: 8.793 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 2.78e-05/0.2138, allocations: 4 kB / 0.7877 GB, free: 8.789 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003138/0.2141, allocations: 130.8 kB / 0.7878 GB, free: 8.637 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=11): time 1.182e-06/0.2141, allocations: 0 / 0.7878 GB, free: 8.637 MB / 0.6075 GB Notification: Performance of matching and sorting (n=11): time 0.0004659/0.2146, allocations: 165.5 kB / 0.7879 GB, free: 8.469 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.837e-05/0.2147, allocations: 136.5 kB / 0.7881 GB, free: 8.305 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000168/0.2149, allocations: 203.4 kB / 0.7883 GB, free: 8.094 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 1.757e-05/0.2149, allocations: 25.7 kB / 0.7883 GB, free: 8.062 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 7.275e-05/0.215, allocations: 131.8 kB / 0.7884 GB, free: 7.93 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 3.322e-05/0.215, allocations: 35.55 kB / 0.7885 GB, free: 7.895 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.624e-05/0.2151, allocations: 45.67 kB / 0.7885 GB, free: 7.844 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001085/0.2152, allocations: 326.8 kB / 0.7888 GB, free: 7.516 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001154/0.2153, allocations: 39.97 kB / 0.7888 GB, free: 7.477 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001628/0.2155, allocations: 146.5 kB / 0.789 GB, free: 7.281 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002737/0.2157, allocations: 202.3 kB / 0.7892 GB, free: 7.031 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.605e-06/0.2158, allocations: 0 / 0.7892 GB, free: 7.031 MB / 0.6075 GB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0003593/0.2161, allocations: 209 kB / 0.7894 GB, free: 6.82 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.51e-05/0.2161, allocations: 4 kB / 0.7894 GB, free: 6.816 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.935e-06/0.2162, allocations: 4 kB / 0.7894 GB, free: 6.812 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.673e-05/0.2162, allocations: 8.5 kB / 0.7894 GB, free: 6.805 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001176/0.2163, allocations: 35.92 kB / 0.7894 GB, free: 6.77 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.917e-06/0.2163, allocations: 8 kB / 0.7894 GB, free: 6.762 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001354/0.2165, allocations: 27.81 kB / 0.7895 GB, free: 6.734 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.462e-05/0.2165, allocations: 12 kB / 0.7895 GB, free: 6.723 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.0001105/0.2166, allocations: 133.7 kB / 0.7896 GB, free: 6.582 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.006e-05/0.2166, allocations: 19.81 kB / 0.7896 GB, free: 6.562 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.029e-05/0.2167, allocations: 21.39 kB / 0.7896 GB, free: 6.539 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.216e-06/0.2167, allocations: 0 / 0.7896 GB, free: 6.539 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.13e-06/0.2167, allocations: 8 kB / 0.7896 GB, free: 6.531 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.458e-06/0.2167, allocations: 256 / 0.7896 GB, free: 6.531 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000675/0.2174, allocations: 0.5132 MB / 0.7901 GB, free: 5.961 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.906e-06/0.2174, allocations: 4 kB / 0.7902 GB, free: 5.957 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001138/0.2175, allocations: 27.92 kB / 0.7902 GB, free: 5.93 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.625e-06/0.2176, allocations: 0 / 0.7902 GB, free: 5.93 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.349e-05/0.2176, allocations: 4 kB / 0.7902 GB, free: 5.926 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.186e-06/0.2176, allocations: 0 / 0.7902 GB, free: 5.926 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.404e-06/0.2176, allocations: 7.875 kB / 0.7902 GB, free: 5.918 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004495/0.218, allocations: 356.5 kB / 0.7905 GB, free: 5.547 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 4.771e-05/0.2181, allocations: 100.9 kB / 0.7906 GB, free: 5.43 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.425e-05/0.2181, allocations: 0 / 0.7906 GB, free: 5.43 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001598/0.2183, allocations: 11.98 kB / 0.7906 GB, free: 5.418 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.224e-05/0.2184, allocations: 27.94 kB / 0.7907 GB, free: 5.391 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.097e-06/0.2184, allocations: 4 kB / 0.7907 GB, free: 5.387 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 9.983e-05/0.2185, allocations: 144.6 kB / 0.7908 GB, free: 5.246 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.21e-07/0.2185, allocations: 0 / 0.7908 GB, free: 5.246 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0003784/0.2189, allocations: 28 kB / 0.7908 GB, free: 5.219 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.0001156/0.219, allocations: 111.1 kB / 0.7909 GB, free: 5.102 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0003067/0.2193, allocations: 124.4 kB / 0.7911 GB, free: 4.98 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 2.274e-06/0.2193, allocations: 0 / 0.7911 GB, free: 4.98 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.0001288/0.2194, allocations: 47.91 kB / 0.7911 GB, free: 4.934 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005454/0.22, allocations: 65.16 kB / 0.7912 GB, free: 4.875 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005381/0.2205, allocations: 393.1 kB / 0.7915 GB, free: 4.457 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002619/0.2208, allocations: 0.7203 MB / 0.7922 GB, free: 3.711 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 7.322e-05/0.2209, allocations: 21.55 kB / 0.7923 GB, free: 3.691 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.852e-05/0.221, allocations: 19.44 kB / 0.7923 GB, free: 3.676 MB / 0.6075 GB Notification: Performance of SimCode: time 3.91e-07/0.221, allocations: 0 / 0.7923 GB, free: 3.676 MB / 0.6075 GB Notification: Performance of Templates: time 0.004367/0.2253, allocations: 1.92 MB / 0.7942 GB, free: 1.785 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)