Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Sensors.TestDensity.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001481/0.001481, allocations: 107.6 kB / 21.25 MB, free: 0.5625 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001582/0.001582, allocations: 218.3 kB / 24.55 MB, free: 3.82 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.52/1.52, allocations: 230.5 MB / 258.2 MB, free: 7.738 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2457/0.2457, allocations: 46.94 MB / 361.6 MB, free: 3.879 MB / 286.1 MB " [Timeout remaining time 179] Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: translateModel(ModelicaTest.Fluid.TestComponents.Sensors.TestDensity,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|density2_1.d|density2_2.d|density1_1.d|density1_2.d|simpleGenericOrifice.port_b.m_flow|simpleGenericOrifice.port_b.p|simpleGenericOrifice.port_b.h_outflow",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Sensors.TestDensity") translateModel(ModelicaTest.Fluid.TestComponents.Sensors.TestDensity,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|density2_1.d|density2_2.d|density1_1.d|density1_2.d|simpleGenericOrifice.port_b.m_flow|simpleGenericOrifice.port_b.p|simpleGenericOrifice.port_b.h_outflow",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Sensors.TestDensity") [Timeout 660] "Notification: Performance of FrontEnd - Absyn->SCode: time 2.627e-05/2.627e-05, allocations: 2.281 kB / 0.4974 GB, free: 7.047 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Sensors.TestDensity): time 0.3738/0.3738, allocations: 59.61 MB / 0.5556 GB, free: 15.6 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.03425/0.4081, allocations: 24.31 MB / 0.5794 GB, free: 12.93 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001557/0.4096, allocations: 31.69 kB / 0.5794 GB, free: 12.89 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00183/0.4114, allocations: 0.5122 MB / 0.5799 GB, free: 12.38 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01639/0.4278, allocations: 5.249 MB / 0.585 GB, free: 7.141 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01169/0.4395, allocations: 3.579 MB / 0.5885 GB, free: 3.562 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.004513/0.444, allocations: 2.935 MB / 0.5914 GB, free: 0.6211 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001386/0.4454, allocations: 0.796 MB / 0.5922 GB, free: 15.8 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00976/0.4552, allocations: 4.737 MB / 0.5968 GB, free: 11.01 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001752/0.4569, allocations: 0.708 MB / 0.5975 GB, free: 10.3 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002522/0.4572, allocations: 88 kB / 0.5976 GB, free: 10.21 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01369/0.4709, allocations: 6.138 MB / 0.6036 GB, free: 4.066 MB / 430.1 MB Notification: Performance of combineBinaries: time 0.002543/0.4734, allocations: 2.098 MB / 0.6056 GB, free: 1.949 MB / 430.1 MB Notification: Performance of replaceArrayConstructors: time 0.001092/0.4745, allocations: 1.301 MB / 0.6069 GB, free: 0.6367 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002993/0.4748, allocations: 108 kB / 0.607 GB, free: 0.5312 MB / 430.1 MB Notification: Performance of FrontEnd: time 0.0003193/0.4751, allocations: 39.84 kB / 0.607 GB, free: 0.4922 MB / 430.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 190 (174) * Number of variables: 190 (190) Notification: Performance of [SIM] Bindings: time 0.005807/0.4809, allocations: 5.177 MB / 0.6121 GB, free: 11.11 MB / 446.1 MB Notification: Performance of [SIM] FunctionAlias: time 0.0006499/0.4816, allocations: 0.5968 MB / 0.6127 GB, free: 10.5 MB / 446.1 MB Notification: Performance of [SIM] Early Inline: time 0.006996/0.4886, allocations: 6.174 MB / 0.6187 GB, free: 4.312 MB / 446.1 MB Notification: Performance of [SIM] Simplify 1: time 0.001174/0.4898, allocations: 0.6635 MB / 0.6193 GB, free: 3.578 MB / 446.1 MB Notification: Performance of [SIM] Alias: time 0.005831/0.4956, allocations: 4.078 MB / 0.6233 GB, free: 15.07 MB / 462.1 MB Notification: Performance of [SIM] Simplify 2: time 0.000998/0.4966, allocations: 0.6496 MB / 0.624 GB, free: 14.37 MB / 462.1 MB Notification: Performance of [SIM] Remove Stream: time 0.0005217/0.4971, allocations: 439.8 kB / 0.6244 GB, free: 13.91 MB / 462.1 MB Notification: Performance of [SIM] Detect States: time 0.0008991/0.498, allocations: 0.8591 MB / 0.6252 GB, free: 13 MB / 462.1 MB Notification: Performance of [SIM] Events: time 0.0009469/0.499, allocations: 0.6807 MB / 0.6259 GB, free: 12.3 MB / 462.1 MB Notification: Performance of [SIM] Partitioning: time 0.00212/0.5011, allocations: 1.826 MB / 0.6277 GB, free: 10.29 MB / 462.1 MB Notification: Performance of [SIM] Causalize: time 0.004718/0.5058, allocations: 3.303 MB / 0.6309 GB, free: 6.789 MB / 462.1 MB Notification: Performance of [SIM] After Index Reduction Inline: time 0.004506/0.5103, allocations: 4.137 MB / 0.6349 GB, free: 2.652 MB / 462.1 MB Notification: Performance of [INI] Simplify: time 0.002644/0.5129, allocations: 1.457 MB / 0.6363 GB, free: 1.086 MB / 462.1 MB Notification: Performance of [INI] Inline: time 0.00538/0.5183, allocations: 5.038 MB / 0.6413 GB, free: 12.04 MB / 478.1 MB Notification: Performance of [INI] Partitioning: time 0.0001604/0.5185, allocations: 72 kB / 0.6413 GB, free: 11.95 MB / 478.1 MB Notification: Performance of [INI] Cleanup: time 0.001105/0.5196, allocations: 0.9951 MB / 0.6423 GB, free: 10.95 MB / 478.1 MB Notification: Performance of [INI] Causalize: time 0.01185/0.5314, allocations: 7.644 MB / 0.6498 GB, free: 3.184 MB / 478.1 MB Notification: Performance of [INI] Tearing: time 0.001418/0.5329, allocations: 1.083 MB / 0.6508 GB, free: 2.109 MB / 478.1 MB Notification: Performance of [SIM] Initialization: time 1.643e-06/0.5329, allocations: 0 / 0.6508 GB, free: 2.109 MB / 478.1 MB Notification: Performance of [SIM] DAE-Mode: time 0.002064/0.5349, allocations: 1.424 MB / 0.6522 GB, free: 0.5859 MB / 478.1 MB Notification: Performance of [SIM] Remove Dummies: time 1.553e-05/0.5349, allocations: 8.938 kB / 0.6522 GB, free: 0.5781 MB / 478.1 MB Notification: Performance of [SIM] Tearing: time 0.0007937/0.5357, allocations: 0.6227 MB / 0.6528 GB, free: 15.95 MB / 494.1 MB Notification: Performance of [SIM] Categorize: time 4.738e-05/0.5358, allocations: 7.938 kB / 0.6528 GB, free: 15.94 MB / 494.1 MB Notification: Performance of [SIM] Solve: time 0.007347/0.5431, allocations: 4.61 MB / 0.6573 GB, free: 11.43 MB / 494.1 MB Notification: Performance of [SIM] Jacobian: time 0.02654/0.5697, allocations: 26.66 MB / 0.6834 GB, free: 14.83 MB / 0.5137 GB Notification: Partition statistics after passing the back-end: * Number of ODE partitions: ..................... 0 * Number of algebraic partitions: ............... 10 * Number of ODE event partitions: ............... 0 * Number of algebraic event partitions: ......... 14 * Number of clocked partitions: ................. 0 * Number of initial partitions: ................. 1 * Number of initial(lambda=0) partitions: ....... 1 Notification: Variable statistics after passing the back-end: * Number of states: ............................. 0 (0) {} * Number of discrete states: .................... 0 (0) {} * Number of clocked states: ..................... 0 (0) {} * Number of discrete variables: ................. 54 (54) {simpleGenericOrifice1.state_a.phase, simpleGenericOrifice1.state_b.phase, massFlowRate2.medium.state.phase, massFlowRate2.medium.phase, boundary_fixed1.medium.state.phase, boundary_fixed1.medium.phase, simpleGenericOrifice.state_a.phase, simpleGenericOrifice.state_b.phase, massFlowRate1.medium.state.phase, massFlowRate1.medium.phase, boundary_fixed.medium.state.phase, boundary_fixed.medium.phase, $SEV_39, $SEV_38, $SEV_37, $SEV_36, $SEV_35, $SEV_34, $SEV_33, $SEV_32, $SEV_31, $SEV_30, $SEV_29, $SEV_28, $SEV_27, $SEV_26, $SEV_25, $SEV_24, $SEV_23, $SEV_22, $SEV_21, $SEV_20, $SEV_19, $SEV_18, $SEV_17, $SEV_16, $SEV_15, $SEV_14, $SEV_13, $SEV_12, $SEV_11, $SEV_10, $SEV_9, $SEV_8, $SEV_7, $SEV_6, $SEV_5, $SEV_4, $SEV_3, $SEV_2, $SEV_1, $SEV_0, $TEV_1, $TEV_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: ........... 144 (scalar:144, 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: 0, generic: 0, entwined:0) * Number of algebraic-loop strong components: ... 2 (linear: 2, nonlinear:0) Notification: [Initialization] Strong Component statistics after passing the back-end: * Number of single strong components: ........... 187 (scalar:183, array:4, record:0) * Number of multi strong components: ............ 0 (algorithm:0, when:0, if:0, tuple:0) * Number of for-loop strong components: ......... 0 (resizable: 0, generic: 0, entwined:0) * Number of algebraic-loop strong components: ... 2 (linear: 2, nonlinear:0) Notification: [Initialization (lambda=0)] Strong Component statistics after passing the back-end: * Number of single strong components: ........... 207 (scalar:203, array:4, record:0) * Number of multi strong components: ............ 0 (algorithm:0, when:0, if:0, tuple:0) * Number of for-loop strong components: ......... 0 (resizable: 0, generic: 0, entwined:0) * Number of algebraic-loop strong components: ... 0 (linear: 0, nonlinear:0) Notification: Performance of backend: time 0.0002041/0.5699, allocations: 125.1 kB / 0.6835 GB, free: 14.71 MB / 0.5137 GB Notification: Performance of SimCode: time 0.03899/0.6089, allocations: 17.71 MB / 0.7008 GB, free: 12.84 MB / 0.5294 GB Notification: Performance of Templates: time 0.4466/1.055, allocations: 73.82 MB / 0.7729 GB, free: 100.9 MB / 0.545 GB " [Timeout remaining time 659] make -j1 -f ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Sensors.TestDensity.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Sensors.TestDensity.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Sensors.TestDensity.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Sensors.TestDensity.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Sensors.TestDensity.sim & ./ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Sensors.TestDensity -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Sensors.TestDensity.pipe 2>&1) [Timeout 480] [Calling os._exit(0), Time elapsed: 8.633345915004611] Failed to read output from testmodel.py, exit status != 0: ['time', 'density2_1.d', 'density2_2.d', 'density1_1.d', 'density1_2.d', 'simpleGenericOrifice.port_b.m_flow', 'simpleGenericOrifice.port_b.p', 'simpleGenericOrifice.port_b.h_outflow'] 1.064317532000132 1.074569244 0.596737345 Calling exit ...