Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_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-master/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/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_dev_IDEAS.Fluid.Sensors.Examples.TemperatureWetBulb") translateModel(IDEAS.Fluid.Sensors.Examples.TemperatureWetBulb,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_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.001278/0.001278, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.001209/0.001209, allocations: 197.8 kB / 16.14 MB, free: 6.711 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.402/1.402, allocations: 222.9 MB / 239.8 MB, free: 4.621 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9071/0.9071, allocations: 135.1 MB / 425.1 MB, free: 11.98 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001303/0.001304, allocations: 60.94 kB / 0.5047 GB, free: 5.801 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.19/0.1914, allocations: 80.92 MB / 0.5837 GB, free: 5.043 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Sensors.Examples.TemperatureWetBulb): time 0.5718/0.7632, allocations: 159.2 MB / 0.7392 GB, free: 9.82 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.006767/0.77, allocations: 3.497 MB / 0.7426 GB, free: 7.371 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007508/0.7709, allocations: 8.188 kB / 0.7426 GB, free: 7.367 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.000661/0.7716, allocations: 106.4 kB / 0.7427 GB, free: 7.297 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.00153/0.7731, allocations: 429.8 kB / 0.7431 GB, free: 7.031 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.001987/0.7751, allocations: 0.5469 MB / 0.7437 GB, free: 6.633 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.001057/0.7762, allocations: 0.8085 MB / 0.7444 GB, free: 6.188 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005038/0.7767, allocations: 199 kB / 0.7446 GB, free: 6.07 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001749/0.7784, allocations: 299.4 kB / 0.7449 GB, free: 5.926 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003866/0.7788, allocations: 200.6 kB / 0.7451 GB, free: 5.809 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 4.852e-05/0.7789, allocations: 13.5 kB / 0.7451 GB, free: 5.809 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001416/0.7803, allocations: 0.6239 MB / 0.7457 GB, free: 5.453 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.0001188/0.7805, allocations: 81.09 kB / 0.7458 GB, free: 5.402 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.0001712/0.7806, allocations: 148.5 kB / 0.746 GB, free: 5.305 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.0008786/0.7815, allocations: 0.5676 MB / 0.7465 GB, free: 4.953 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 4.589e-06/0.7815, allocations: 0 / 0.7465 GB, free: 4.953 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.313e-06/0.7815, allocations: 3.938 kB / 0.7465 GB, free: 4.949 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 7.704e-06/0.7816, allocations: 2.094 kB / 0.7465 GB, free: 4.949 MB / 0.5606 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.001159/0.7827, allocations: 0.6314 MB / 0.7471 GB, free: 4.391 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 4.342e-05/0.7828, allocations: 10.44 kB / 0.7471 GB, free: 4.391 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000557/0.7833, allocations: 75.38 kB / 0.7472 GB, free: 4.355 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003703/0.7837, allocations: 292.3 kB / 0.7475 GB, free: 4.07 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.482e-05/0.7837, allocations: 12.31 kB / 0.7475 GB, free: 4.066 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.62e-05/0.7838, allocations: 19.28 kB / 0.7475 GB, free: 4.059 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006589/0.7844, allocations: 310.4 kB / 0.7478 GB, free: 3.852 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.004e-05/0.7845, allocations: 0 / 0.7478 GB, free: 3.852 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.405e-05/0.7845, allocations: 19.19 kB / 0.7478 GB, free: 3.836 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.646e-06/0.7845, allocations: 8.969 kB / 0.7478 GB, free: 3.832 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006519/0.7852, allocations: 245.7 kB / 0.7481 GB, free: 3.723 MB / 0.5606 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.002101/0.7873, allocations: 1.245 MB / 0.7493 GB, free: 2.57 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005389/0.7878, allocations: 176.6 kB / 0.7495 GB, free: 2.473 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003313/0.7882, allocations: 127.4 kB / 0.7496 GB, free: 2.406 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000659/0.7888, allocations: 299.9 kB / 0.7499 GB, free: 2.102 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.663e-05/0.7889, allocations: 43.17 kB / 0.7499 GB, free: 2.051 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=14): time 1.663e-06/0.7889, allocations: 0 / 0.7499 GB, free: 2.051 MB / 0.5606 GB Notification: Performance of matching and sorting (n=14): time 0.002389/0.7913, allocations: 0.5692 MB / 0.7505 GB, free: 1.703 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.799e-05/0.7913, allocations: 54 kB / 0.7505 GB, free: 1.641 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002571/0.7916, allocations: 252.1 kB / 0.7508 GB, free: 1.469 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 2.682e-05/0.7916, allocations: 28.08 kB / 0.7508 GB, free: 1.438 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001151/0.7918, allocations: 168.9 kB / 0.7509 GB, free: 1.281 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 4.774e-05/0.7918, allocations: 51.45 kB / 0.751 GB, free: 1.238 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.726e-05/0.7919, allocations: 38.92 kB / 0.751 GB, free: 1.207 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001438/0.792, allocations: 331.8 kB / 0.7514 GB, free: 0.8789 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002879/0.7923, allocations: 93.86 kB / 0.7514 GB, free: 0.8359 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003186/0.7927, allocations: 139.8 kB / 0.7516 GB, free: 0.7422 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000588/0.7933, allocations: 242.2 kB / 0.7518 GB, free: 0.6016 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.848e-06/0.7933, allocations: 7.25 kB / 0.7518 GB, free: 0.5977 MB / 0.5606 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.001159/0.7944, allocations: 355 kB / 0.7522 GB, free: 412 kB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 2.114e-05/0.7945, allocations: 5.688 kB / 0.7522 GB, free: 412 kB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.796e-06/0.7945, allocations: 5.719 kB / 0.7522 GB, free: 408 kB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006429/0.7951, allocations: 87.88 kB / 0.7522 GB, free: 364 kB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002358/0.7954, allocations: 44.2 kB / 0.7523 GB, free: 348 kB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002258/0.7977, allocations: 1.611 MB / 0.7539 GB, free: 14.75 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002782/0.7979, allocations: 39.75 kB / 0.7539 GB, free: 14.71 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.036e-05/0.798, allocations: 8 kB / 0.7539 GB, free: 14.7 MB / 0.5762 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.000162/0.7982, allocations: 148.8 kB / 0.754 GB, free: 14.55 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.552e-05/0.7982, allocations: 23.72 kB / 0.7541 GB, free: 14.52 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001155/0.7994, allocations: 364 kB / 0.7544 GB, free: 14.16 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.258e-06/0.7994, allocations: 4.125 kB / 0.7544 GB, free: 14.16 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.687e-06/0.7994, allocations: 4 kB / 0.7544 GB, free: 14.15 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.748e-06/0.7994, allocations: 3.984 kB / 0.7544 GB, free: 14.15 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001715/0.8011, allocations: 0.7791 MB / 0.7552 GB, free: 13.3 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.665e-06/0.8012, allocations: 0 / 0.7552 GB, free: 13.3 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002149/0.8014, allocations: 35.91 kB / 0.7552 GB, free: 13.27 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005166/0.8019, allocations: 92.84 kB / 0.7553 GB, free: 13.17 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.989e-05/0.8019, allocations: 4 kB / 0.7553 GB, free: 13.17 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001874/0.8038, allocations: 1.621 MB / 0.7569 GB, free: 11.41 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.322e-06/0.8038, allocations: 0 / 0.7569 GB, free: 11.41 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001125/0.805, allocations: 451.1 kB / 0.7573 GB, free: 10.94 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001167/0.8051, allocations: 124.7 kB / 0.7574 GB, free: 10.8 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.527e-05/0.8051, allocations: 4 kB / 0.7575 GB, free: 10.79 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002862/0.8054, allocations: 23.97 kB / 0.7575 GB, free: 10.77 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.616e-05/0.8055, allocations: 23.91 kB / 0.7575 GB, free: 10.75 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.338e-05/0.8055, allocations: 8 kB / 0.7575 GB, free: 10.74 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0001786/0.8057, allocations: 185.9 kB / 0.7577 GB, free: 10.56 MB / 0.5762 GB Notification: Performance of sort global known variables: time 1.8e-07/0.8057, allocations: 4 kB / 0.7577 GB, free: 10.55 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0004478/0.8062, allocations: 83.84 kB / 0.7578 GB, free: 10.47 MB / 0.5762 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.000401/0.8066, allocations: 165.1 kB / 0.7579 GB, free: 10.32 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.0009999/0.8076, allocations: 360.8 kB / 0.7583 GB, free: 9.953 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 2.726e-06/0.8076, allocations: 7.875 kB / 0.7583 GB, free: 9.945 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.0005711/0.8082, allocations: 250.7 kB / 0.7585 GB, free: 9.688 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007639/0.809, allocations: 113.4 kB / 0.7586 GB, free: 9.578 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009391/0.8099, allocations: 0.5835 MB / 0.7592 GB, free: 8.965 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003338/0.8103, allocations: 0.7752 MB / 0.76 GB, free: 8.164 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.0002156/0.8105, allocations: 61.14 kB / 0.76 GB, free: 8.105 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.866e-05/0.8106, allocations: 23.44 kB / 0.76 GB, free: 8.082 MB / 0.5762 GB Notification: Performance of SimCode: time 2.7e-07/0.8106, allocations: 0 / 0.76 GB, free: 8.082 MB / 0.5762 GB Notification: Performance of Templates: time 0.01008/0.8207, allocations: 5.529 MB / 0.7654 GB, free: 2.645 MB / 0.5762 GB make -j1 -f IDEAS_dev_IDEAS.Fluid.Sensors.Examples.TemperatureWetBulb.makefile (rm -f IDEAS_dev_IDEAS.Fluid.Sensors.Examples.TemperatureWetBulb.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.Sensors.Examples.TemperatureWetBulb.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.Sensors.Examples.TemperatureWetBulb.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.Sensors.Examples.TemperatureWetBulb.sim & ./IDEAS_dev_IDEAS.Fluid.Sensors.Examples.TemperatureWetBulb -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Fluid.Sensors.Examples.TemperatureWetBulb.pipe 2>&1)