Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Utilities.Math.Examples.IntegratorWithReset.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/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.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: translateModel(Buildings.Utilities.Math.Examples.IntegratorWithReset,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Utilities.Math.Examples.IntegratorWithReset") translateModel(Buildings.Utilities.Math.Examples.IntegratorWithReset,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Utilities.Math.Examples.IntegratorWithReset") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.567/1.567, allocations: 252 MB / 268 MB, free: 10.86 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.001064/0.001064, allocations: 166.9 kB / 327.6 MB, free: 2.086 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.84/1.84, allocations: 205.4 MB / 0.5786 GB, free: 20.11 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.0008684/0.0008683, allocations: 94.17 kB / 0.6832 GB, free: 12.75 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003955/0.0003955, allocations: 14.62 kB / 0.7976 GB, free: 135.2 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2242/0.2246, allocations: 106.3 MB / 0.9014 GB, free: 63.49 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.IntegratorWithReset): time 0.001895/0.2266, allocations: 1.526 MB / 0.9029 GB, free: 61.95 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.0008223/0.2274, allocations: 0.5656 MB / 0.9035 GB, free: 61.38 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.981e-05/0.2275, allocations: 7.938 kB / 0.9035 GB, free: 61.37 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 0.000121/0.2276, allocations: 19.8 kB / 0.9035 GB, free: 61.35 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 6.599e-05/0.2277, allocations: 27.78 kB / 0.9035 GB, free: 61.32 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001954/0.2279, allocations: 59.94 kB / 0.9036 GB, free: 61.26 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 0.0001924/0.2281, allocations: 159.5 kB / 0.9038 GB, free: 61.11 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001473/0.2283, allocations: 49.64 kB / 0.9038 GB, free: 61.06 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 6.76e-05/0.2284, allocations: 39.73 kB / 0.9038 GB, free: 61.02 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 7.162e-05/0.2284, allocations: 51.64 kB / 0.9039 GB, free: 60.97 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 2.538e-05/0.2285, allocations: 4 kB / 0.9039 GB, free: 60.96 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 1.708e-05/0.2285, allocations: 8 kB / 0.9039 GB, free: 60.96 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 2.879e-05/0.2285, allocations: 23.86 kB / 0.9039 GB, free: 60.93 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 6.355e-05/0.2286, allocations: 81.3 kB / 0.904 GB, free: 60.85 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.0001071/0.2287, allocations: 88.05 kB / 0.9041 GB, free: 60.76 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 4.038e-06/0.2287, allocations: 0 / 0.9041 GB, free: 60.76 MB / 0.6042 GB Notification: Performance of FrontEnd: time 3.005e-06/0.2287, allocations: 0 / 0.9041 GB, free: 60.76 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 6.652e-06/0.2287, allocations: 0 / 0.9041 GB, free: 60.76 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.000594/0.2293, allocations: 458.8 kB / 0.9045 GB, free: 60.27 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 3.656e-05/0.2294, allocations: 8.031 kB / 0.9045 GB, free: 60.26 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.174e-05/0.2294, allocations: 20.75 kB / 0.9045 GB, free: 60.24 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000197/0.2296, allocations: 227.9 kB / 0.9048 GB, free: 59.98 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.769e-05/0.2297, allocations: 16.36 kB / 0.9048 GB, free: 59.96 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.13e-05/0.2297, allocations: 16.36 kB / 0.9048 GB, free: 59.95 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002571/0.23, allocations: 156.2 kB / 0.9049 GB, free: 59.77 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.857e-06/0.23, allocations: 0 / 0.9049 GB, free: 59.77 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.444e-05/0.23, allocations: 8 kB / 0.905 GB, free: 59.77 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.521e-06/0.23, allocations: 0 / 0.905 GB, free: 59.77 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002156/0.2302, allocations: 86.28 kB / 0.905 GB, free: 59.68 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007301/0.231, allocations: 0.7431 MB / 0.9058 GB, free: 58.88 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001364/0.2311, allocations: 62.48 kB / 0.9058 GB, free: 58.8 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001005/0.2312, allocations: 40.83 kB / 0.9059 GB, free: 58.76 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 2.159e-05/0.2313, allocations: 0 / 0.9059 GB, free: 58.76 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002354/0.2315, allocations: 134.8 kB / 0.906 GB, free: 58.61 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=11): time 1.413e-06/0.2315, allocations: 3.938 kB / 0.906 GB, free: 58.6 MB / 0.6042 GB Notification: Performance of matching and sorting (n=11): time 0.0004422/0.232, allocations: 185.5 kB / 0.9062 GB, free: 58.41 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.364e-05/0.232, allocations: 132.5 kB / 0.9063 GB, free: 58.25 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001372/0.2322, allocations: 199.6 kB / 0.9065 GB, free: 58.05 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 1.449e-05/0.2322, allocations: 37.75 kB / 0.9065 GB, free: 58.01 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 5.621e-05/0.2323, allocations: 127.8 kB / 0.9066 GB, free: 57.88 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 2.67e-05/0.2323, allocations: 39.45 kB / 0.9067 GB, free: 57.84 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.744e-06/0.2323, allocations: 4 kB / 0.9067 GB, free: 57.84 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 6.299e-05/0.2324, allocations: 330.8 kB / 0.907 GB, free: 57.5 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001116/0.2325, allocations: 39.97 kB / 0.907 GB, free: 57.46 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001413/0.2326, allocations: 160.2 kB / 0.9072 GB, free: 57.26 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002517/0.2329, allocations: 214.3 kB / 0.9074 GB, free: 57 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.225e-06/0.2329, allocations: 0 / 0.9074 GB, free: 57 MB / 0.6042 GB Notification: Performance of matching and sorting (n=21) (initialization): time 0.00033/0.2332, allocations: 209.1 kB / 0.9076 GB, free: 56.79 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 1.668e-05/0.2333, allocations: 8.5 kB / 0.9076 GB, free: 56.78 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.971e-06/0.2333, allocations: 11.94 kB / 0.9076 GB, free: 56.77 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.446e-05/0.2333, allocations: 7.984 kB / 0.9076 GB, free: 56.76 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001152/0.2334, allocations: 35.98 kB / 0.9077 GB, free: 56.73 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.358e-06/0.2334, allocations: 7.938 kB / 0.9077 GB, free: 56.72 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001287/0.2336, allocations: 27.83 kB / 0.9077 GB, free: 56.69 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.242e-05/0.2336, allocations: 12 kB / 0.9077 GB, free: 56.68 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 8.406e-05/0.2337, allocations: 141.7 kB / 0.9078 GB, free: 56.53 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.355e-05/0.2337, allocations: 15.81 kB / 0.9079 GB, free: 56.52 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.057e-05/0.2338, allocations: 17.64 kB / 0.9079 GB, free: 56.5 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.458e-06/0.2338, allocations: 7.984 kB / 0.9079 GB, free: 56.49 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.14e-06/0.2338, allocations: 0 / 0.9079 GB, free: 56.49 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.649e-06/0.2338, allocations: 3.984 kB / 0.9079 GB, free: 56.48 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006458/0.2344, allocations: 0.5288 MB / 0.9084 GB, free: 55.9 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.804e-06/0.2345, allocations: 0 / 0.9084 GB, free: 55.9 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001108/0.2346, allocations: 27.92 kB / 0.9084 GB, free: 55.87 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.154e-06/0.2346, allocations: 4 kB / 0.9084 GB, free: 55.87 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.433e-05/0.2346, allocations: 4 kB / 0.9084 GB, free: 55.86 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.984e-06/0.2346, allocations: 0 / 0.9084 GB, free: 55.86 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.896e-06/0.2346, allocations: 7.938 kB / 0.9084 GB, free: 55.86 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004046/0.235, allocations: 376.1 kB / 0.9088 GB, free: 55.46 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 3.598e-05/0.2351, allocations: 96.83 kB / 0.9089 GB, free: 55.35 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.357e-05/0.2351, allocations: 320 / 0.9089 GB, free: 55.35 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001592/0.2353, allocations: 24.02 kB / 0.9089 GB, free: 55.33 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.284e-05/0.2353, allocations: 23.92 kB / 0.9089 GB, free: 55.3 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.556e-06/0.2353, allocations: 4 kB / 0.9089 GB, free: 55.3 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 7.76e-05/0.2354, allocations: 140.4 kB / 0.9091 GB, free: 55.16 MB / 0.6042 GB Notification: Performance of sort global known variables: time 1.3e-07/0.2354, allocations: 0 / 0.9091 GB, free: 55.16 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.00029/0.2357, allocations: 28 kB / 0.9091 GB, free: 55.14 MB / 0.6042 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.0001218/0.2359, allocations: 107.2 kB / 0.9092 GB, free: 55.02 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.0002889/0.2361, allocations: 124.6 kB / 0.9093 GB, free: 54.9 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 3.216e-06/0.2362, allocations: 8.062 kB / 0.9093 GB, free: 54.89 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 0.0001309/0.2363, allocations: 55.91 kB / 0.9094 GB, free: 54.84 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005112/0.2368, allocations: 59.89 kB / 0.9094 GB, free: 54.78 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004989/0.2373, allocations: 432.5 kB / 0.9099 GB, free: 54.32 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000144/0.2375, allocations: 0.7206 MB / 0.9106 GB, free: 53.57 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.269e-05/0.2375, allocations: 19.44 kB / 0.9106 GB, free: 53.55 MB / 0.6042 GB Notification: Performance of SimCode: time 3.01e-07/0.2375, allocations: 0 / 0.9106 GB, free: 53.55 MB / 0.6042 GB Notification: Performance of Templates: time 0.003317/0.2409, allocations: 2.109 MB / 0.9126 GB, free: 51.46 MB / 0.6042 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Utilities.Math.Examples.IntegratorWithReset.makefile (rm -f Buildings_maint.7.0.x_Buildings.Utilities.Math.Examples.IntegratorWithReset.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Utilities.Math.Examples.IntegratorWithReset.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Utilities.Math.Examples.IntegratorWithReset.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Utilities.Math.Examples.IntegratorWithReset.sim & ./Buildings_maint.7.0.x_Buildings.Utilities.Math.Examples.IntegratorWithReset -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Utilities.Math.Examples.IntegratorWithReset.pipe 2>&1)