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.001492/0.001492, allocations: 105.3 kB / 16.27 MB, free: 6.414 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.001425/0.001425, allocations: 189.8 kB / 17.2 MB, free: 5.953 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.3/1.3, allocations: 222.9 MB / 240.9 MB, free: 15.22 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.7972/0.7972, allocations: 135.2 MB / 426.2 MB, free: 4.18 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001846/0.001846, allocations: 63.91 kB / 0.506 GB, free: 8.379 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3219/0.3238, allocations: 80.94 MB / 0.5851 GB, free: 25.27 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Sensors.Examples.TemperatureWetBulb): time 0.1726/0.4964, allocations: 161.5 MB / 0.7427 GB, free: 8.562 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.004861/0.5013, allocations: 3.497 MB / 0.7462 GB, free: 5.059 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003303/0.5017, allocations: 7.938 kB / 0.7462 GB, free: 5.051 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.0004376/0.5022, allocations: 131 kB / 0.7463 GB, free: 4.922 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.001194/0.5034, allocations: 453.9 kB / 0.7467 GB, free: 4.477 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.001486/0.5049, allocations: 0.5933 MB / 0.7473 GB, free: 3.887 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.0007055/0.5056, allocations: 0.6205 MB / 0.7479 GB, free: 3.266 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003727/0.506, allocations: 234.3 kB / 0.7481 GB, free: 3.039 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001228/0.5072, allocations: 348.2 kB / 0.7485 GB, free: 2.711 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002666/0.5075, allocations: 187.2 kB / 0.7486 GB, free: 2.527 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 4.484e-05/0.5075, allocations: 24 kB / 0.7487 GB, free: 2.504 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0009395/0.5085, allocations: 0.5495 MB / 0.7492 GB, free: 1.953 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.0001137/0.5086, allocations: 95.7 kB / 0.7493 GB, free: 1.859 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.0001633/0.5088, allocations: 139.3 kB / 0.7494 GB, free: 1.723 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.0008223/0.5096, allocations: 0.5454 MB / 0.75 GB, free: 1.176 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 4.178e-06/0.5096, allocations: 4 kB / 0.75 GB, free: 1.172 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.203e-06/0.5096, allocations: 0 / 0.75 GB, free: 1.172 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 7.354e-06/0.5096, allocations: 0 / 0.75 GB, free: 1.172 MB / 0.5762 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.001053/0.5107, allocations: 0.6349 MB / 0.7506 GB, free: 500 kB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 3.403e-05/0.5107, allocations: 13.11 kB / 0.7506 GB, free: 488 kB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004955/0.5112, allocations: 71.56 kB / 0.7507 GB, free: 416 kB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003693/0.5116, allocations: 289.3 kB / 0.7509 GB, free: 84 kB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.912e-05/0.5116, allocations: 16.42 kB / 0.751 GB, free: 68 kB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.347e-05/0.5117, allocations: 24 kB / 0.751 GB, free: 44 kB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.2549/0.7666, allocations: 304.1 kB / 0.7513 GB, free: 167.4 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.605e-05/0.7667, allocations: 0 / 0.7513 GB, free: 167.4 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.289e-05/0.7667, allocations: 13.41 kB / 0.7513 GB, free: 167.4 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.163e-05/0.7667, allocations: 5.469 kB / 0.7513 GB, free: 167.4 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006865/0.7674, allocations: 249.1 kB / 0.7515 GB, free: 167.4 MB / 0.5762 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.001446/0.7689, allocations: 1.252 MB / 0.7527 GB, free: 166.5 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004124/0.7693, allocations: 171.5 kB / 0.7529 GB, free: 166.4 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003183/0.7696, allocations: 121.1 kB / 0.753 GB, free: 166.4 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005018/0.7702, allocations: 312.4 kB / 0.7533 GB, free: 166.1 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.131e-05/0.7702, allocations: 36.83 kB / 0.7534 GB, free: 166 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=14): time 1.833e-06/0.7702, allocations: 0.5938 kB / 0.7534 GB, free: 166 MB / 0.5762 GB Notification: Performance of matching and sorting (n=14): time 0.002145/0.7723, allocations: 0.5674 MB / 0.7539 GB, free: 165.8 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.313e-05/0.7724, allocations: 54.2 kB / 0.754 GB, free: 165.7 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002533/0.7726, allocations: 255 kB / 0.7542 GB, free: 165.6 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 2.013e-05/0.7727, allocations: 30.72 kB / 0.7542 GB, free: 165.6 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 8.904e-05/0.7728, allocations: 169.7 kB / 0.7544 GB, free: 165.4 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 3.595e-05/0.7728, allocations: 46.16 kB / 0.7544 GB, free: 165.4 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.154e-05/0.7729, allocations: 37.95 kB / 0.7545 GB, free: 165.4 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 5.533e-05/0.7729, allocations: 340.7 kB / 0.7548 GB, free: 165 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002899/0.7732, allocations: 97.66 kB / 0.7549 GB, free: 165 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003113/0.7736, allocations: 135.3 kB / 0.755 GB, free: 165 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005695/0.7741, allocations: 242.6 kB / 0.7553 GB, free: 164.9 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.934e-06/0.7742, allocations: 0.6875 kB / 0.7553 GB, free: 164.9 MB / 0.5762 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.001098/0.7753, allocations: 349.5 kB / 0.7556 GB, free: 164.7 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.675e-05/0.7753, allocations: 7.234 kB / 0.7556 GB, free: 164.7 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.921e-06/0.7753, allocations: 1 kB / 0.7556 GB, free: 164.7 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005743/0.7759, allocations: 88.86 kB / 0.7557 GB, free: 164.7 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002201/0.7761, allocations: 44.11 kB / 0.7557 GB, free: 164.7 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001768/0.7779, allocations: 1.724 MB / 0.7574 GB, free: 163.2 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002236/0.7781, allocations: 26.42 kB / 0.7574 GB, free: 163.2 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.732e-05/0.7781, allocations: 13.94 kB / 0.7574 GB, free: 163.2 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.0001215/0.7783, allocations: 149.7 kB / 0.7576 GB, free: 163 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.448e-05/0.7783, allocations: 25.16 kB / 0.7576 GB, free: 163 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001084/0.7794, allocations: 361.4 kB / 0.758 GB, free: 162.9 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.637e-06/0.7794, allocations: 4.266 kB / 0.758 GB, free: 162.9 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.152e-06/0.7794, allocations: 0 / 0.758 GB, free: 162.9 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.138e-06/0.7795, allocations: 5.812 kB / 0.758 GB, free: 162.9 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001451/0.7809, allocations: 0.7769 MB / 0.7587 GB, free: 162.3 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.236e-06/0.7809, allocations: 1.875 kB / 0.7587 GB, free: 162.3 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001783/0.7811, allocations: 35.59 kB / 0.7588 GB, free: 162.2 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004114/0.7815, allocations: 85.45 kB / 0.7588 GB, free: 162.2 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.658e-05/0.7816, allocations: 4.344 kB / 0.7588 GB, free: 162.2 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001537/0.7831, allocations: 1.748 MB / 0.7606 GB, free: 160.5 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.966e-06/0.7831, allocations: 1.906 kB / 0.7606 GB, free: 160.5 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001105/0.7842, allocations: 452.7 kB / 0.761 GB, free: 160.2 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 9.326e-05/0.7843, allocations: 126.8 kB / 0.7611 GB, free: 160.1 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.452e-05/0.7844, allocations: 6.094 kB / 0.7611 GB, free: 160.1 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002437/0.7846, allocations: 20.5 kB / 0.7611 GB, free: 160.1 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.284e-05/0.7847, allocations: 20.78 kB / 0.7612 GB, free: 160.1 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.574e-05/0.7847, allocations: 14.41 kB / 0.7612 GB, free: 160.1 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0001756/0.7849, allocations: 183.7 kB / 0.7613 GB, free: 160 MB / 0.5762 GB Notification: Performance of sort global known variables: time 1.1e-07/0.7849, allocations: 1.062 kB / 0.7613 GB, free: 160 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0004361/0.7854, allocations: 77.66 kB / 0.7614 GB, free: 159.9 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.0003602/0.7857, allocations: 159.4 kB / 0.7616 GB, free: 159.8 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.000987/0.7867, allocations: 372.2 kB / 0.7619 GB, free: 159.6 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 3.156e-06/0.7867, allocations: 2.531 kB / 0.7619 GB, free: 159.6 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.0005453/0.7873, allocations: 264 kB / 0.7622 GB, free: 159.4 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007171/0.788, allocations: 117 kB / 0.7623 GB, free: 159.4 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008367/0.7889, allocations: 0.534 MB / 0.7628 GB, free: 159 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002037/0.7891, allocations: 0.7694 MB / 0.7636 GB, free: 158.3 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.492e-05/0.7892, allocations: 26.28 kB / 0.7636 GB, free: 158.3 MB / 0.5762 GB Notification: Performance of SimCode: time 2.4e-07/0.7892, allocations: 0 / 0.7636 GB, free: 158.3 MB / 0.5762 GB Notification: Performance of Templates: time 0.006382/0.7956, allocations: 5.403 MB / 0.7689 GB, free: 154.9 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)