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.00115/0.00115, allocations: 110 kB / 16.41 MB, free: 6.492 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.001222/0.001222, allocations: 187 kB / 17.34 MB, free: 5.766 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.329/1.329, allocations: 222.9 MB / 241 MB, free: 15.1 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7724/0.7724, allocations: 132.2 MB / 423.4 MB, free: 6.594 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001253/0.001253, allocations: 63.56 kB / 0.582 GB, free: 23.68 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1632/0.1645, allocations: 80.22 MB / 0.6603 GB, free: 10.24 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Sensors.Examples.TemperatureWetBulb): time 0.615/0.7796, allocations: 161.5 MB / 0.818 GB, free: 9.711 MB / 0.5919 GB Notification: Performance of NFInst.instExpressions: time 0.005354/0.785, allocations: 3.481 MB / 0.8214 GB, free: 7.594 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000535/0.7855, allocations: 11.25 kB / 0.8215 GB, free: 7.59 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 0.0005701/0.7861, allocations: 131.9 kB / 0.8216 GB, free: 7.473 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.001542/0.7877, allocations: 454 kB / 0.822 GB, free: 7.133 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.001929/0.7897, allocations: 0.6066 MB / 0.8226 GB, free: 6.684 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.0009878/0.7907, allocations: 0.6119 MB / 0.8232 GB, free: 6.332 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004802/0.7912, allocations: 228.3 kB / 0.8234 GB, free: 6.191 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001532/0.7927, allocations: 346.4 kB / 0.8237 GB, free: 6.008 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004112/0.7931, allocations: 195.4 kB / 0.8239 GB, free: 5.891 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 7.368e-05/0.7932, allocations: 23.09 kB / 0.824 GB, free: 5.891 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00111/0.7943, allocations: 0.5507 MB / 0.8245 GB, free: 5.586 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 0.0001373/0.7945, allocations: 88.91 kB / 0.8246 GB, free: 5.527 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.0002267/0.7947, allocations: 150.3 kB / 0.8247 GB, free: 5.426 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.0011/0.7958, allocations: 0.5557 MB / 0.8253 GB, free: 5.09 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 4.458e-06/0.7958, allocations: 4 kB / 0.8253 GB, free: 5.086 MB / 0.5919 GB Notification: Performance of FrontEnd: time 1.803e-06/0.7958, allocations: 0 / 0.8253 GB, free: 5.086 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 1.468e-05/0.7959, allocations: 1.875 kB / 0.8253 GB, free: 5.086 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.001336/0.7972, allocations: 0.6246 MB / 0.8259 GB, free: 4.531 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 4.175e-05/0.7973, allocations: 10.12 kB / 0.8259 GB, free: 4.531 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006102/0.7979, allocations: 79.61 kB / 0.826 GB, free: 4.492 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004642/0.7984, allocations: 306.5 kB / 0.8263 GB, free: 4.199 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.357e-05/0.7984, allocations: 24.44 kB / 0.8263 GB, free: 4.18 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.366e-05/0.7984, allocations: 17 kB / 0.8263 GB, free: 4.176 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006727/0.7991, allocations: 314.1 kB / 0.8266 GB, free: 3.973 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.092e-05/0.7991, allocations: 0 / 0.8266 GB, free: 3.973 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.233e-05/0.7992, allocations: 14.12 kB / 0.8266 GB, free: 3.961 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.074e-05/0.7992, allocations: 5.281 kB / 0.8266 GB, free: 3.961 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006568/0.7998, allocations: 249.8 kB / 0.8269 GB, free: 3.848 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.001677/0.8015, allocations: 1.235 MB / 0.8281 GB, free: 2.703 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004436/0.802, allocations: 176 kB / 0.8282 GB, free: 2.605 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003103/0.8023, allocations: 119.3 kB / 0.8283 GB, free: 2.547 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005789/0.8029, allocations: 310.1 kB / 0.8286 GB, free: 2.23 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.12e-05/0.8029, allocations: 33.44 kB / 0.8287 GB, free: 2.191 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=14): time 1.352e-06/0.8029, allocations: 0 / 0.8287 GB, free: 2.191 MB / 0.5919 GB Notification: Performance of matching and sorting (n=14): time 0.002318/0.8053, allocations: 0.575 MB / 0.8292 GB, free: 1.836 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.815e-05/0.8053, allocations: 53.5 kB / 0.8293 GB, free: 1.773 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002614/0.8056, allocations: 257.9 kB / 0.8295 GB, free: 1.598 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 3.496e-05/0.8056, allocations: 31.61 kB / 0.8296 GB, free: 1.562 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001142/0.8058, allocations: 157.1 kB / 0.8297 GB, free: 1.418 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 4.778e-05/0.8058, allocations: 51.05 kB / 0.8298 GB, free: 1.375 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.673e-05/0.8059, allocations: 42.33 kB / 0.8298 GB, free: 1.34 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0001128/0.806, allocations: 331.5 kB / 0.8301 GB, free: 1.012 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002925/0.8063, allocations: 94.78 kB / 0.8302 GB, free: 0.9688 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003053/0.8066, allocations: 143.6 kB / 0.8303 GB, free: 0.8711 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005711/0.8072, allocations: 242.2 kB / 0.8306 GB, free: 0.7305 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.537e-06/0.8072, allocations: 0 / 0.8306 GB, free: 0.7305 MB / 0.5919 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.001145/0.8084, allocations: 353.2 kB / 0.8309 GB, free: 0.5352 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 1.744e-05/0.8084, allocations: 7.625 kB / 0.8309 GB, free: 0.5352 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.685e-06/0.8084, allocations: 0 / 0.8309 GB, free: 0.5352 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005851/0.809, allocations: 92.66 kB / 0.831 GB, free: 500 kB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002219/0.8092, allocations: 35.34 kB / 0.831 GB, free: 492 kB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002288/0.8115, allocations: 1.73 MB / 0.8327 GB, free: 14.83 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002693/0.8118, allocations: 44.03 kB / 0.8328 GB, free: 14.8 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.888e-05/0.8119, allocations: 7.688 kB / 0.8328 GB, free: 14.8 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.0001796/0.812, allocations: 147.5 kB / 0.8329 GB, free: 14.67 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.51e-05/0.8121, allocations: 24.34 kB / 0.8329 GB, free: 14.66 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001152/0.8133, allocations: 364.9 kB / 0.8333 GB, free: 14.44 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.27e-06/0.8133, allocations: 3.094 kB / 0.8333 GB, free: 14.44 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.894e-06/0.8133, allocations: 0 / 0.8333 GB, free: 14.44 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.128e-06/0.8133, allocations: 0 / 0.8333 GB, free: 14.44 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001693/0.815, allocations: 0.7774 MB / 0.8341 GB, free: 13.82 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.422e-06/0.815, allocations: 0 / 0.8341 GB, free: 13.82 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00019/0.8152, allocations: 36.75 kB / 0.8341 GB, free: 13.81 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004345/0.8157, allocations: 84.27 kB / 0.8342 GB, free: 13.77 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.242e-05/0.8157, allocations: 7.188 kB / 0.8342 GB, free: 13.76 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001923/0.8176, allocations: 1.745 MB / 0.8359 GB, free: 12.1 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.527e-06/0.8176, allocations: 3.938 kB / 0.8359 GB, free: 12.1 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001119/0.8188, allocations: 453 kB / 0.8363 GB, free: 11.79 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001299/0.8189, allocations: 121.2 kB / 0.8364 GB, free: 11.66 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.167e-05/0.819, allocations: 6.719 kB / 0.8364 GB, free: 11.66 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002614/0.8192, allocations: 28.38 kB / 0.8365 GB, free: 11.64 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.294e-05/0.8193, allocations: 16.42 kB / 0.8365 GB, free: 11.63 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.325e-05/0.8194, allocations: 9.266 kB / 0.8365 GB, free: 11.63 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.0001733/0.8195, allocations: 185.5 kB / 0.8367 GB, free: 11.5 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.3e-07/0.8195, allocations: 0 / 0.8367 GB, free: 11.5 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0004479/0.82, allocations: 80.28 kB / 0.8367 GB, free: 11.49 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.0004121/0.8204, allocations: 163.2 kB / 0.8369 GB, free: 11.37 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.001042/0.8215, allocations: 359.7 kB / 0.8372 GB, free: 11.14 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 3.707e-06/0.8215, allocations: 0 / 0.8372 GB, free: 11.14 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.0006015/0.8221, allocations: 253.9 kB / 0.8375 GB, free: 10.96 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007623/0.8229, allocations: 127.6 kB / 0.8376 GB, free: 10.9 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001043/0.8239, allocations: 0.5329 MB / 0.8381 GB, free: 10.51 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003961/0.8243, allocations: 0.7615 MB / 0.8389 GB, free: 9.777 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.6e-05/0.8244, allocations: 22.66 kB / 0.8389 GB, free: 9.77 MB / 0.6075 GB Notification: Performance of SimCode: time 2.41e-07/0.8244, allocations: 4 kB / 0.8389 GB, free: 9.766 MB / 0.6075 GB Notification: Performance of Templates: time 0.009979/0.8344, allocations: 5.409 MB / 0.8442 GB, free: 6.949 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)