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.001169/0.001169, allocations: 91.53 kB / 15.36 MB, free: 0.7383 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.009037/0.009037, allocations: 173.2 kB / 16.26 MB, free: 6.613 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.547/1.547, allocations: 205.4 MB / 222.4 MB, free: 5.566 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.689/1.689, allocations: 292.7 MB / 0.5502 GB, free: 14.46 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.0007701/0.0007702, allocations: 16.09 kB / 0.6743 GB, free: 26.02 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2977/0.2985, allocations: 116.3 MB / 0.7879 GB, free: 11.57 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.IntegratorWithReset): time 0.002679/0.3012, allocations: 1.519 MB / 0.7894 GB, free: 10.03 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.001242/0.3025, allocations: 0.5581 MB / 0.7899 GB, free: 9.465 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001104/0.3026, allocations: 11.94 kB / 0.7899 GB, free: 9.453 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.0001453/0.3028, allocations: 15.86 kB / 0.7899 GB, free: 9.438 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 9.932e-05/0.3029, allocations: 19.8 kB / 0.79 GB, free: 9.418 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002743/0.3032, allocations: 55.92 kB / 0.79 GB, free: 9.363 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0002785/0.3035, allocations: 163.4 kB / 0.7902 GB, free: 9.203 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001882/0.3037, allocations: 49.66 kB / 0.7902 GB, free: 9.156 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 9.374e-05/0.3038, allocations: 43.72 kB / 0.7903 GB, free: 9.113 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 9.642e-05/0.3039, allocations: 47.7 kB / 0.7903 GB, free: 9.066 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 2.566e-05/0.3039, allocations: 4 kB / 0.7903 GB, free: 9.062 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 2.578e-05/0.304, allocations: 4 kB / 0.7903 GB, free: 9.059 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 3.957e-05/0.304, allocations: 23.86 kB / 0.7903 GB, free: 9.035 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 9.805e-05/0.3041, allocations: 81.31 kB / 0.7904 GB, free: 8.949 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0001861/0.3043, allocations: 123.7 kB / 0.7905 GB, free: 8.828 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 4.238e-06/0.3044, allocations: 4 kB / 0.7905 GB, free: 8.824 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.933e-06/0.3044, allocations: 0 / 0.7905 GB, free: 8.824 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 5.45e-06/0.3044, allocations: 0 / 0.7905 GB, free: 8.824 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.000844/0.3052, allocations: 450.8 kB / 0.791 GB, free: 8.336 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 4.496e-05/0.3053, allocations: 16.03 kB / 0.791 GB, free: 8.32 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.362e-05/0.3054, allocations: 20.73 kB / 0.791 GB, free: 8.301 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003001/0.3057, allocations: 223.9 kB / 0.7912 GB, free: 8.043 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.495e-05/0.3057, allocations: 8.375 kB / 0.7912 GB, free: 8.035 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.163e-05/0.3058, allocations: 16.38 kB / 0.7912 GB, free: 8.02 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003963/0.3062, allocations: 162.2 kB / 0.7914 GB, free: 7.84 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.013e-05/0.3062, allocations: 0 / 0.7914 GB, free: 7.84 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.188e-05/0.3062, allocations: 4 kB / 0.7914 GB, free: 7.836 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.328e-06/0.3062, allocations: 4 kB / 0.7914 GB, free: 7.832 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003586/0.3066, allocations: 75.89 kB / 0.7915 GB, free: 7.758 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001196/0.3078, allocations: 0.747 MB / 0.7922 GB, free: 6.945 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002297/0.3081, allocations: 58.48 kB / 0.7923 GB, free: 6.879 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001726/0.3083, allocations: 32.84 kB / 0.7923 GB, free: 6.844 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 2.934e-05/0.3083, allocations: 11.98 kB / 0.7923 GB, free: 6.832 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003787/0.3087, allocations: 126.7 kB / 0.7924 GB, free: 6.684 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=11): time 1.713e-06/0.3087, allocations: 0 / 0.7924 GB, free: 6.684 MB / 0.6075 GB Notification: Performance of matching and sorting (n=11): time 0.0007406/0.3095, allocations: 189.4 kB / 0.7926 GB, free: 6.492 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.205e-05/0.3096, allocations: 140.7 kB / 0.7927 GB, free: 6.324 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002518/0.3098, allocations: 199.5 kB / 0.7929 GB, free: 6.117 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 2.442e-05/0.3099, allocations: 29.7 kB / 0.793 GB, free: 6.082 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001006/0.31, allocations: 135.9 kB / 0.7931 GB, free: 5.945 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 4.268e-05/0.31, allocations: 31.56 kB / 0.7931 GB, free: 5.914 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.851e-05/0.3101, allocations: 29.7 kB / 0.7931 GB, free: 5.879 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001253/0.3102, allocations: 330.8 kB / 0.7935 GB, free: 5.547 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001972/0.3104, allocations: 43.97 kB / 0.7935 GB, free: 5.504 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002781/0.3107, allocations: 156.9 kB / 0.7936 GB, free: 5.301 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000474/0.3112, allocations: 210.3 kB / 0.7938 GB, free: 5.043 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.627e-06/0.3112, allocations: 0 / 0.7938 GB, free: 5.043 MB / 0.6075 GB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0006326/0.3119, allocations: 221.3 kB / 0.7941 GB, free: 4.82 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 2.099e-05/0.3119, allocations: 8 kB / 0.7941 GB, free: 4.812 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.578e-06/0.3119, allocations: 4 kB / 0.7941 GB, free: 4.809 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.921e-05/0.312, allocations: 4 kB / 0.7941 GB, free: 4.805 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001925/0.3122, allocations: 43.91 kB / 0.7941 GB, free: 4.762 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.422e-05/0.3122, allocations: 7.938 kB / 0.7941 GB, free: 4.754 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002492/0.3125, allocations: 32.02 kB / 0.7942 GB, free: 4.723 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.081e-05/0.3125, allocations: 12 kB / 0.7942 GB, free: 4.711 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.0001345/0.3126, allocations: 141.2 kB / 0.7943 GB, free: 4.566 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.389e-05/0.3127, allocations: 15.81 kB / 0.7943 GB, free: 4.551 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.699e-05/0.3127, allocations: 21.39 kB / 0.7943 GB, free: 4.527 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.252e-06/0.3128, allocations: 4 kB / 0.7943 GB, free: 4.523 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.192e-06/0.3128, allocations: 256 / 0.7943 GB, free: 4.523 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.601e-06/0.3128, allocations: 0 / 0.7943 GB, free: 4.523 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001073/0.3139, allocations: 0.5327 MB / 0.7949 GB, free: 3.934 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.675e-06/0.3139, allocations: 4 kB / 0.7949 GB, free: 3.93 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001861/0.3141, allocations: 27.92 kB / 0.7949 GB, free: 3.902 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.487e-06/0.3141, allocations: 0 / 0.7949 GB, free: 3.902 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.978e-05/0.3141, allocations: 4 kB / 0.7949 GB, free: 3.898 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.14e-06/0.3141, allocations: 3.984 kB / 0.7949 GB, free: 3.895 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.371e-06/0.3142, allocations: 7.938 kB / 0.7949 GB, free: 3.887 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007422/0.3149, allocations: 375 kB / 0.7953 GB, free: 3.5 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 6.218e-05/0.315, allocations: 92.92 kB / 0.7954 GB, free: 3.391 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.759e-05/0.315, allocations: 4 kB / 0.7954 GB, free: 3.387 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002932/0.3153, allocations: 15.98 kB / 0.7954 GB, free: 3.371 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.541e-05/0.3154, allocations: 19.92 kB / 0.7954 GB, free: 3.352 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.545e-05/0.3154, allocations: 7.984 kB / 0.7954 GB, free: 3.344 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.0001618/0.3156, allocations: 136.6 kB / 0.7955 GB, free: 3.211 MB / 0.6075 GB Notification: Performance of sort global known variables: time 2.4e-07/0.3156, allocations: 0 / 0.7955 GB, free: 3.211 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0005992/0.3162, allocations: 32 kB / 0.7956 GB, free: 3.18 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.0001462/0.3164, allocations: 111.1 kB / 0.7957 GB, free: 3.062 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0004838/0.3169, allocations: 124.2 kB / 0.7958 GB, free: 2.941 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 3.186e-06/0.3169, allocations: 0 / 0.7958 GB, free: 2.941 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.0002274/0.3171, allocations: 55.91 kB / 0.7958 GB, free: 2.887 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009072/0.3181, allocations: 65.09 kB / 0.7959 GB, free: 2.824 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007846/0.3189, allocations: 410.6 kB / 0.7963 GB, free: 2.391 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003426/0.3192, allocations: 0.7206 MB / 0.797 GB, free: 1.645 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 0.0001057/0.3193, allocations: 25.73 kB / 0.797 GB, free: 1.621 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.524e-05/0.3194, allocations: 15.44 kB / 0.797 GB, free: 1.609 MB / 0.6075 GB Notification: Performance of SimCode: time 3.7e-07/0.3194, allocations: 0 / 0.797 GB, free: 1.609 MB / 0.6075 GB Notification: Performance of Templates: time 0.006554/0.326, allocations: 1.81 MB / 0.7988 GB, free: 15.82 MB / 0.6231 GB make -j1 -f Buildings_8_Buildings.Utilities.Math.Examples.IntegratorWithReset.makefile Environment - environmentSimulation: (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) Environment - environmentSimulation: