Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo", uses=false) Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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(IBPSA.Utilities.Math.Examples.IntegratorWithReset,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Utilities.Math.Examples.IntegratorWithReset") translateModel(IBPSA.Utilities.Math.Examples.IntegratorWithReset,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.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.001273/0.001273, allocations: 107.1 kB / 16.4 MB, free: 6.508 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.001612/0.001612, allocations: 196 kB / 17.34 MB, free: 5.742 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.443/1.443, allocations: 222.9 MB / 241 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.8246/0.8246, allocations: 115.3 MB / 406.5 MB, free: 6.145 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001323/0.001323, allocations: 66.06 kB / 0.5577 GB, free: 32.22 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.179/0.1803, allocations: 76.18 MB / 0.6321 GB, free: 4.41 MB / 478.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Utilities.Math.Examples.IntegratorWithReset): time 0.003905/0.1843, allocations: 1.82 MB / 0.6339 GB, free: 2.578 MB / 478.1 MB Notification: Performance of NFInst.instExpressions: time 0.001595/0.1859, allocations: 0.5299 MB / 0.6344 GB, free: 2.043 MB / 478.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000179/0.1861, allocations: 8 kB / 0.6344 GB, free: 2.035 MB / 478.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001869/0.1863, allocations: 31.66 kB / 0.6344 GB, free: 2.004 MB / 478.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001172/0.1865, allocations: 23.73 kB / 0.6344 GB, free: 1.98 MB / 478.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002542/0.1868, allocations: 59.92 kB / 0.6345 GB, free: 1.922 MB / 478.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003013/0.1871, allocations: 179.4 kB / 0.6347 GB, free: 1.746 MB / 478.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001718/0.1873, allocations: 53.59 kB / 0.6347 GB, free: 1.691 MB / 478.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001062/0.1874, allocations: 55.72 kB / 0.6348 GB, free: 1.637 MB / 478.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001108/0.1875, allocations: 63.58 kB / 0.6348 GB, free: 1.574 MB / 478.1 MB Notification: Performance of NFPackage.collectConstants: time 4.289e-05/0.1875, allocations: 8 kB / 0.6348 GB, free: 1.566 MB / 478.1 MB Notification: Performance of NFFlatten.collectFunctions: time 3.628e-05/0.1876, allocations: 12 kB / 0.6348 GB, free: 1.555 MB / 478.1 MB Notification: Performance of NFScalarize.scalarize: time 5.621e-05/0.1877, allocations: 31.89 kB / 0.6349 GB, free: 1.523 MB / 478.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001305/0.1878, allocations: 63.61 kB / 0.6349 GB, free: 1.461 MB / 478.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002951/0.1881, allocations: 139.3 kB / 0.6351 GB, free: 1.324 MB / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.048e-06/0.1881, allocations: 0 / 0.6351 GB, free: 1.324 MB / 478.1 MB Notification: Performance of FrontEnd: time 1.423e-06/0.1881, allocations: 4 kB / 0.6351 GB, free: 1.32 MB / 478.1 MB Notification: Performance of Transformations before backend: time 1.597e-05/0.1882, allocations: 0 / 0.6351 GB, free: 1.32 MB / 478.1 MB 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.000936/0.1891, allocations: 470.7 kB / 0.6355 GB, free: 0.8125 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.969e-05/0.1892, allocations: 8.031 kB / 0.6355 GB, free: 0.8047 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.64e-05/0.1893, allocations: 16.75 kB / 0.6355 GB, free: 0.7891 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004431/0.1897, allocations: 243.8 kB / 0.6358 GB, free: 0.5117 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.328e-05/0.1897, allocations: 8.375 kB / 0.6358 GB, free: 0.5039 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.439e-05/0.1898, allocations: 16.38 kB / 0.6358 GB, free: 500 kB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003555/0.1902, allocations: 147.2 kB / 0.6359 GB, free: 332 kB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.005e-05/0.1902, allocations: 4 kB / 0.6359 GB, free: 328 kB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.333e-05/0.1902, allocations: 8 kB / 0.636 GB, free: 320 kB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.174e-05/0.1902, allocations: 4 kB / 0.636 GB, free: 316 kB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002451/0.1905, allocations: 67.88 kB / 0.636 GB, free: 248 kB / 478.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001194/0.1917, allocations: 0.7392 MB / 0.6367 GB, free: 15.44 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001782/0.1919, allocations: 50.48 kB / 0.6368 GB, free: 15.38 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001185/0.192, allocations: 36.83 kB / 0.6368 GB, free: 15.34 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.347e-05/0.192, allocations: 0 / 0.6368 GB, free: 15.34 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003026/0.1923, allocations: 122.7 kB / 0.6369 GB, free: 15.2 MB / 494.1 MB Notification: Performance of pre-optimization done (n=11): time 1.923e-06/0.1924, allocations: 0 / 0.6369 GB, free: 15.2 MB / 494.1 MB Notification: Performance of matching and sorting (n=11): time 0.0005376/0.1929, allocations: 165.5 kB / 0.6371 GB, free: 15.03 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.037e-05/0.193, allocations: 140.4 kB / 0.6372 GB, free: 14.86 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002792/0.1933, allocations: 202.9 kB / 0.6374 GB, free: 14.65 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 3.357e-05/0.1933, allocations: 33.64 kB / 0.6375 GB, free: 14.61 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001022/0.1935, allocations: 127.9 kB / 0.6376 GB, free: 14.48 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.781e-05/0.1935, allocations: 35.69 kB / 0.6376 GB, free: 14.45 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.689e-05/0.1936, allocations: 45.61 kB / 0.6377 GB, free: 14.4 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001362/0.1937, allocations: 330.8 kB / 0.638 GB, free: 14.07 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001392/0.1939, allocations: 39.97 kB / 0.638 GB, free: 14.03 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002063/0.1941, allocations: 150.5 kB / 0.6382 GB, free: 13.83 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000418/0.1945, allocations: 202.5 kB / 0.6383 GB, free: 13.58 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.574e-06/0.1945, allocations: 4.25 kB / 0.6384 GB, free: 13.57 MB / 494.1 MB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0004761/0.195, allocations: 201.1 kB / 0.6385 GB, free: 13.37 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.149e-05/0.195, allocations: 8 kB / 0.6386 GB, free: 13.36 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.161e-05/0.1951, allocations: 8 kB / 0.6386 GB, free: 13.36 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.955e-05/0.1951, allocations: 11.92 kB / 0.6386 GB, free: 13.34 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001438/0.1952, allocations: 35.92 kB / 0.6386 GB, free: 13.31 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.088e-05/0.1953, allocations: 4.5 kB / 0.6386 GB, free: 13.3 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002108/0.1955, allocations: 27.83 kB / 0.6386 GB, free: 13.28 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.08e-05/0.1955, allocations: 15.98 kB / 0.6387 GB, free: 13.26 MB / 494.1 MB 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.0001408/0.1957, allocations: 142.7 kB / 0.6388 GB, free: 13.11 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.556e-05/0.1957, allocations: 15.81 kB / 0.6388 GB, free: 13.1 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.046e-05/0.1958, allocations: 17.41 kB / 0.6388 GB, free: 13.07 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.099e-06/0.1958, allocations: 4 kB / 0.6388 GB, free: 13.07 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.173e-06/0.1958, allocations: 0 / 0.6388 GB, free: 13.07 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.274e-06/0.1958, allocations: 7.984 kB / 0.6388 GB, free: 13.06 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008942/0.1967, allocations: 0.5093 MB / 0.6393 GB, free: 12.49 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.056e-06/0.1967, allocations: 3.938 kB / 0.6393 GB, free: 12.49 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001213/0.1969, allocations: 19.98 kB / 0.6394 GB, free: 12.47 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.526e-06/0.1969, allocations: 0 / 0.6394 GB, free: 12.47 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.728e-05/0.1969, allocations: 4 kB / 0.6394 GB, free: 12.46 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.025e-06/0.1969, allocations: 4 kB / 0.6394 GB, free: 12.46 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.058e-06/0.1969, allocations: 7.938 kB / 0.6394 GB, free: 12.45 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005268/0.1974, allocations: 352.2 kB / 0.6397 GB, free: 12.09 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.677e-05/0.1975, allocations: 96.83 kB / 0.6398 GB, free: 11.97 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.921e-05/0.1976, allocations: 8 kB / 0.6398 GB, free: 11.96 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002432/0.1978, allocations: 16.02 kB / 0.6398 GB, free: 11.95 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.283e-05/0.1979, allocations: 15.92 kB / 0.6398 GB, free: 11.93 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.148e-05/0.1979, allocations: 4 kB / 0.6398 GB, free: 11.93 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.0001345/0.1981, allocations: 144.2 kB / 0.64 GB, free: 11.79 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1981, allocations: 0 / 0.64 GB, free: 11.79 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0003549/0.1985, allocations: 35.94 kB / 0.64 GB, free: 11.75 MB / 494.1 MB 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.0001415/0.1986, allocations: 109.3 kB / 0.6401 GB, free: 11.64 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.0003816/0.199, allocations: 116.6 kB / 0.6402 GB, free: 11.53 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 3.346e-06/0.199, allocations: 0 / 0.6402 GB, free: 11.53 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001503/0.1992, allocations: 52.03 kB / 0.6403 GB, free: 11.48 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006074/0.1998, allocations: 68.09 kB / 0.6403 GB, free: 11.41 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006896/0.2005, allocations: 344.6 kB / 0.6407 GB, free: 11.04 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003164/0.2008, allocations: 0.732 MB / 0.6414 GB, free: 10.29 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.0001001/0.2009, allocations: 21.53 kB / 0.6414 GB, free: 10.27 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.04e-05/0.201, allocations: 15.44 kB / 0.6414 GB, free: 10.25 MB / 494.1 MB Notification: Performance of SimCode: time 2.6e-07/0.201, allocations: 4 kB / 0.6414 GB, free: 10.25 MB / 494.1 MB Notification: Performance of Templates: time 0.005781/0.2068, allocations: 2.018 MB / 0.6434 GB, free: 8.25 MB / 494.1 MB make -j1 -f IBPSA_latest_IBPSA.Utilities.Math.Examples.IntegratorWithReset.makefile (rm -f IBPSA_latest_IBPSA.Utilities.Math.Examples.IntegratorWithReset.pipe ; mkfifo IBPSA_latest_IBPSA.Utilities.Math.Examples.IntegratorWithReset.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Utilities.Math.Examples.IntegratorWithReset.pipe >> ../files/IBPSA_latest_IBPSA.Utilities.Math.Examples.IntegratorWithReset.sim & ./IBPSA_latest_IBPSA.Utilities.Math.Examples.IntegratorWithReset -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Utilities.Math.Examples.IntegratorWithReset.pipe 2>&1)