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.005825/0.005824, allocations: 101.7 kB / 15.73 MB, free: 6.039 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.00111/0.00111, allocations: 199.7 kB / 16.67 MB, free: 5.977 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.357/1.357, allocations: 222.9 MB / 240.4 MB, free: 4.332 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.936/0.936, allocations: 135.1 MB / 425.7 MB, free: 12.08 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001347/0.001347, allocations: 63.91 kB / 0.5856 GB, free: 3.348 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4541/0.4555, allocations: 80.91 MB / 0.6647 GB, free: 7.621 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Sensors.Examples.TemperatureWetBulb): time 0.1867/0.6422, allocations: 161.5 MB / 0.8224 GB, free: 15.58 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.005651/0.648, allocations: 3.49 MB / 0.8258 GB, free: 12.08 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005875/0.6486, allocations: 7.938 kB / 0.8258 GB, free: 12.07 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 0.0006034/0.6492, allocations: 135 kB / 0.8259 GB, free: 11.94 MB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 0.0017/0.651, allocations: 473.9 kB / 0.8264 GB, free: 11.47 MB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 0.002041/0.6531, allocations: 0.6021 MB / 0.8269 GB, free: 10.87 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 0.001083/0.6542, allocations: 0.6205 MB / 0.8275 GB, free: 10.25 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005734/0.6548, allocations: 236.6 kB / 0.8278 GB, free: 10.02 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00157/0.6564, allocations: 348.9 kB / 0.8281 GB, free: 9.688 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004008/0.6568, allocations: 191.2 kB / 0.8283 GB, free: 9.5 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 5.595e-05/0.6568, allocations: 20 kB / 0.8283 GB, free: 9.48 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001103/0.658, allocations: 0.5535 MB / 0.8288 GB, free: 8.926 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 0.0001501/0.6581, allocations: 103.6 kB / 0.8289 GB, free: 8.824 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 0.000191/0.6583, allocations: 143.3 kB / 0.8291 GB, free: 8.684 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.001207/0.6595, allocations: 0.5512 MB / 0.8296 GB, free: 8.133 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 7.133e-06/0.6595, allocations: 7.938 kB / 0.8296 GB, free: 8.125 MB / 0.6544 GB Notification: Performance of FrontEnd: time 2.725e-06/0.6596, allocations: 0 / 0.8296 GB, free: 8.125 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 1.459e-05/0.6596, allocations: 3.938 kB / 0.8296 GB, free: 8.121 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.001318/0.6609, allocations: 0.6195 MB / 0.8302 GB, free: 7.449 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 4.618e-05/0.661, allocations: 12.03 kB / 0.8303 GB, free: 7.438 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005751/0.6615, allocations: 71.56 kB / 0.8303 GB, free: 7.367 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004913/0.662, allocations: 309.3 kB / 0.8306 GB, free: 7.027 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.882e-05/0.6621, allocations: 12.44 kB / 0.8306 GB, free: 7.016 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.102e-05/0.6621, allocations: 20 kB / 0.8306 GB, free: 6.996 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006438/0.6628, allocations: 312.1 kB / 0.8309 GB, free: 6.668 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.744e-05/0.6628, allocations: 11.88 kB / 0.831 GB, free: 6.656 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.814e-05/0.6628, allocations: 8 kB / 0.831 GB, free: 6.648 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.426e-06/0.6628, allocations: 4 kB / 0.831 GB, free: 6.645 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000633/0.6635, allocations: 252.9 kB / 0.8312 GB, free: 6.398 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.001726/0.6652, allocations: 1.24 MB / 0.8324 GB, free: 5.047 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004237/0.6657, allocations: 174.5 kB / 0.8326 GB, free: 4.867 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002885/0.666, allocations: 128.8 kB / 0.8327 GB, free: 4.738 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005549/0.6665, allocations: 299.2 kB / 0.833 GB, free: 4.391 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.261e-05/0.6666, allocations: 38.56 kB / 0.833 GB, free: 4.344 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=14): time 1.643e-06/0.6666, allocations: 0 / 0.833 GB, free: 4.344 MB / 0.6544 GB Notification: Performance of matching and sorting (n=14): time 0.002132/0.6687, allocations: 0.5731 MB / 0.8336 GB, free: 3.742 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.635e-05/0.6688, allocations: 59.41 kB / 0.8336 GB, free: 3.672 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002732/0.669, allocations: 250.7 kB / 0.8339 GB, free: 3.422 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 2.732e-05/0.6691, allocations: 25.7 kB / 0.8339 GB, free: 3.391 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 0.000121/0.6692, allocations: 168.1 kB / 0.8341 GB, free: 3.223 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 4.724e-05/0.6693, allocations: 51.3 kB / 0.8341 GB, free: 3.172 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.199e-05/0.6693, allocations: 33.7 kB / 0.8342 GB, free: 3.133 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 0.0001264/0.6695, allocations: 334.8 kB / 0.8345 GB, free: 2.797 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002681/0.6698, allocations: 95.91 kB / 0.8346 GB, free: 2.703 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000282/0.67, allocations: 134.9 kB / 0.8347 GB, free: 2.559 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005508/0.6706, allocations: 246.2 kB / 0.8349 GB, free: 2.305 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.246e-06/0.6706, allocations: 4 kB / 0.8349 GB, free: 2.301 MB / 0.6544 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.001073/0.6717, allocations: 349.8 kB / 0.8353 GB, free: 1.949 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 1.863e-05/0.6717, allocations: 8 kB / 0.8353 GB, free: 1.941 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.663e-06/0.6717, allocations: 0 / 0.8353 GB, free: 1.941 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005765/0.6723, allocations: 92.83 kB / 0.8354 GB, free: 1.848 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002145/0.6725, allocations: 39.97 kB / 0.8354 GB, free: 1.809 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002172/0.6747, allocations: 1.733 MB / 0.8371 GB, free: 15.93 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002379/0.675, allocations: 35.83 kB / 0.8371 GB, free: 15.9 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.803e-05/0.675, allocations: 8 kB / 0.8371 GB, free: 15.89 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.0001673/0.6752, allocations: 145.8 kB / 0.8373 GB, free: 15.74 MB / 0.67 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.918e-05/0.6753, allocations: 31.59 kB / 0.8373 GB, free: 15.71 MB / 0.67 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001061/0.6763, allocations: 356 kB / 0.8376 GB, free: 15.35 MB / 0.67 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.35e-06/0.6763, allocations: 4 kB / 0.8376 GB, free: 15.34 MB / 0.67 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.573e-06/0.6763, allocations: 4 kB / 0.8376 GB, free: 15.34 MB / 0.67 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.671e-06/0.6764, allocations: 3.984 kB / 0.8377 GB, free: 15.34 MB / 0.67 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001618/0.678, allocations: 0.7628 MB / 0.8384 GB, free: 14.51 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.482e-06/0.678, allocations: 7.938 kB / 0.8384 GB, free: 14.5 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000195/0.6782, allocations: 47.98 kB / 0.8384 GB, free: 14.45 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004243/0.6786, allocations: 72.78 kB / 0.8385 GB, free: 14.38 MB / 0.67 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.012e-05/0.6787, allocations: 0 / 0.8385 GB, free: 14.38 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001943/0.6806, allocations: 1.743 MB / 0.8402 GB, free: 12.49 MB / 0.67 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.934e-06/0.6806, allocations: 0 / 0.8402 GB, free: 12.49 MB / 0.67 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001044/0.6817, allocations: 461.7 kB / 0.8407 GB, free: 12.01 MB / 0.67 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001372/0.6818, allocations: 124.7 kB / 0.8408 GB, free: 11.87 MB / 0.67 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.312e-05/0.6819, allocations: 4 kB / 0.8408 GB, free: 11.87 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002309/0.6821, allocations: 23.97 kB / 0.8408 GB, free: 11.84 MB / 0.67 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.556e-05/0.6822, allocations: 27.91 kB / 0.8408 GB, free: 11.82 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.482e-05/0.6822, allocations: 8 kB / 0.8408 GB, free: 11.81 MB / 0.67 GB Notification: Performance of sorting global known variables: time 0.0001697/0.6824, allocations: 182 kB / 0.841 GB, free: 11.64 MB / 0.67 GB Notification: Performance of sort global known variables: time 1.1e-07/0.6824, allocations: 0 / 0.841 GB, free: 11.64 MB / 0.67 GB Notification: Performance of remove unused functions: time 0.0004584/0.6829, allocations: 83.84 kB / 0.8411 GB, free: 11.55 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.0004302/0.6833, allocations: 158.8 kB / 0.8412 GB, free: 11.4 MB / 0.67 GB Notification: Performance of simCode: created initialization part: time 0.0009873/0.6843, allocations: 358.4 kB / 0.8416 GB, free: 11.04 MB / 0.67 GB Notification: Performance of simCode: created event and clocks part: time 6.542e-06/0.6843, allocations: 4 kB / 0.8416 GB, free: 11.03 MB / 0.67 GB Notification: Performance of simCode: created simulation system equations: time 0.0005495/0.6849, allocations: 258.8 kB / 0.8418 GB, free: 10.77 MB / 0.67 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007352/0.6856, allocations: 125.8 kB / 0.842 GB, free: 10.65 MB / 0.67 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00118/0.6868, allocations: 0.4913 MB / 0.8424 GB, free: 10.12 MB / 0.67 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004019/0.6872, allocations: 0.7752 MB / 0.8432 GB, free: 9.32 MB / 0.67 GB Notification: Performance of simCode: alias equations: time 0.0002265/0.6875, allocations: 50.27 kB / 0.8432 GB, free: 9.273 MB / 0.67 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.441e-05/0.6875, allocations: 23.44 kB / 0.8433 GB, free: 9.25 MB / 0.67 GB Notification: Performance of SimCode: time 6.31e-07/0.6876, allocations: 0 / 0.8433 GB, free: 9.25 MB / 0.67 GB Notification: Performance of Templates: time 0.0128/0.7004, allocations: 5.989 MB / 0.8491 GB, free: 3.34 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)