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.005719/0.005719, allocations: 99.56 kB / 15.73 MB, free: 6.059 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.001205/0.001205, allocations: 196.9 kB / 16.67 MB, free: 5.969 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.443/1.443, allocations: 222.9 MB / 240.4 MB, free: 15.08 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.8151/0.8151, allocations: 135.1 MB / 425.7 MB, free: 4.055 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00126/0.00126, allocations: 62.41 kB / 0.5856 GB, free: 21.69 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1719/0.1731, allocations: 80.92 MB / 0.6647 GB, free: 5.766 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Sensors.Examples.TemperatureWetBulb): time 0.6068/0.78, allocations: 161.5 MB / 0.8224 GB, free: 4.613 MB / 0.5919 GB Notification: Performance of NFInst.instExpressions: time 0.005663/0.7857, allocations: 3.475 MB / 0.8258 GB, free: 1.816 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004178/0.7861, allocations: 11.97 kB / 0.8258 GB, free: 1.812 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 0.0005059/0.7867, allocations: 135.9 kB / 0.8259 GB, free: 1.691 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.001497/0.7882, allocations: 445.2 kB / 0.8263 GB, free: 1.359 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.001965/0.7902, allocations: 0.6003 MB / 0.8269 GB, free: 0.9141 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.0008075/0.791, allocations: 0.6159 MB / 0.8275 GB, free: 0.5586 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004094/0.7915, allocations: 226.3 kB / 0.8277 GB, free: 432 kB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001305/0.7928, allocations: 348.7 kB / 0.8281 GB, free: 244 kB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002919/0.7931, allocations: 195 kB / 0.8282 GB, free: 124 kB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 4.74e-05/0.7931, allocations: 22.41 kB / 0.8283 GB, free: 124 kB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001214/0.7944, allocations: 0.551 MB / 0.8288 GB, free: 15.82 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 0.0001163/0.7945, allocations: 96.11 kB / 0.8289 GB, free: 15.75 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.0001548/0.7946, allocations: 145 kB / 0.829 GB, free: 15.66 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0009418/0.7956, allocations: 0.5543 MB / 0.8296 GB, free: 15.32 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 4.138e-06/0.7956, allocations: 3.938 kB / 0.8296 GB, free: 15.32 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.623e-06/0.7956, allocations: 4 kB / 0.8296 GB, free: 15.31 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 1.306e-05/0.7956, allocations: 0 / 0.8296 GB, free: 15.31 MB / 0.6075 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.001125/0.7968, allocations: 0.6336 MB / 0.8302 GB, free: 14.75 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 4.305e-05/0.7968, allocations: 15.11 kB / 0.8302 GB, free: 14.75 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005152/0.7973, allocations: 73.58 kB / 0.8303 GB, free: 14.71 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004159/0.7978, allocations: 307.6 kB / 0.8306 GB, free: 14.42 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.071e-05/0.7978, allocations: 16.16 kB / 0.8306 GB, free: 14.41 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.894e-05/0.7978, allocations: 20.5 kB / 0.8306 GB, free: 14.4 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006222/0.7985, allocations: 311.7 kB / 0.8309 GB, free: 14.2 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.019e-05/0.7985, allocations: 3.938 kB / 0.8309 GB, free: 14.19 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.054e-05/0.7985, allocations: 14.03 kB / 0.8309 GB, free: 14.18 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.255e-06/0.7985, allocations: 8.688 kB / 0.8309 GB, free: 14.18 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000612/0.7992, allocations: 246.5 kB / 0.8312 GB, free: 14.07 MB / 0.6075 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.001927/0.8011, allocations: 1.247 MB / 0.8324 GB, free: 12.91 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004467/0.8015, allocations: 180 kB / 0.8326 GB, free: 12.81 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003114/0.8019, allocations: 121.2 kB / 0.8327 GB, free: 12.75 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005702/0.8025, allocations: 304 kB / 0.833 GB, free: 12.44 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.489e-05/0.8025, allocations: 41.55 kB / 0.833 GB, free: 12.39 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=14): time 1.533e-06/0.8025, allocations: 0 / 0.833 GB, free: 12.39 MB / 0.6075 GB Notification: Performance of matching and sorting (n=14): time 0.002115/0.8046, allocations: 0.5671 MB / 0.8336 GB, free: 12.04 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.201e-05/0.8047, allocations: 53.56 kB / 0.8336 GB, free: 11.98 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000278/0.805, allocations: 261.5 kB / 0.8339 GB, free: 11.79 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 2.719e-05/0.805, allocations: 28.55 kB / 0.8339 GB, free: 11.76 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001223/0.8051, allocations: 165.2 kB / 0.834 GB, free: 11.61 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 4.48e-05/0.8052, allocations: 48.62 kB / 0.8341 GB, free: 11.57 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.791e-05/0.8053, allocations: 40.17 kB / 0.8341 GB, free: 11.54 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001235/0.8054, allocations: 336.5 kB / 0.8345 GB, free: 11.2 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000277/0.8057, allocations: 89.11 kB / 0.8345 GB, free: 11.16 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002974/0.806, allocations: 140.9 kB / 0.8347 GB, free: 11.07 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005604/0.8066, allocations: 247.7 kB / 0.8349 GB, free: 10.92 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.975e-06/0.8066, allocations: 1.125 kB / 0.8349 GB, free: 10.92 MB / 0.6075 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.001075/0.8077, allocations: 345.3 kB / 0.8352 GB, free: 10.73 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.645e-05/0.8077, allocations: 6.844 kB / 0.8352 GB, free: 10.73 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.634e-06/0.8077, allocations: 2.906 kB / 0.8352 GB, free: 10.73 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005916/0.8083, allocations: 85.92 kB / 0.8353 GB, free: 10.69 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000215/0.8085, allocations: 44.05 kB / 0.8354 GB, free: 10.68 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002218/0.8107, allocations: 1.735 MB / 0.8371 GB, free: 9.02 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002567/0.811, allocations: 32 kB / 0.8371 GB, free: 9 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.145e-05/0.8111, allocations: 13.02 kB / 0.8371 GB, free: 8.996 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.0001759/0.8112, allocations: 137.6 kB / 0.8372 GB, free: 8.867 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.892e-05/0.8113, allocations: 36.12 kB / 0.8373 GB, free: 8.844 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001126/0.8124, allocations: 373.1 kB / 0.8376 GB, free: 8.617 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.554e-06/0.8125, allocations: 0 / 0.8376 GB, free: 8.617 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.995e-06/0.8125, allocations: 2.594 kB / 0.8376 GB, free: 8.617 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.477e-06/0.8125, allocations: 0 / 0.8376 GB, free: 8.617 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001577/0.814, allocations: 0.7636 MB / 0.8384 GB, free: 8.016 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.557e-06/0.8141, allocations: 1.781 kB / 0.8384 GB, free: 8.016 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001801/0.8142, allocations: 41.53 kB / 0.8384 GB, free: 8 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004171/0.8147, allocations: 78.81 kB / 0.8385 GB, free: 7.957 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.807e-05/0.8147, allocations: 2.281 kB / 0.8385 GB, free: 7.957 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001987/0.8167, allocations: 1.747 MB / 0.8402 GB, free: 6.293 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.503e-06/0.8167, allocations: 0 / 0.8402 GB, free: 6.293 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001103/0.8178, allocations: 457.6 kB / 0.8406 GB, free: 5.977 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001245/0.818, allocations: 124.2 kB / 0.8408 GB, free: 5.852 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.484e-05/0.818, allocations: 7.938 kB / 0.8408 GB, free: 5.844 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003153/0.8183, allocations: 24.28 kB / 0.8408 GB, free: 5.832 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001249/0.8185, allocations: 19.36 kB / 0.8408 GB, free: 5.82 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.443e-05/0.8185, allocations: 9.281 kB / 0.8408 GB, free: 5.816 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.0003101/0.8188, allocations: 185.5 kB / 0.841 GB, free: 5.691 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.8e-07/0.8188, allocations: 0 / 0.841 GB, free: 5.691 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0007649/0.8196, allocations: 80.25 kB / 0.8411 GB, free: 5.676 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.0005475/0.8202, allocations: 162.8 kB / 0.8412 GB, free: 5.559 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.001145/0.8213, allocations: 371.2 kB / 0.8416 GB, free: 5.32 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 4.729e-06/0.8214, allocations: 2.594 kB / 0.8416 GB, free: 5.32 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.0005994/0.822, allocations: 260.9 kB / 0.8418 GB, free: 5.133 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007422/0.8227, allocations: 126.3 kB / 0.842 GB, free: 5.066 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001028/0.8238, allocations: 0.4981 MB / 0.8424 GB, free: 4.711 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003704/0.8241, allocations: 0.7678 MB / 0.8432 GB, free: 3.977 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 0.0001863/0.8243, allocations: 53.66 kB / 0.8432 GB, free: 3.953 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.79e-05/0.8244, allocations: 22.06 kB / 0.8433 GB, free: 3.945 MB / 0.6075 GB Notification: Performance of SimCode: time 6.31e-07/0.8244, allocations: 0 / 0.8433 GB, free: 3.945 MB / 0.6075 GB Notification: Performance of Templates: time 0.01196/0.8364, allocations: 5.982 MB / 0.8491 GB, free: 0.9453 MB / 0.6075 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)