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.001082/0.001082, allocations: 105.4 kB / 15.7 MB, free: 24 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00102/0.00102, allocations: 187.9 kB / 16.64 MB, free: 6.594 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.256/1.256, allocations: 205.1 MB / 222.5 MB, free: 4.574 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.629/1.629, allocations: 292.3 MB / 0.549 GB, free: 12.74 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.001445/0.001445, allocations: 76.94 kB / 0.6723 GB, free: 25.99 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2005/0.202, allocations: 114.6 MB / 0.7841 GB, free: 12.76 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.IntegratorWithReset): time 0.002946/0.2049, allocations: 1.803 MB / 0.7859 GB, free: 10.94 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.0008853/0.2058, allocations: 0.5863 MB / 0.7865 GB, free: 10.34 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.768e-05/0.2059, allocations: 4 kB / 0.7865 GB, free: 10.34 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.0001258/0.2061, allocations: 23.72 kB / 0.7865 GB, free: 10.32 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 6.479e-05/0.2062, allocations: 23.75 kB / 0.7865 GB, free: 10.29 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002161/0.2064, allocations: 63.84 kB / 0.7866 GB, free: 10.23 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0002037/0.2066, allocations: 175.5 kB / 0.7867 GB, free: 10.06 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001412/0.2067, allocations: 45.66 kB / 0.7868 GB, free: 10.02 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 7.759e-05/0.2068, allocations: 59.7 kB / 0.7868 GB, free: 9.957 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 7.292e-05/0.2069, allocations: 59.64 kB / 0.7869 GB, free: 9.898 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 2.358e-05/0.2069, allocations: 12 kB / 0.7869 GB, free: 9.887 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 1.808e-05/0.207, allocations: 12 kB / 0.7869 GB, free: 9.875 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 3.131e-05/0.207, allocations: 27.91 kB / 0.7869 GB, free: 9.848 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 6.155e-05/0.2071, allocations: 59.61 kB / 0.787 GB, free: 9.789 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0001511/0.2072, allocations: 143.3 kB / 0.7871 GB, free: 9.648 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 3.056e-06/0.2072, allocations: 0 / 0.7871 GB, free: 9.648 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.312e-06/0.2072, allocations: 0 / 0.7871 GB, free: 9.648 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 4.899e-06/0.2072, allocations: 0 / 0.7871 GB, free: 9.648 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.0006499/0.2079, allocations: 478.7 kB / 0.7876 GB, free: 9.133 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.256e-05/0.2079, allocations: 8.031 kB / 0.7876 GB, free: 9.125 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.53e-05/0.208, allocations: 20.75 kB / 0.7876 GB, free: 9.105 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002674/0.2083, allocations: 235.8 kB / 0.7879 GB, free: 8.836 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.452e-05/0.2083, allocations: 8.375 kB / 0.7879 GB, free: 8.828 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.705e-05/0.2083, allocations: 12.38 kB / 0.7879 GB, free: 8.816 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002669/0.2086, allocations: 157 kB / 0.788 GB, free: 8.645 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.005e-05/0.2086, allocations: 0 / 0.788 GB, free: 8.645 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.58e-05/0.2086, allocations: 4 kB / 0.788 GB, free: 8.641 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.595e-06/0.2086, allocations: 4 kB / 0.788 GB, free: 8.637 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002138/0.2089, allocations: 71.81 kB / 0.7881 GB, free: 8.566 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008157/0.2097, allocations: 0.7392 MB / 0.7888 GB, free: 7.762 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001353/0.2098, allocations: 58.48 kB / 0.7889 GB, free: 7.695 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001011/0.2099, allocations: 32.83 kB / 0.7889 GB, free: 7.66 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 1.94e-05/0.21, allocations: 0 / 0.7889 GB, free: 7.66 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001981/0.2102, allocations: 126.7 kB / 0.789 GB, free: 7.512 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=11): time 1.353e-06/0.2102, allocations: 4 kB / 0.789 GB, free: 7.508 MB / 0.6075 GB Notification: Performance of matching and sorting (n=11): time 0.0004426/0.2106, allocations: 169.3 kB / 0.7892 GB, free: 7.336 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.982e-05/0.2107, allocations: 140.6 kB / 0.7893 GB, free: 7.168 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001688/0.2109, allocations: 207.4 kB / 0.7895 GB, free: 6.953 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 1.538e-05/0.2109, allocations: 25.95 kB / 0.7895 GB, free: 6.922 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 7.347e-05/0.211, allocations: 135.9 kB / 0.7897 GB, free: 6.785 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 2.681e-05/0.211, allocations: 31.55 kB / 0.7897 GB, free: 6.754 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.969e-05/0.2111, allocations: 45.61 kB / 0.7898 GB, free: 6.703 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001089/0.2112, allocations: 326.8 kB / 0.7901 GB, free: 6.375 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001148/0.2113, allocations: 35.97 kB / 0.7901 GB, free: 6.34 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001699/0.2115, allocations: 154.4 kB / 0.7902 GB, free: 6.137 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002817/0.2118, allocations: 202.3 kB / 0.7904 GB, free: 5.887 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.695e-06/0.2118, allocations: 4 kB / 0.7904 GB, free: 5.883 MB / 0.6075 GB Notification: Performance of matching and sorting (n=21) (initialization): time 0.000355/0.2122, allocations: 193.6 kB / 0.7906 GB, free: 5.688 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.365e-05/0.2122, allocations: 12.06 kB / 0.7906 GB, free: 5.676 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.663e-06/0.2122, allocations: 4 kB / 0.7906 GB, free: 5.672 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.553e-05/0.2122, allocations: 7.984 kB / 0.7906 GB, free: 5.664 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001171/0.2123, allocations: 35.92 kB / 0.7907 GB, free: 5.629 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.112e-05/0.2123, allocations: 7.938 kB / 0.7907 GB, free: 5.621 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001738/0.2125, allocations: 27.83 kB / 0.7907 GB, free: 5.594 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.778e-05/0.2126, allocations: 12 kB / 0.7907 GB, free: 5.582 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 9.743e-05/0.2127, allocations: 137.6 kB / 0.7909 GB, free: 5.438 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.777e-05/0.2127, allocations: 19.81 kB / 0.7909 GB, free: 5.418 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.222e-05/0.2127, allocations: 21.41 kB / 0.7909 GB, free: 5.395 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.094e-06/0.2127, allocations: 0 / 0.7909 GB, free: 5.395 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.997e-06/0.2128, allocations: 0 / 0.7909 GB, free: 5.395 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.482e-06/0.2128, allocations: 7.984 kB / 0.7909 GB, free: 5.387 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006702/0.2134, allocations: 0.5054 MB / 0.7914 GB, free: 4.824 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.387e-06/0.2135, allocations: 7.984 kB / 0.7914 GB, free: 4.816 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001119/0.2136, allocations: 23.92 kB / 0.7914 GB, free: 4.793 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.536e-06/0.2136, allocations: 4 kB / 0.7914 GB, free: 4.789 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.15e-05/0.2136, allocations: 0 / 0.7914 GB, free: 4.789 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.376e-06/0.2136, allocations: 4 kB / 0.7914 GB, free: 4.785 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.285e-06/0.2136, allocations: 3.938 kB / 0.7914 GB, free: 4.781 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004367/0.2141, allocations: 359.5 kB / 0.7918 GB, free: 4.41 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 4.616e-05/0.2141, allocations: 96.83 kB / 0.7919 GB, free: 4.297 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.349e-05/0.2141, allocations: 8.25 kB / 0.7919 GB, free: 4.289 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001783/0.2143, allocations: 16.02 kB / 0.7919 GB, free: 4.273 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.409e-05/0.2144, allocations: 23.92 kB / 0.7919 GB, free: 4.25 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.888e-06/0.2144, allocations: 4 kB / 0.7919 GB, free: 4.246 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 9.926e-05/0.2145, allocations: 144.6 kB / 0.7921 GB, free: 4.105 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.3e-07/0.2145, allocations: 0 / 0.7921 GB, free: 4.105 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0003099/0.2148, allocations: 24 kB / 0.7921 GB, free: 4.082 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 9.711e-05/0.2149, allocations: 103.2 kB / 0.7922 GB, free: 3.973 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0003/0.2152, allocations: 120.2 kB / 0.7923 GB, free: 3.855 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 2.004e-06/0.2152, allocations: 4 kB / 0.7923 GB, free: 3.852 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.0001307/0.2154, allocations: 47.91 kB / 0.7924 GB, free: 3.805 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000528/0.2159, allocations: 59.78 kB / 0.7924 GB, free: 3.75 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004928/0.2164, allocations: 364.4 kB / 0.7928 GB, free: 3.359 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002374/0.2167, allocations: 0.7203 MB / 0.7935 GB, free: 2.609 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 6.009e-05/0.2167, allocations: 17.55 kB / 0.7935 GB, free: 2.594 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.784e-05/0.2168, allocations: 19.44 kB / 0.7935 GB, free: 2.578 MB / 0.6075 GB Notification: Performance of SimCode: time 2.31e-07/0.2168, allocations: 0 / 0.7935 GB, free: 2.578 MB / 0.6075 GB Notification: Performance of Templates: time 0.004227/0.221, allocations: 2.024 MB / 0.7955 GB, free: 0.582 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)