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.001298/0.001298, allocations: 106.8 kB / 16.41 MB, free: 6.438 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.001085/0.001085, allocations: 189.5 kB / 17.34 MB, free: 5.707 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.352/1.352, allocations: 222.9 MB / 241 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.8047/0.8047, allocations: 132.2 MB / 423.4 MB, free: 6.594 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001261/0.001261, allocations: 60.47 kB / 0.582 GB, free: 23.65 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1693/0.1706, allocations: 80.21 MB / 0.6603 GB, free: 10.27 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Sensors.Examples.TemperatureWetBulb): time 0.5939/0.7645, allocations: 161.5 MB / 0.818 GB, free: 9.773 MB / 0.5919 GB Notification: Performance of NFInst.instExpressions: time 0.004687/0.7692, allocations: 3.484 MB / 0.8214 GB, free: 7.633 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004084/0.7697, allocations: 15.34 kB / 0.8215 GB, free: 7.625 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 0.0005132/0.7703, allocations: 135.3 kB / 0.8216 GB, free: 7.504 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.001329/0.7716, allocations: 450.2 kB / 0.822 GB, free: 7.168 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.001646/0.7733, allocations: 0.5952 MB / 0.8226 GB, free: 6.727 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.000753/0.774, allocations: 0.6216 MB / 0.8232 GB, free: 6.367 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003888/0.7744, allocations: 225.7 kB / 0.8234 GB, free: 6.227 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001307/0.7757, allocations: 351.9 kB / 0.8238 GB, free: 6.043 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002658/0.776, allocations: 192.7 kB / 0.8239 GB, free: 5.926 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 4.512e-05/0.7761, allocations: 27.81 kB / 0.824 GB, free: 5.922 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001042/0.7771, allocations: 0.5472 MB / 0.8245 GB, free: 5.621 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 0.0001178/0.7773, allocations: 92.97 kB / 0.8246 GB, free: 5.559 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.0001572/0.7774, allocations: 149.4 kB / 0.8247 GB, free: 5.461 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.0008668/0.7783, allocations: 0.5526 MB / 0.8253 GB, free: 5.125 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 5.921e-06/0.7783, allocations: 6.531 kB / 0.8253 GB, free: 5.121 MB / 0.5919 GB Notification: Performance of FrontEnd: time 1.773e-06/0.7783, allocations: 0 / 0.8253 GB, free: 5.121 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 7.704e-06/0.7783, allocations: 0 / 0.8253 GB, free: 5.121 MB / 0.5919 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.001065/0.7794, allocations: 0.6279 MB / 0.8259 GB, free: 4.562 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 3.691e-05/0.7794, allocations: 10.06 kB / 0.8259 GB, free: 4.562 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005164/0.78, allocations: 71.83 kB / 0.826 GB, free: 4.531 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000463/0.7804, allocations: 304.9 kB / 0.8263 GB, free: 4.238 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.252e-05/0.7805, allocations: 18.41 kB / 0.8263 GB, free: 4.227 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.21e-05/0.7805, allocations: 20.98 kB / 0.8263 GB, free: 4.219 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006383/0.7812, allocations: 308.6 kB / 0.8266 GB, free: 4.02 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.457e-05/0.7812, allocations: 7.922 kB / 0.8266 GB, free: 4.012 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.299e-05/0.7812, allocations: 18.56 kB / 0.8266 GB, free: 3.996 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.876e-06/0.7812, allocations: 5.062 kB / 0.8266 GB, free: 3.996 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006386/0.7819, allocations: 250.2 kB / 0.8269 GB, free: 3.883 MB / 0.5919 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.001633/0.7835, allocations: 1.235 MB / 0.8281 GB, free: 2.738 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00042/0.7839, allocations: 175.8 kB / 0.8282 GB, free: 2.641 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003132/0.7843, allocations: 120 kB / 0.8283 GB, free: 2.582 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005565/0.7848, allocations: 305.8 kB / 0.8286 GB, free: 2.27 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.323e-05/0.7849, allocations: 41.3 kB / 0.8287 GB, free: 2.223 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=14): time 1.412e-06/0.7849, allocations: 0 / 0.8287 GB, free: 2.223 MB / 0.5919 GB Notification: Performance of matching and sorting (n=14): time 0.002199/0.7871, allocations: 0.5696 MB / 0.8292 GB, free: 1.875 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.636e-05/0.7871, allocations: 55.41 kB / 0.8293 GB, free: 1.809 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002515/0.7874, allocations: 256.3 kB / 0.8295 GB, free: 1.637 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 2.778e-05/0.7874, allocations: 29.7 kB / 0.8296 GB, free: 1.602 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001255/0.7876, allocations: 164.9 kB / 0.8297 GB, free: 1.449 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 4.288e-05/0.7876, allocations: 46.73 kB / 0.8298 GB, free: 1.41 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.756e-05/0.7877, allocations: 37.77 kB / 0.8298 GB, free: 1.379 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0001268/0.7878, allocations: 332.2 kB / 0.8301 GB, free: 1.051 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002844/0.7881, allocations: 96.86 kB / 0.8302 GB, free: 1.008 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003268/0.7885, allocations: 145.7 kB / 0.8303 GB, free: 0.9062 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005887/0.7891, allocations: 236.1 kB / 0.8306 GB, free: 0.7695 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.244e-06/0.7891, allocations: 3.938 kB / 0.8306 GB, free: 0.7656 MB / 0.5919 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.001123/0.7902, allocations: 359.2 kB / 0.8309 GB, free: 0.5664 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 1.605e-05/0.7902, allocations: 4.844 kB / 0.8309 GB, free: 0.5664 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.943e-06/0.7902, allocations: 2.5 kB / 0.8309 GB, free: 0.5664 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005866/0.7908, allocations: 85.73 kB / 0.831 GB, free: 0.5234 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002189/0.7911, allocations: 42.77 kB / 0.831 GB, free: 0.5117 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002288/0.7934, allocations: 1.719 MB / 0.8327 GB, free: 14.87 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002664/0.7936, allocations: 39.69 kB / 0.8328 GB, free: 14.85 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.651e-05/0.7937, allocations: 4.625 kB / 0.8328 GB, free: 14.85 MB / 0.6075 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.0001672/0.7938, allocations: 149.3 kB / 0.8329 GB, free: 14.71 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.98e-05/0.7939, allocations: 28.5 kB / 0.8329 GB, free: 14.69 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001138/0.7951, allocations: 362.3 kB / 0.8333 GB, free: 14.48 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.697e-06/0.7951, allocations: 2.344 kB / 0.8333 GB, free: 14.48 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.523e-06/0.7951, allocations: 0 / 0.8333 GB, free: 14.48 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.937e-06/0.7951, allocations: 0 / 0.8333 GB, free: 14.48 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001663/0.7968, allocations: 0.7808 MB / 0.834 GB, free: 13.86 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.617e-06/0.7968, allocations: 0 / 0.834 GB, free: 13.86 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001907/0.797, allocations: 33.56 kB / 0.8341 GB, free: 13.85 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004293/0.7974, allocations: 79.12 kB / 0.8342 GB, free: 13.81 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.44e-05/0.7974, allocations: 14.7 kB / 0.8342 GB, free: 13.8 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001916/0.7994, allocations: 1.747 MB / 0.8359 GB, free: 12.13 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.285e-06/0.7994, allocations: 2.594 kB / 0.8359 GB, free: 12.13 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001109/0.8005, allocations: 455.1 kB / 0.8363 GB, free: 11.82 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001522/0.8007, allocations: 123.5 kB / 0.8364 GB, free: 11.69 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.627e-05/0.8007, allocations: 10.5 kB / 0.8364 GB, free: 11.68 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002445/0.8009, allocations: 17.94 kB / 0.8365 GB, free: 11.68 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.362e-05/0.801, allocations: 15.95 kB / 0.8365 GB, free: 11.67 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.018e-05/0.8011, allocations: 8.812 kB / 0.8365 GB, free: 11.66 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.0001724/0.8012, allocations: 185.3 kB / 0.8367 GB, free: 11.54 MB / 0.6075 GB Notification: Performance of sort global known variables: time 9.1e-08/0.8013, allocations: 0 / 0.8367 GB, free: 11.54 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0004609/0.8017, allocations: 85.2 kB / 0.8367 GB, free: 11.52 MB / 0.6075 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.0004179/0.8021, allocations: 157.2 kB / 0.8369 GB, free: 11.41 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0009927/0.8031, allocations: 359.9 kB / 0.8372 GB, free: 11.18 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 2.414e-06/0.8032, allocations: 0 / 0.8372 GB, free: 11.18 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.0005728/0.8037, allocations: 259.8 kB / 0.8375 GB, free: 11 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007019/0.8044, allocations: 125.4 kB / 0.8376 GB, free: 10.94 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009368/0.8054, allocations: 0.5294 MB / 0.8381 GB, free: 10.55 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003472/0.8058, allocations: 0.7713 MB / 0.8389 GB, free: 9.812 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.546e-05/0.8058, allocations: 20.16 kB / 0.8389 GB, free: 9.805 MB / 0.6075 GB Notification: Performance of SimCode: time 2.9e-07/0.8058, allocations: 0 / 0.8389 GB, free: 9.805 MB / 0.6075 GB Notification: Performance of Templates: time 0.008929/0.8148, allocations: 5.448 MB / 0.8442 GB, free: 6.957 MB / 0.6075 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)