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.005301/0.005302, allocations: 99.39 kB / 15.73 MB, free: 6.496 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.001183/0.001183, allocations: 199 kB / 16.68 MB, free: 6.375 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.445/1.445, allocations: 222.9 MB / 240.4 MB, free: 4.324 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9712/0.9712, allocations: 135.1 MB / 425.7 MB, free: 11.95 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001465/0.001465, allocations: 67.91 kB / 0.5856 GB, free: 3.352 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.471/0.4725, allocations: 80.92 MB / 0.6646 GB, free: 7.59 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Sensors.Examples.TemperatureWetBulb): time 0.1941/0.6667, allocations: 161.5 MB / 0.8224 GB, free: 15.54 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.005179/0.6719, allocations: 3.484 MB / 0.8258 GB, free: 12.04 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000389/0.6724, allocations: 7.938 kB / 0.8258 GB, free: 12.04 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 0.0004765/0.6729, allocations: 139 kB / 0.8259 GB, free: 11.9 MB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 0.001285/0.6742, allocations: 469.8 kB / 0.8264 GB, free: 11.44 MB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 0.001646/0.6758, allocations: 0.6021 MB / 0.8269 GB, free: 10.84 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 0.0007191/0.6766, allocations: 0.6167 MB / 0.8275 GB, free: 10.22 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003555/0.6769, allocations: 232.6 kB / 0.8278 GB, free: 9.992 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001268/0.6782, allocations: 352.7 kB / 0.8281 GB, free: 9.66 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002624/0.6785, allocations: 195.2 kB / 0.8283 GB, free: 9.469 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 4.189e-05/0.6785, allocations: 20 kB / 0.8283 GB, free: 9.449 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001047/0.6796, allocations: 0.5573 MB / 0.8288 GB, free: 8.891 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 0.0001192/0.6797, allocations: 95.77 kB / 0.8289 GB, free: 8.797 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 0.0001609/0.6799, allocations: 139.3 kB / 0.8291 GB, free: 8.66 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.000875/0.6808, allocations: 0.5628 MB / 0.8296 GB, free: 8.098 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 4.669e-06/0.6808, allocations: 4 kB / 0.8296 GB, free: 8.094 MB / 0.6544 GB Notification: Performance of FrontEnd: time 1.653e-06/0.6808, allocations: 0 / 0.8296 GB, free: 8.094 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 1.287e-05/0.6808, allocations: 4 kB / 0.8296 GB, free: 8.09 MB / 0.6544 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.001111/0.6819, allocations: 0.6156 MB / 0.8302 GB, free: 7.422 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 3.833e-05/0.682, allocations: 8.031 kB / 0.8302 GB, free: 7.414 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005154/0.6825, allocations: 79.56 kB / 0.8303 GB, free: 7.336 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003982/0.6829, allocations: 309.3 kB / 0.8306 GB, free: 6.996 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.96e-05/0.683, allocations: 24.38 kB / 0.8306 GB, free: 6.973 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.208e-05/0.683, allocations: 16 kB / 0.8306 GB, free: 6.957 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006519/0.6836, allocations: 312.1 kB / 0.8309 GB, free: 6.629 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.139e-05/0.6837, allocations: 3.938 kB / 0.8309 GB, free: 6.625 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.025e-05/0.6837, allocations: 16 kB / 0.831 GB, free: 6.609 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.384e-06/0.6837, allocations: 4 kB / 0.831 GB, free: 6.605 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006622/0.6844, allocations: 248.9 kB / 0.8312 GB, free: 6.363 MB / 0.6544 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.001692/0.6861, allocations: 1.236 MB / 0.8324 GB, free: 5.016 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004482/0.6866, allocations: 170.5 kB / 0.8326 GB, free: 4.84 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003313/0.6869, allocations: 128.8 kB / 0.8327 GB, free: 4.711 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000573/0.6875, allocations: 303.2 kB / 0.833 GB, free: 4.359 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.786e-05/0.6875, allocations: 34.56 kB / 0.833 GB, free: 4.316 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=14): time 2.044e-06/0.6875, allocations: 0 / 0.833 GB, free: 4.316 MB / 0.6544 GB Notification: Performance of matching and sorting (n=14): time 0.002359/0.6899, allocations: 0.577 MB / 0.8336 GB, free: 3.711 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.184e-05/0.69, allocations: 55.41 kB / 0.8336 GB, free: 3.645 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002714/0.6902, allocations: 250.7 kB / 0.8339 GB, free: 3.395 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 3.619e-05/0.6903, allocations: 29.7 kB / 0.8339 GB, free: 3.359 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 0.000126/0.6904, allocations: 168.1 kB / 0.8341 GB, free: 3.191 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 4.625e-05/0.6905, allocations: 47.3 kB / 0.8341 GB, free: 3.145 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.771e-05/0.6906, allocations: 45.64 kB / 0.8342 GB, free: 3.094 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 0.0001396/0.6907, allocations: 330.8 kB / 0.8345 GB, free: 2.762 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000301/0.691, allocations: 91.91 kB / 0.8346 GB, free: 2.672 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003301/0.6913, allocations: 142.5 kB / 0.8347 GB, free: 2.52 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006111/0.692, allocations: 238.1 kB / 0.8349 GB, free: 2.273 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.775e-06/0.692, allocations: 3.938 kB / 0.8349 GB, free: 2.27 MB / 0.6544 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.001164/0.6931, allocations: 353.8 kB / 0.8353 GB, free: 1.914 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 2.29e-05/0.6932, allocations: 11.98 kB / 0.8353 GB, free: 1.902 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.993e-06/0.6932, allocations: 0 / 0.8353 GB, free: 1.902 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006025/0.6938, allocations: 88.89 kB / 0.8354 GB, free: 1.812 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002393/0.6941, allocations: 39.97 kB / 0.8354 GB, free: 1.773 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002321/0.6964, allocations: 1.724 MB / 0.8371 GB, free: 15.91 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002611/0.6967, allocations: 43.67 kB / 0.8371 GB, free: 15.87 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.661e-05/0.6967, allocations: 8 kB / 0.8371 GB, free: 15.86 MB / 0.67 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.0001871/0.6969, allocations: 145.8 kB / 0.8373 GB, free: 15.71 MB / 0.67 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.009e-05/0.697, allocations: 27.66 kB / 0.8373 GB, free: 15.68 MB / 0.67 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001157/0.6981, allocations: 360 kB / 0.8376 GB, free: 15.32 MB / 0.67 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.399e-06/0.6981, allocations: 4 kB / 0.8376 GB, free: 15.32 MB / 0.67 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.233e-06/0.6981, allocations: 0 / 0.8376 GB, free: 15.32 MB / 0.67 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.819e-06/0.6981, allocations: 3.984 kB / 0.8376 GB, free: 15.31 MB / 0.67 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001688/0.6998, allocations: 0.7707 MB / 0.8384 GB, free: 14.47 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.256e-05/0.6999, allocations: 3.938 kB / 0.8384 GB, free: 14.47 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002004/0.7001, allocations: 43.89 kB / 0.8384 GB, free: 14.43 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004543/0.7005, allocations: 76.88 kB / 0.8385 GB, free: 14.35 MB / 0.67 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.161e-05/0.7006, allocations: 4 kB / 0.8385 GB, free: 14.34 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002272/0.7028, allocations: 1.739 MB / 0.8402 GB, free: 12.46 MB / 0.67 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.355e-06/0.7029, allocations: 4.062 kB / 0.8402 GB, free: 12.45 MB / 0.67 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001266/0.7041, allocations: 446.4 kB / 0.8406 GB, free: 11.99 MB / 0.67 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001609/0.7043, allocations: 128.7 kB / 0.8408 GB, free: 11.84 MB / 0.67 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.153e-05/0.7044, allocations: 4 kB / 0.8408 GB, free: 11.84 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002604/0.7046, allocations: 23.97 kB / 0.8408 GB, free: 11.82 MB / 0.67 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.324e-05/0.7047, allocations: 24.05 kB / 0.8408 GB, free: 11.79 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.421e-05/0.7048, allocations: 8 kB / 0.8408 GB, free: 11.79 MB / 0.67 GB Notification: Performance of sorting global known variables: time 0.0002004/0.705, allocations: 182 kB / 0.841 GB, free: 11.61 MB / 0.67 GB Notification: Performance of sort global known variables: time 1.5e-07/0.705, allocations: 3.938 kB / 0.841 GB, free: 11.61 MB / 0.67 GB Notification: Performance of remove unused functions: time 0.0004652/0.7054, allocations: 87.84 kB / 0.8411 GB, free: 11.52 MB / 0.67 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.0004682/0.7059, allocations: 169.3 kB / 0.8413 GB, free: 11.36 MB / 0.67 GB Notification: Performance of simCode: created initialization part: time 0.001119/0.707, allocations: 358.1 kB / 0.8416 GB, free: 11 MB / 0.67 GB Notification: Performance of simCode: created event and clocks part: time 3.196e-06/0.7071, allocations: 0 / 0.8416 GB, free: 11 MB / 0.67 GB Notification: Performance of simCode: created simulation system equations: time 0.0006657/0.7077, allocations: 258.5 kB / 0.8418 GB, free: 10.73 MB / 0.67 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007836/0.7085, allocations: 128.1 kB / 0.842 GB, free: 10.61 MB / 0.67 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001048/0.7096, allocations: 0.4927 MB / 0.8424 GB, free: 10.09 MB / 0.67 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003926/0.71, allocations: 0.7714 MB / 0.8432 GB, free: 9.289 MB / 0.67 GB Notification: Performance of simCode: alias equations: time 0.0002163/0.7102, allocations: 58.23 kB / 0.8433 GB, free: 9.234 MB / 0.67 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.659e-05/0.7103, allocations: 19.44 kB / 0.8433 GB, free: 9.215 MB / 0.67 GB Notification: Performance of SimCode: time 8.72e-07/0.7103, allocations: 0 / 0.8433 GB, free: 9.215 MB / 0.67 GB Notification: Performance of Templates: time 0.01226/0.7226, allocations: 5.976 MB / 0.8491 GB, free: 3.316 MB / 0.67 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)