Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Utilities.Math.Examples.IntegratorWithReset.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 7.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo) Running command: translateModel(Buildings.Utilities.Math.Examples.IntegratorWithReset,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Utilities.Math.Examples.IntegratorWithReset") translateModel(Buildings.Utilities.Math.Examples.IntegratorWithReset,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Utilities.Math.Examples.IntegratorWithReset") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo): time 2.379/2.379, allocations: 251.1 MB / 266.7 MB, free: 11.63 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001431/0.00143, allocations: 174.9 kB / 326.2 MB, free: 2.84 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.393/2.393, allocations: 205.4 MB / 0.5772 GB, free: 20.69 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009517/0.0009514, allocations: 88.22 kB / 0.6817 GB, free: 13.59 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.000471/0.0004712, allocations: 14.22 kB / 0.7957 GB, free: 135.5 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2106/0.2111, allocations: 106.3 MB / 0.8995 GB, free: 65.48 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.IntegratorWithReset): time 0.002276/0.2134, allocations: 1.496 MB / 0.901 GB, free: 63.97 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.001196/0.2147, allocations: 0.5505 MB / 0.9015 GB, free: 63.41 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001368/0.2148, allocations: 4 kB / 0.9015 GB, free: 63.41 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 0.0001368/0.215, allocations: 19.8 kB / 0.9015 GB, free: 63.39 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 9.088e-05/0.2151, allocations: 19.8 kB / 0.9015 GB, free: 63.37 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002553/0.2154, allocations: 51.92 kB / 0.9016 GB, free: 63.32 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 0.0002497/0.2156, allocations: 155.4 kB / 0.9017 GB, free: 63.16 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001734/0.2158, allocations: 53.83 kB / 0.9018 GB, free: 63.11 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 8.707e-05/0.2159, allocations: 39.78 kB / 0.9018 GB, free: 63.07 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 8.657e-05/0.216, allocations: 47.66 kB / 0.9019 GB, free: 63.03 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 2.605e-05/0.216, allocations: 4 kB / 0.9019 GB, free: 63.02 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 2.404e-05/0.2161, allocations: 4 kB / 0.9019 GB, free: 63.02 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 2.738e-05/0.2161, allocations: 15.92 kB / 0.9019 GB, free: 63 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 4.472e-05/0.2162, allocations: 49.64 kB / 0.9019 GB, free: 62.95 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.0001397/0.2163, allocations: 88.05 kB / 0.902 GB, free: 62.86 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 6.071e-06/0.2163, allocations: 3.938 kB / 0.902 GB, free: 62.86 MB / 0.6042 GB Notification: Performance of FrontEnd: time 1.894e-06/0.2163, allocations: 4 kB / 0.902 GB, free: 62.86 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 1.049e-05/0.2164, allocations: 0 / 0.902 GB, free: 62.86 MB / 0.6042 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.000793/0.2172, allocations: 454.8 kB / 0.9025 GB, free: 62.36 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 4.352e-05/0.2172, allocations: 8.031 kB / 0.9025 GB, free: 62.36 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001037/0.2173, allocations: 16.75 kB / 0.9025 GB, free: 62.34 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002711/0.2176, allocations: 231.9 kB / 0.9027 GB, free: 62.07 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.085e-05/0.2177, allocations: 12.38 kB / 0.9027 GB, free: 62.06 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.774e-05/0.2177, allocations: 12.38 kB / 0.9027 GB, free: 62.05 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003851/0.2181, allocations: 157.8 kB / 0.9029 GB, free: 61.88 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.331e-05/0.2181, allocations: 3.984 kB / 0.9029 GB, free: 61.87 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.076e-05/0.2182, allocations: 7.938 kB / 0.9029 GB, free: 61.86 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.775e-06/0.2182, allocations: 4 kB / 0.9029 GB, free: 61.86 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003734/0.2186, allocations: 83.83 kB / 0.903 GB, free: 61.78 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001107/0.2197, allocations: 0.7431 MB / 0.9037 GB, free: 60.97 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002156/0.2199, allocations: 54.5 kB / 0.9038 GB, free: 60.91 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001733/0.2201, allocations: 36.83 kB / 0.9038 GB, free: 60.87 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 3.39e-05/0.2202, allocations: 4 kB / 0.9038 GB, free: 60.86 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003598/0.2205, allocations: 134.7 kB / 0.9039 GB, free: 60.71 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=11): time 3.146e-06/0.2206, allocations: 0 / 0.9039 GB, free: 60.71 MB / 0.6042 GB Notification: Performance of matching and sorting (n=11): time 0.0007789/0.2213, allocations: 177.5 kB / 0.9041 GB, free: 60.53 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.695e-05/0.2214, allocations: 136.5 kB / 0.9042 GB, free: 60.36 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002072/0.2216, allocations: 203 kB / 0.9044 GB, free: 60.16 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 1.915e-05/0.2217, allocations: 25.7 kB / 0.9044 GB, free: 60.12 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 7.913e-05/0.2217, allocations: 123.9 kB / 0.9046 GB, free: 60 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 4.046e-05/0.2218, allocations: 39.69 kB / 0.9046 GB, free: 59.96 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.193e-05/0.2218, allocations: 4 kB / 0.9046 GB, free: 59.96 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 7.258e-05/0.2219, allocations: 334.8 kB / 0.9049 GB, free: 59.62 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001954/0.2221, allocations: 43.97 kB / 0.905 GB, free: 59.58 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00024/0.2224, allocations: 150.5 kB / 0.9051 GB, free: 59.38 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000222/0.2226, allocations: 59.92 kB / 0.9052 GB, free: 59.32 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.45e-06/0.2226, allocations: 4 kB / 0.9052 GB, free: 59.32 MB / 0.6042 GB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0005798/0.2232, allocations: 217.4 kB / 0.9054 GB, free: 59.1 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 1.978e-05/0.2232, allocations: 8.031 kB / 0.9054 GB, free: 59.09 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.378e-06/0.2233, allocations: 8 kB / 0.9054 GB, free: 59.08 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.255e-05/0.2233, allocations: 4 kB / 0.9054 GB, free: 59.08 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002215/0.2235, allocations: 39.91 kB / 0.9054 GB, free: 59.04 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.172e-05/0.2235, allocations: 8 kB / 0.9054 GB, free: 59.03 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000232/0.2238, allocations: 27.83 kB / 0.9055 GB, free: 59 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.912e-05/0.2238, allocations: 12 kB / 0.9055 GB, free: 58.99 MB / 0.6042 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 ($whenCondition2,sampleTrigger.y,$whenCondition1,$whenCondition3,booleanPulse.y,$PRE.booleanPulse.pulseStart,booleanPulse.pulseStart,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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001217/0.224, allocations: 137.7 kB / 0.9056 GB, free: 58.85 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.808e-05/0.224, allocations: 19.81 kB / 0.9056 GB, free: 58.83 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.569e-05/0.2241, allocations: 21.39 kB / 0.9056 GB, free: 58.8 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.531e-06/0.2241, allocations: 0 / 0.9056 GB, free: 58.8 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.236e-06/0.2241, allocations: 4 kB / 0.9057 GB, free: 58.8 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 4.989e-05/0.2242, allocations: 96.91 kB / 0.9057 GB, free: 58.69 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.712e-05/0.2242, allocations: 256 / 0.9057 GB, free: 58.69 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000198/0.2244, allocations: 28.16 kB / 0.9058 GB, free: 58.66 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.739e-05/0.2245, allocations: 15.98 kB / 0.9058 GB, free: 58.64 MB / 0.6042 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0009132/0.2254, allocations: 478.6 kB / 0.9062 GB, free: 58.17 MB / 0.6042 GB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.0007803/0.2262, allocations: 0.6017 MB / 0.9068 GB, free: 57.55 MB / 0.6042 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0002432/0.2265, allocations: 56 kB / 0.9069 GB, free: 57.49 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 0.0001398/0.2266, allocations: 148.2 kB / 0.907 GB, free: 57.35 MB / 0.6042 GB Notification: Performance of Backend: time 7.31e-07/0.2266, allocations: 3.938 kB / 0.907 GB, free: 57.34 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.000971/0.2276, allocations: 166.2 kB / 0.9072 GB, free: 57.18 MB / 0.6042 GB Notification: Performance of SimCode: time 0.001124/0.2288, allocations: 0.8574 MB / 0.908 GB, free: 56.28 MB / 0.6042 GB Notification: Performance of Templates: time 0.006899/0.2357, allocations: 1.923 MB / 0.9099 GB, free: 54.38 MB / 0.6042 GB make -j1 -f Buildings_7.0.0_Buildings.Utilities.Math.Examples.IntegratorWithReset.makefile (rm -f Buildings_7.0.0_Buildings.Utilities.Math.Examples.IntegratorWithReset.pipe ; mkfifo Buildings_7.0.0_Buildings.Utilities.Math.Examples.IntegratorWithReset.pipe ; head -c 1048576 < Buildings_7.0.0_Buildings.Utilities.Math.Examples.IntegratorWithReset.pipe >> ../files/Buildings_7.0.0_Buildings.Utilities.Math.Examples.IntegratorWithReset.sim & ./Buildings_7.0.0_Buildings.Utilities.Math.Examples.IntegratorWithReset -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_7.0.0_Buildings.Utilities.Math.Examples.IntegratorWithReset.pipe 2>&1)