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.001062/0.001062, allocations: 113.9 kB / 16.43 MB, free: 6.035 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.001038/0.001038, allocations: 179.5 kB / 17.35 MB, free: 5.617 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.41/1.41, allocations: 222.9 MB / 241.1 MB, free: 15.18 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002087/0.002087, allocations: 298.7 kB / 291.5 MB, free: 14.45 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9291/0.9291, allocations: 169.3 MB / 0.499 GB, free: 4.414 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.881e-05/2.88e-05, allocations: 4.25 kB / 0.682 GB, free: 7.016 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Math.Examples.IntegratorWithReset): time 0.003285/0.003323, allocations: 1.817 MB / 0.6838 GB, free: 5.184 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.001331/0.004668, allocations: 0.5532 MB / 0.6844 GB, free: 4.625 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001963/0.004876, allocations: 7.938 kB / 0.6844 GB, free: 4.617 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001857/0.005068, allocations: 19.73 kB / 0.6844 GB, free: 4.598 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001381/0.005213, allocations: 27.73 kB / 0.6844 GB, free: 4.57 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003094/0.005551, allocations: 67.84 kB / 0.6845 GB, free: 4.504 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003256/0.005885, allocations: 191.5 kB / 0.6847 GB, free: 4.316 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001868/0.006081, allocations: 49.66 kB / 0.6847 GB, free: 4.27 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001297/0.00622, allocations: 55.72 kB / 0.6848 GB, free: 4.215 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001261/0.006355, allocations: 67.62 kB / 0.6848 GB, free: 4.148 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 3.215e-05/0.006393, allocations: 8 kB / 0.6848 GB, free: 4.141 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.507e-05/0.006425, allocations: 12 kB / 0.6848 GB, free: 4.129 MB / 494.1 MB Notification: Performance of combineBinaries: time 0.0002338/0.006664, allocations: 233 kB / 0.6851 GB, free: 3.898 MB / 494.1 MB Notification: Performance of replaceArrayConstructors: time 0.0001144/0.006784, allocations: 157.6 kB / 0.6852 GB, free: 3.742 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 5.334e-05/0.006843, allocations: 31.81 kB / 0.6852 GB, free: 3.711 MB / 494.1 MB Notification: Performance of FrontEnd: time 4.629e-05/0.006897, allocations: 8 kB / 0.6853 GB, free: 3.703 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.0008406/0.007744, allocations: 0.7052 MB / 0.6859 GB, free: 2.895 MB / 494.1 MB Notification: Performance of FunctionAlias: time 4.681e-05/0.007797, allocations: 31.89 kB / 0.686 GB, free: 2.863 MB / 494.1 MB Notification: Performance of Early Inline: time 0.0003022/0.008106, allocations: 264.1 kB / 0.6862 GB, free: 2.578 MB / 494.1 MB Notification: Performance of simplify1: time 4.495e-05/0.008158, allocations: 19.97 kB / 0.6862 GB, free: 2.559 MB / 494.1 MB Notification: Performance of Alias: time 0.001077/0.009241, allocations: 0.5995 MB / 0.6868 GB, free: 1.852 MB / 494.1 MB Notification: Performance of simplify2: time 3.428e-05/0.009286, allocations: 11.98 kB / 0.6868 GB, free: 1.84 MB / 494.1 MB Notification: Performance of Detect States: time 0.0002448/0.009537, allocations: 112.1 kB / 0.687 GB, free: 1.715 MB / 494.1 MB Notification: Performance of Events: time 0.000188/0.009734, allocations: 51.89 kB / 0.687 GB, free: 1.664 MB / 494.1 MB Notification: Performance of Partitioning: time 0.0001716/0.009919, allocations: 132.8 kB / 0.6871 GB, free: 1.48 MB / 494.1 MB Notification: Performance of Causalize: time 0.0004196/0.01034, allocations: 302.2 kB / 0.6874 GB, free: 1.133 MB / 494.1 MB Notification: Performance of After Index Reduction Inline: time 0.0002589/0.01061, allocations: 224.5 kB / 0.6876 GB, free: 0.8867 MB / 494.1 MB Notification: Performance of Inline: time 0.0005889/0.01121, allocations: 381.8 kB / 0.688 GB, free: 492 kB / 494.1 MB Notification: Performance of Partitioning: time 4.078e-05/0.01126, allocations: 36.11 kB / 0.688 GB, free: 448 kB / 494.1 MB Notification: Performance of Cleanup: time 4.483e-05/0.01131, allocations: 15.98 kB / 0.688 GB, free: 432 kB / 494.1 MB Notification: Performance of Causalize: time 0.0006458/0.01197, allocations: 398.8 kB / 0.6884 GB, free: 28 kB / 494.1 MB Notification: Performance of Tearing: time 1.735e-05/0.01199, allocations: 0 / 0.6884 GB, free: 28 kB / 494.1 MB Notification: Performance of Initialization: time 5.91e-07/0.012, allocations: 0 / 0.6884 GB, free: 28 kB / 494.1 MB Notification: Performance of Tearing: time 9.297e-06/0.01202, allocations: 7.938 kB / 0.6884 GB, free: 20 kB / 494.1 MB Notification: Performance of Categorize: time 1.664e-05/0.01204, allocations: 0 / 0.6884 GB, free: 20 kB / 494.1 MB Notification: Performance of Solve: time 0.4092/0.4212, allocations: 49.56 kB / 0.6885 GB, free: 14.91 MB / 494.1 MB Notification: Performance of Jacobian: time 0.0003379/0.4216, allocations: 0.7041 MB / 0.6892 GB, free: 14.13 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 6.245e-05/0.4217, allocations: 33.66 kB / 0.6892 GB, free: 14.12 MB / 494.1 MB Notification: Performance of SimCode: time 0.001015/0.4227, allocations: 1.164 MB / 0.6903 GB, free: 13.23 MB / 494.1 MB Notification: Performance of Templates: time 0.003844/0.4266, allocations: 0.9278 MB / 0.6912 GB, free: 13.21 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)