Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.Fluid.Sensors.Examples.TemperatureWetBulb.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/IDEAS 3.0.0/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/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(IDEAS.Fluid.Sensors.Examples.TemperatureWetBulb,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Fluid.Sensors.Examples.TemperatureWetBulb") translateModel(IDEAS.Fluid.Sensors.Examples.TemperatureWetBulb,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Fluid.Sensors.Examples.TemperatureWetBulb") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.007872/0.007872, allocations: 103.9 kB / 15.74 MB, free: 5.953 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.001151/0.001151, allocations: 188.9 kB / 16.67 MB, free: 5.883 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.384/1.384, allocations: 222.9 MB / 240.4 MB, free: 4.152 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.8478/0.8478, allocations: 132.2 MB / 422.7 MB, free: 1.598 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00129/0.00129, allocations: 64.25 kB / 0.5814 GB, free: 0.832 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1609/0.1622, allocations: 80.21 MB / 0.6597 GB, free: 13.45 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Sensors.Examples.TemperatureWetBulb): time 0.6895/0.8518, allocations: 161.5 MB / 0.8174 GB, free: 3.199 MB / 0.6387 GB Notification: Performance of NFInst.instExpressions: time 0.004814/0.8566, allocations: 3.481 MB / 0.8208 GB, free: 3.156 MB / 0.6387 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000452/0.8571, allocations: 10.66 kB / 0.8208 GB, free: 3.156 MB / 0.6387 GB Notification: Performance of NFTyping.typeComponents: time 0.0005114/0.8576, allocations: 136.8 kB / 0.8209 GB, free: 3.156 MB / 0.6387 GB Notification: Performance of NFTyping.typeBindings: time 0.001404/0.8591, allocations: 472.7 kB / 0.8214 GB, free: 3.137 MB / 0.6387 GB Notification: Performance of NFTyping.typeClassSections: time 0.001973/0.8611, allocations: 0.603 MB / 0.822 GB, free: 3.117 MB / 0.6387 GB Notification: Performance of NFFlatten.flatten: time 0.0009602/0.8621, allocations: 0.6196 MB / 0.8226 GB, free: 3.117 MB / 0.6387 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004537/0.8625, allocations: 223.5 kB / 0.8228 GB, free: 3.109 MB / 0.6387 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00141/0.8639, allocations: 342.3 kB / 0.8231 GB, free: 3.109 MB / 0.6387 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003528/0.8643, allocations: 194.2 kB / 0.8233 GB, free: 3.109 MB / 0.6387 GB Notification: Performance of NFPackage.collectConstants: time 6.152e-05/0.8644, allocations: 22.03 kB / 0.8233 GB, free: 3.109 MB / 0.6387 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001229/0.8656, allocations: 0.5548 MB / 0.8239 GB, free: 3.102 MB / 0.6387 GB Notification: Performance of NFScalarize.scalarize: time 0.0001286/0.8658, allocations: 95.45 kB / 0.824 GB, free: 3.102 MB / 0.6387 GB Notification: Performance of NFVerifyModel.verify: time 0.0001738/0.8659, allocations: 145.4 kB / 0.8241 GB, free: 3.102 MB / 0.6387 GB Notification: Performance of NFConvertDAE.convert: time 0.0009207/0.8669, allocations: 0.554 MB / 0.8246 GB, free: 3.074 MB / 0.6387 GB Notification: Performance of FrontEnd - DAE generated: time 5.741e-06/0.8669, allocations: 4.156 kB / 0.8246 GB, free: 3.074 MB / 0.6387 GB Notification: Performance of FrontEnd: time 1.342e-06/0.8669, allocations: 1.375 kB / 0.8246 GB, free: 3.074 MB / 0.6387 GB Notification: Performance of Transformations before backend: time 7.714e-06/0.8669, allocations: 0 / 0.8246 GB, free: 3.074 MB / 0.6387 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 49 * Number of variables: 49 Notification: Performance of Generate backend data structure: time 0.0009958/0.8679, allocations: 0.6291 MB / 0.8253 GB, free: 2.609 MB / 0.6387 GB Notification: Performance of prepare preOptimizeDAE: time 3.574e-05/0.8679, allocations: 9.688 kB / 0.8253 GB, free: 2.609 MB / 0.6387 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005102/0.8685, allocations: 68.78 kB / 0.8253 GB, free: 2.598 MB / 0.6387 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003827/0.8689, allocations: 316.2 kB / 0.8256 GB, free: 2.363 MB / 0.6387 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.697e-05/0.8689, allocations: 17.97 kB / 0.8256 GB, free: 2.359 MB / 0.6387 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.928e-05/0.8689, allocations: 20.12 kB / 0.8257 GB, free: 2.359 MB / 0.6387 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006223/0.8696, allocations: 312.3 kB / 0.826 GB, free: 2.289 MB / 0.6387 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.188e-05/0.8696, allocations: 0 / 0.826 GB, free: 2.289 MB / 0.6387 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.845e-05/0.8696, allocations: 10.25 kB / 0.826 GB, free: 2.289 MB / 0.6387 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.885e-06/0.8696, allocations: 5.531 kB / 0.826 GB, free: 2.289 MB / 0.6387 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006286/0.8703, allocations: 246.8 kB / 0.8262 GB, free: 2.289 MB / 0.6387 GB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001412/0.8717, allocations: 1.247 MB / 0.8274 GB, free: 1.434 MB / 0.6387 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004134/0.8721, allocations: 176.8 kB / 0.8276 GB, free: 1.41 MB / 0.6387 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002965/0.8724, allocations: 122.3 kB / 0.8277 GB, free: 1.402 MB / 0.6387 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000654/0.8731, allocations: 309.2 kB / 0.828 GB, free: 17.12 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.798e-05/0.8731, allocations: 33.72 kB / 0.828 GB, free: 17.08 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=14): time 1.283e-06/0.8731, allocations: 2.719 kB / 0.828 GB, free: 17.08 MB / 0.6544 GB Notification: Performance of matching and sorting (n=14): time 0.00221/0.8754, allocations: 0.5709 MB / 0.8286 GB, free: 16.93 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.086e-05/0.8754, allocations: 56.62 kB / 0.8287 GB, free: 16.87 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002506/0.8757, allocations: 251.5 kB / 0.8289 GB, free: 16.77 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 2.64e-05/0.8757, allocations: 30.27 kB / 0.8289 GB, free: 16.74 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001095/0.8758, allocations: 167.8 kB / 0.8291 GB, free: 16.63 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 4.166e-05/0.8759, allocations: 49.75 kB / 0.8291 GB, free: 16.6 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.847e-05/0.8759, allocations: 36.91 kB / 0.8292 GB, free: 16.58 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 0.0001125/0.8761, allocations: 338.3 kB / 0.8295 GB, free: 16.27 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002765/0.8763, allocations: 98.12 kB / 0.8296 GB, free: 16.27 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002799/0.8766, allocations: 138.9 kB / 0.8297 GB, free: 16.23 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005473/0.8772, allocations: 240.7 kB / 0.8299 GB, free: 16.18 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.315e-06/0.8772, allocations: 0 / 0.8299 GB, free: 16.18 MB / 0.6544 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0011/0.8783, allocations: 350.5 kB / 0.8303 GB, free: 16.13 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 1.704e-05/0.8783, allocations: 9.484 kB / 0.8303 GB, free: 16.13 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.711e-06/0.8784, allocations: 1.438 kB / 0.8303 GB, free: 16.13 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005868/0.8789, allocations: 90.28 kB / 0.8304 GB, free: 16.12 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000219/0.8792, allocations: 45.84 kB / 0.8304 GB, free: 16.12 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002299/0.8815, allocations: 1.72 MB / 0.8321 GB, free: 14.75 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002336/0.8817, allocations: 30.09 kB / 0.8321 GB, free: 14.74 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.821e-05/0.8818, allocations: 14.44 kB / 0.8321 GB, free: 14.74 MB / 0.6544 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (16): * Single equations (assignments): 15 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,2)} Notification: Performance of prepare postOptimizeDAE: time 0.0001442/0.8819, allocations: 149.3 kB / 0.8323 GB, free: 14.62 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.278e-05/0.882, allocations: 23.94 kB / 0.8323 GB, free: 14.61 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00104/0.883, allocations: 363.6 kB / 0.8327 GB, free: 14.55 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.349e-06/0.883, allocations: 6.453 kB / 0.8327 GB, free: 14.55 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.443e-06/0.883, allocations: 0.9375 kB / 0.8327 GB, free: 14.55 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.124e-06/0.8831, allocations: 3.328 kB / 0.8327 GB, free: 14.55 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001521/0.8846, allocations: 0.7734 MB / 0.8334 GB, free: 14.21 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.816e-06/0.8846, allocations: 2.406 kB / 0.8334 GB, free: 14.21 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001813/0.8848, allocations: 36.64 kB / 0.8335 GB, free: 14.21 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004403/0.8852, allocations: 77.05 kB / 0.8335 GB, free: 14.21 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.467e-05/0.8853, allocations: 5.531 kB / 0.8335 GB, free: 14.21 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00186/0.8871, allocations: 1.749 MB / 0.8352 GB, free: 12.82 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.663e-06/0.8872, allocations: 1.188 kB / 0.8352 GB, free: 12.82 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001035/0.8882, allocations: 453.8 kB / 0.8357 GB, free: 12.64 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001111/0.8883, allocations: 121.9 kB / 0.8358 GB, free: 12.54 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.91e-05/0.8884, allocations: 2.25 kB / 0.8358 GB, free: 12.54 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002318/0.8886, allocations: 27.88 kB / 0.8358 GB, free: 12.54 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.695e-05/0.8887, allocations: 23.81 kB / 0.8358 GB, free: 12.53 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.019e-05/0.8887, allocations: 5.125 kB / 0.8359 GB, free: 12.53 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 0.0001881/0.8889, allocations: 188.6 kB / 0.836 GB, free: 12.45 MB / 0.6544 GB Notification: Performance of sort global known variables: time 1.7e-07/0.8889, allocations: 1.031 kB / 0.836 GB, free: 12.45 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.0004421/0.8894, allocations: 86.45 kB / 0.8361 GB, free: 12.44 MB / 0.6544 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (12): * Single equations (assignments): 11 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,3)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0003756/0.8897, allocations: 150.9 kB / 0.8363 GB, free: 12.35 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.0009347/0.8907, allocations: 366.5 kB / 0.8366 GB, free: 12.23 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 2.384e-06/0.8907, allocations: 2.156 kB / 0.8366 GB, free: 12.23 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 0.0005297/0.8912, allocations: 259.4 kB / 0.8369 GB, free: 12.12 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006505/0.8919, allocations: 127.1 kB / 0.837 GB, free: 12.12 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008053/0.8927, allocations: 0.4895 MB / 0.8375 GB, free: 11.86 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000326/0.893, allocations: 0.7712 MB / 0.8382 GB, free: 11.17 MB / 0.6544 GB Notification: Performance of simCode: alias equations: time 0.000174/0.8932, allocations: 52.31 kB / 0.8383 GB, free: 11.17 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.043e-05/0.8933, allocations: 24.94 kB / 0.8383 GB, free: 11.16 MB / 0.6544 GB Notification: Performance of SimCode: time 2.4e-07/0.8933, allocations: 2.078 kB / 0.8383 GB, free: 11.16 MB / 0.6544 GB Notification: Performance of Templates: time 0.01099/0.9043, allocations: 5.993 MB / 0.8441 GB, free: 10.96 MB / 0.6544 GB make -j1 -f IDEAS_IDEAS.Fluid.Sensors.Examples.TemperatureWetBulb.makefile (rm -f IDEAS_IDEAS.Fluid.Sensors.Examples.TemperatureWetBulb.pipe ; mkfifo IDEAS_IDEAS.Fluid.Sensors.Examples.TemperatureWetBulb.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.Sensors.Examples.TemperatureWetBulb.pipe >> ../files/IDEAS_IDEAS.Fluid.Sensors.Examples.TemperatureWetBulb.sim & ./IDEAS_IDEAS.Fluid.Sensors.Examples.TemperatureWetBulb -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_IDEAS.Fluid.Sensors.Examples.TemperatureWetBulb.pipe 2>&1)