Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.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/NcDataReader2 2.5.1-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-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(BuildingSystems.Utilities.Math.Examples.IntegratorWithReset,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Utilities.Math.Examples.IntegratorWithReset") translateModel(BuildingSystems.Utilities.Math.Examples.IntegratorWithReset,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.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.001099/0.001099, allocations: 105.3 kB / 16.42 MB, free: 6.031 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.00106/0.00106, allocations: 186 kB / 17.35 MB, free: 5.602 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.139/1.139, allocations: 222.9 MB / 241 MB, free: 15.13 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001882/0.001882, allocations: 283.1 kB / 291.5 MB, free: 14.44 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.8131/0.8131, allocations: 169.2 MB / 0.499 GB, free: 4.43 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.219e-05/1.22e-05, allocations: 4.531 kB / 0.682 GB, free: 7.051 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Math.Examples.IntegratorWithReset): time 0.002094/0.002114, allocations: 1.829 MB / 0.6838 GB, free: 5.207 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.0007487/0.002874, allocations: 0.5532 MB / 0.6844 GB, free: 4.648 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.102e-05/0.002954, allocations: 3.938 kB / 0.6844 GB, free: 4.645 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001056/0.003065, allocations: 27.73 kB / 0.6844 GB, free: 4.617 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 5.872e-05/0.00313, allocations: 27.72 kB / 0.6844 GB, free: 4.59 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00017/0.00331, allocations: 67.86 kB / 0.6845 GB, free: 4.523 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.000204/0.003521, allocations: 187.5 kB / 0.6847 GB, free: 4.34 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001161/0.003645, allocations: 49.59 kB / 0.6847 GB, free: 4.293 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.567e-05/0.003717, allocations: 59.72 kB / 0.6848 GB, free: 4.234 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.58e-05/0.003788, allocations: 63.62 kB / 0.6848 GB, free: 4.172 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 2.014e-05/0.003813, allocations: 8 kB / 0.6848 GB, free: 4.164 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.641e-05/0.003834, allocations: 12 kB / 0.6848 GB, free: 4.152 MB / 494.1 MB Notification: Performance of combineBinaries: time 0.0001347/0.003973, allocations: 237 kB / 0.6851 GB, free: 3.918 MB / 494.1 MB Notification: Performance of replaceArrayConstructors: time 6.744e-05/0.004046, allocations: 161.6 kB / 0.6852 GB, free: 3.758 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 2.62e-05/0.004077, allocations: 19.88 kB / 0.6852 GB, free: 3.738 MB / 494.1 MB Notification: Performance of FrontEnd: time 2.257e-05/0.004104, allocations: 8 kB / 0.6853 GB, free: 3.73 MB / 494.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 24 (24) * Number of variables: 24 (24) Notification: Performance of Bindings: time 0.0005664/0.004675, allocations: 0.713 MB / 0.6859 GB, free: 2.914 MB / 494.1 MB Notification: Performance of FunctionAlias: time 2.756e-05/0.004708, allocations: 19.98 kB / 0.686 GB, free: 2.895 MB / 494.1 MB Notification: Performance of Early Inline: time 0.0001958/0.004909, allocations: 260.1 kB / 0.6862 GB, free: 2.613 MB / 494.1 MB Notification: Performance of simplify1: time 2.64e-05/0.004941, allocations: 31.95 kB / 0.6862 GB, free: 2.582 MB / 494.1 MB Notification: Performance of Alias: time 0.0006037/0.00555, allocations: 0.5917 MB / 0.6868 GB, free: 1.883 MB / 494.1 MB Notification: Performance of simplify2: time 1.656e-05/0.005577, allocations: 27.95 kB / 0.6868 GB, free: 1.855 MB / 494.1 MB Notification: Performance of Events: time 8.915e-05/0.00567, allocations: 47.92 kB / 0.6869 GB, free: 1.809 MB / 494.1 MB Notification: Performance of Detect States: time 0.0001442/0.005821, allocations: 128.1 kB / 0.687 GB, free: 1.668 MB / 494.1 MB Notification: Performance of Partitioning: time 0.0001024/0.00593, allocations: 120.8 kB / 0.6871 GB, free: 1.496 MB / 494.1 MB Notification: Performance of Causalize: time 0.0002807/0.006218, allocations: 306 kB / 0.6874 GB, free: 1.145 MB / 494.1 MB Notification: Performance of After Index Reduction Inline: time 0.000161/0.006388, allocations: 224.7 kB / 0.6876 GB, free: 0.8984 MB / 494.1 MB Notification: Performance of Inline: time 0.0003153/0.00671, allocations: 385.9 kB / 0.688 GB, free: 500 kB / 494.1 MB Notification: Performance of Partitioning: time 2.516e-05/0.006743, allocations: 24.12 kB / 0.688 GB, free: 468 kB / 494.1 MB Notification: Performance of Cleanup: time 1.564e-05/0.006765, allocations: 15.98 kB / 0.688 GB, free: 452 kB / 494.1 MB Notification: Performance of Causalize: time 0.0003893/0.007158, allocations: 406 kB / 0.6884 GB, free: 40 kB / 494.1 MB Notification: Performance of Tearing: time 4.699e-06/0.007171, allocations: 0 / 0.6884 GB, free: 40 kB / 494.1 MB Notification: Performance of Initialization: time 2.8e-07/0.007176, allocations: 0 / 0.6884 GB, free: 40 kB / 494.1 MB Notification: Performance of Tearing: time 3.287e-06/0.007183, allocations: 4 kB / 0.6884 GB, free: 36 kB / 494.1 MB Notification: Performance of Categorize: time 7.725e-06/0.007195, allocations: 3.938 kB / 0.6884 GB, free: 32 kB / 494.1 MB Notification: Performance of Solve: time 0.218/0.2252, allocations: 43.55 kB / 0.6885 GB, free: 14.87 MB / 494.1 MB Notification: Performance of Jacobian: time 0.0002289/0.2254, allocations: 0.7059 MB / 0.6892 GB, free: 14.09 MB / 494.1 MB Notification: Partition statistics after passing the back-end: * Number of ODE partitions: ..................... 0 * Number of algebraic partitions: ............... 0 * Number of ODE event partitions: ............... 4 * Number of algebraic event partitions: ......... 3 * Number of clocked partitions: ................. 0 * Number of initial partitions: ................. 1 * Number of initial(lambda=0) partitions: ....... 0 Notification: Variable statistics after passing the back-end: * Number of states: ............................. 4 (4) {intWitRes1.y, intWitRes2.y, intNoReset.y, intDef.y} * Number of discrete states: .................... 1 (1) {booleanPulse.pulseStart} * Number of clocked states: ..................... 0 (0) {NOT YET AVAILABLE} * Number of discrete variables: ................. 7 (7) {booleanPulse.y, sampleTrigger.y, $SEV_0, $TEV_3, $TEV_2, $TEV_1, $TEV_0} * Number of top-level inputs: ................... 0 (0) {} Notification: [Simulation] Strong Component statistics after passing the back-end: * Number of single strong components: ........... 12 (scalar:12, array:0, record:0) * Number of multi strong components: ............ 1 (algorithm:0, when:1, if:0, tuple:0) * Number of for-loop strong components: ......... 0 (generic: 0, entwined:0) * Number of algebraic-loop strong components: ... 0 (linear: 0, nonlinear:0) Notification: [Initialization] Strong Component statistics after passing the back-end: * Number of single strong components: ........... 24 (scalar:24, array:0, record:0) * Number of multi strong components: ............ 0 (algorithm:0, when:0, if:0, tuple:0) * Number of for-loop strong components: ......... 0 (generic: 0, entwined:0) * Number of algebraic-loop strong components: ... 0 (linear: 0, nonlinear:0) Notification: Performance of backend: time 4.811e-05/0.2255, allocations: 28.16 kB / 0.6892 GB, free: 14.08 MB / 494.1 MB Notification: Performance of SimCode: time 0.0007533/0.2262, allocations: 1.17 MB / 0.6903 GB, free: 13.19 MB / 494.1 MB Notification: Performance of Templates: time 0.003177/0.2294, allocations: 0.9541 MB / 0.6913 GB, free: 13.17 MB / 494.1 MB make -j1 -f BuildingSystems_BuildingSystems.Utilities.Math.Examples.IntegratorWithReset.makefile (rm -f BuildingSystems_BuildingSystems.Utilities.Math.Examples.IntegratorWithReset.pipe ; mkfifo BuildingSystems_BuildingSystems.Utilities.Math.Examples.IntegratorWithReset.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Utilities.Math.Examples.IntegratorWithReset.pipe >> ../files/BuildingSystems_BuildingSystems.Utilities.Math.Examples.IntegratorWithReset.sim & ./BuildingSystems_BuildingSystems.Utilities.Math.Examples.IntegratorWithReset -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Utilities.Math.Examples.IntegratorWithReset.pipe 2>&1)