Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BusinessSimulation_dev_BusinessSimulation.Examples.LoveHateDynamics.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/BusinessSimulation 2.2.0-main/package.mo", uses=false) Using package BusinessSimulation with version 2.2.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BusinessSimulation 2.2.0-main/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(BusinessSimulation.Examples.LoveHateDynamics,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1000,variableFilter="",fileNamePrefix="BusinessSimulation_dev_BusinessSimulation.Examples.LoveHateDynamics") translateModel(BusinessSimulation.Examples.LoveHateDynamics,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1000,variableFilter="",fileNamePrefix="BusinessSimulation_dev_BusinessSimulation.Examples.LoveHateDynamics") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001253/0.001253, allocations: 108.9 kB / 16.47 MB, free: 6.441 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.001187/0.001187, allocations: 193.4 kB / 17.42 MB, free: 5.652 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.362/1.362, allocations: 225.6 MB / 243.8 MB, free: 14.06 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BusinessSimulation 2.2.0-main/package.mo): time 0.1692/0.1692, allocations: 31.61 MB / 328.3 MB, free: 12.89 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.071e-05/2.071e-05, allocations: 2.281 kB / 459.6 MB, free: 10.77 MB / 334.1 MB Notification: Performance of NFInst.instantiate(BusinessSimulation.Examples.LoveHateDynamics): time 0.007402/0.007422, allocations: 6.547 MB / 466.2 MB, free: 4.188 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001841/0.009264, allocations: 1.02 MB / 467.2 MB, free: 3.164 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002694/0.009533, allocations: 15.94 kB / 467.2 MB, free: 3.148 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003771/0.00991, allocations: 154.5 kB / 467.4 MB, free: 2.996 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002212/0.01013, allocations: 79.2 kB / 467.4 MB, free: 2.918 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006844/0.01082, allocations: 407.3 kB / 467.8 MB, free: 2.52 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0009491/0.01176, allocations: 1.035 MB / 468.9 MB, free: 1.48 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006492/0.01241, allocations: 460.9 kB / 469.3 MB, free: 1 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003963/0.01281, allocations: 422.6 kB / 469.7 MB, free: 0.5859 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003759/0.01319, allocations: 442 kB / 470.2 MB, free: 156 kB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001693/0.01336, allocations: 160 kB / 470.3 MB, free: 15.99 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000188/0.01354, allocations: 164 kB / 470.5 MB, free: 15.83 MB / 350.1 MB Notification: Performance of combineBinaries: time 0.0009399/0.01448, allocations: 1.429 MB / 471.9 MB, free: 14.39 MB / 350.1 MB Notification: Performance of replaceArrayConstructors: time 0.0005438/0.01503, allocations: 0.8769 MB / 472.8 MB, free: 13.5 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001649/0.01519, allocations: 163.5 kB / 472.9 MB, free: 13.34 MB / 350.1 MB Notification: Performance of FrontEnd: time 0.0001604/0.01535, allocations: 59.38 kB / 473 MB, free: 13.28 MB / 350.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 260 (260) * Number of variables: 260 (260) Notification: Performance of Bindings: time 0.003345/0.0187, allocations: 3.391 MB / 476.4 MB, free: 9.672 MB / 350.1 MB Notification: Performance of FunctionAlias: time 0.0004408/0.01914, allocations: 474.8 kB / 476.8 MB, free: 9.207 MB / 350.1 MB Notification: Performance of Early Inline: time 0.002659/0.0218, allocations: 2.457 MB / 479.3 MB, free: 6.691 MB / 350.1 MB Notification: Performance of Simplify 1: time 0.0005163/0.02231, allocations: 377.1 kB / 479.7 MB, free: 6.27 MB / 350.1 MB Notification: Performance of Alias: time 0.008421/0.03074, allocations: 5.907 MB / 485.6 MB, free: 15.87 MB / 366.1 MB Notification: Performance of Simplify 2: time 0.0002128/0.03095, allocations: 133 kB / 485.7 MB, free: 15.71 MB / 366.1 MB Notification: Performance of Remove Stream: time 0.0001325/0.03108, allocations: 101.2 kB / 485.8 MB, free: 15.59 MB / 366.1 MB Notification: Performance of Detect States: time 0.0004848/0.03157, allocations: 246.6 kB / 486.1 MB, free: 15.31 MB / 366.1 MB Notification: Performance of Events: time 0.0001964/0.03176, allocations: 113.9 kB / 486.2 MB, free: 15.2 MB / 366.1 MB Notification: Performance of Partitioning: time 0.0003338/0.0321, allocations: 260 kB / 486.4 MB, free: 14.9 MB / 366.1 MB Notification: Performance of Causalize: time 0.001034/0.03313, allocations: 0.7903 MB / 487.2 MB, free: 14.06 MB / 366.1 MB Notification: Performance of After Index Reduction Inline: time 0.0003449/0.03347, allocations: 319.8 kB / 487.5 MB, free: 13.75 MB / 366.1 MB Notification: Performance of Simplify: time 0.0008263/0.0343, allocations: 0.5957 MB / 488.1 MB, free: 13.1 MB / 366.1 MB Notification: Performance of Inline: time 0.0007197/0.03502, allocations: 0.6671 MB / 488.8 MB, free: 12.42 MB / 366.1 MB Notification: Performance of Partitioning: time 6.747e-05/0.03509, allocations: 35.62 kB / 488.8 MB, free: 12.38 MB / 366.1 MB Notification: Performance of Cleanup: time 0.0001234/0.03521, allocations: 139.9 kB / 489 MB, free: 12.25 MB / 366.1 MB Warning: NBResolveSingularities.balanceInitialization reports an overdetermined initialization! Checking for consistency is not yet supported, following equations had to be removed: [SCAL] (1) false = false ($RES_SIM_0); [SCAL] (1) false = false ($RES_SIM_1); [SCAL] (1) false = false ($RES_SIM_6); [SCAL] (1) false = false ($RES_SIM_7); [SCAL] (1) false = false ($RES_SIM_8); [SCAL] (1) false = false ($RES_SIM_9); [SCAL] (1) false = false ($RES_SIM_12); [SCAL] (1) false = false ($RES_SIM_13); [SCAL] (1) false = false ($RES_SIM_18); [SCAL] (1) false = false ($RES_SIM_19); [SCAL] (1) false = false ($RES_SIM_20); [SCAL] (1) false = false ($RES_SIM_21); [SCAL] (1) false = false ($RES_SIM_25); [SCAL] (1) false = false ($RES_SIM_26); [SCAL] (1) false = false ($RES_SIM_27); [SCAL] (1) false = false ($RES_SIM_28); [SCAL] (1) false = false ($RES_SIM_30); [SCAL] (1) false = false ($RES_SIM_31); [SCAL] (1) false = false ($RES_SIM_32); [SCAL] (1) false = false ($RES_SIM_33); Notification: Performance of Causalize: time 0.003762/0.03897, allocations: 2.764 MB / 491.7 MB, free: 9.422 MB / 366.1 MB Notification: Performance of Tearing: time 1.696e-05/0.03899, allocations: 7.875 kB / 491.7 MB, free: 9.414 MB / 366.1 MB Notification: Performance of Initialization: time 6.92e-07/0.03899, allocations: 0 / 491.7 MB, free: 9.414 MB / 366.1 MB Notification: Performance of Tearing: time 7.293e-06/0.039, allocations: 4 kB / 491.7 MB, free: 9.41 MB / 366.1 MB Notification: Performance of Categorize: time 1.329e-05/0.03901, allocations: 0 / 491.7 MB, free: 9.41 MB / 366.1 MB Notification: Performance of Solve: time 0.0003174/0.03933, allocations: 182.4 kB / 491.9 MB, free: 9.234 MB / 366.1 MB Notification: Performance of Jacobian: time 0.0004028/0.03973, allocations: 331.8 kB / 492.2 MB, free: 8.871 MB / 366.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: ............... 1 * Number of algebraic event partitions: ......... 5 * 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: ............................. 2 (2) {romeo.y2, juliet.y2} * Number of discrete states: .................... 0 (0) {} * Number of clocked states: ..................... 0 (0) {} * Number of discrete variables: ................. 23 (23) {loving.growingA1.switching.useA_rate, loving.growingA1.switching.useB_rate, loving.growingA2.changing.useA_rate, loving.growingA2.changing.useB_rate, loving.growingA3.switching.useA_rate, loving.growingA3.switching.useB_rate, loving.growingB1.switching.useA_rate, loving.growingB1.switching.useB_rate, loving.growingB2.changing.useA_rate, loving.growingB2.changing.useB_rate, loving.growingB3.switching.useA_rate, loving.growingB3.switching.useB_rate, $SEV_10, $SEV_9, $SEV_8, $SEV_7, $SEV_6, $SEV_5, $SEV_4, $SEV_3, $SEV_2, $SEV_1, $SEV_0} * Number of clocks: ............................. 0 (0) {} * Number of top-level inputs: ................... 0 (0) {} Notification: [Simulation] Strong Component statistics after passing the back-end: * Number of single strong components: ........... 43 (scalar:43, 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 (resizable: 0generic: 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: ........... 98 (scalar:98, 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 (resizable: 0generic: 0, entwined:0) * Number of algebraic-loop strong components: ... 0 (linear: 0, nonlinear:0) Notification: Performance of backend: time 6.728e-05/0.0398, allocations: 52.59 kB / 492.3 MB, free: 8.832 MB / 366.1 MB Notification: Performance of SimCode: time 0.002681/0.04248, allocations: 2.768 MB / 495.1 MB, free: 6.012 MB / 366.1 MB Notification: Performance of Templates: time 0.007452/0.04993, allocations: 3.029 MB / 498.1 MB, free: 2.98 MB / 366.1 MB make -j1 -f BusinessSimulation_dev_BusinessSimulation.Examples.LoveHateDynamics.makefile (rm -f BusinessSimulation_dev_BusinessSimulation.Examples.LoveHateDynamics.pipe ; mkfifo BusinessSimulation_dev_BusinessSimulation.Examples.LoveHateDynamics.pipe ; head -c 1048576 < BusinessSimulation_dev_BusinessSimulation.Examples.LoveHateDynamics.pipe >> ../files/BusinessSimulation_dev_BusinessSimulation.Examples.LoveHateDynamics.sim & ./BusinessSimulation_dev_BusinessSimulation.Examples.LoveHateDynamics -abortSlowSimulation -alarm=480 -lv LOG_STATS > BusinessSimulation_dev_BusinessSimulation.Examples.LoveHateDynamics.pipe 2>&1)