Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_IDEAS.Fluid.Sensors.Examples.TemperatureWetBulb.conf.json 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/IDEAS 3.0.0/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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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 IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/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) Running command: translateModel(IDEAS.Fluid.Sensors.Examples.TemperatureWetBulb,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Fluid.Sensors.Examples.TemperatureWetBulb") translateModel(IDEAS.Fluid.Sensors.Examples.TemperatureWetBulb,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Fluid.Sensors.Examples.TemperatureWetBulb") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001578/0.001578, allocations: 182.9 kB / 15.98 MB, free: 5.77 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7578/0.7578, allocations: 132.2 MB / 148.9 MB, free: 12.16 MB / 122.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.421/1.421, allocations: 222.9 MB / 403.3 MB, free: 7.133 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001032/0.001032, allocations: 110.2 kB / 484.4 MB, free: 8.742 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0009862/0.0009862, allocations: 51.92 kB / 0.5618 GB, free: 71.1 MB / 426.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1406/0.1416, allocations: 80.22 MB / 0.6402 GB, free: 6.809 MB / 442.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Sensors.Examples.TemperatureWetBulb): time 0.4793/0.6209, allocations: 159.2 MB / 0.7957 GB, free: 4.016 MB / 0.5261 GB Notification: Performance of NFInst.instExpressions: time 0.0047/0.6257, allocations: 3.514 MB / 0.7991 GB, free: 0.5 MB / 0.5261 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003095/0.626, allocations: 7.938 kB / 0.7991 GB, free: 0.4922 MB / 0.5261 GB Notification: Performance of NFTyping.typeComponents: time 0.0004122/0.6264, allocations: 111.3 kB / 0.7992 GB, free: 392 kB / 0.5261 GB Notification: Performance of NFTyping.typeBindings: time 0.001088/0.6276, allocations: 418.3 kB / 0.7996 GB, free: 15.97 MB / 0.5417 GB Notification: Performance of NFTyping.typeClassSections: time 0.001397/0.629, allocations: 0.5401 MB / 0.8001 GB, free: 15.43 MB / 0.5417 GB Notification: Performance of NFFlatten.flatten: time 0.0007648/0.6298, allocations: 0.8194 MB / 0.8009 GB, free: 14.61 MB / 0.5417 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003127/0.6301, allocations: 196.6 kB / 0.8011 GB, free: 14.42 MB / 0.5417 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00168/0.6318, allocations: 301.5 kB / 0.8014 GB, free: 14.14 MB / 0.5417 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002877/0.6321, allocations: 211.1 kB / 0.8016 GB, free: 13.93 MB / 0.5417 GB Notification: Performance of NFPackage.collectConstants: time 3.885e-05/0.6321, allocations: 12 kB / 0.8016 GB, free: 13.92 MB / 0.5417 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001029/0.6332, allocations: 0.6234 MB / 0.8022 GB, free: 13.29 MB / 0.5417 GB Notification: Performance of NFScalarize.scalarize: time 0.0001116/0.6333, allocations: 83.78 kB / 0.8023 GB, free: 13.21 MB / 0.5417 GB Notification: Performance of NFVerifyModel.verify: time 0.0001386/0.6334, allocations: 135.3 kB / 0.8024 GB, free: 13.08 MB / 0.5417 GB Notification: Performance of NFConvertDAE.convert: time 0.0007643/0.6342, allocations: 0.5726 MB / 0.803 GB, free: 12.5 MB / 0.5417 GB Notification: Performance of FrontEnd - DAE generated: time 4.659e-06/0.6342, allocations: 0 / 0.803 GB, free: 12.5 MB / 0.5417 GB Notification: Performance of FrontEnd: time 8.31e-07/0.6342, allocations: 0 / 0.803 GB, free: 12.5 MB / 0.5417 GB Notification: Performance of Transformations before backend: time 4.909e-06/0.6342, allocations: 0 / 0.803 GB, free: 12.5 MB / 0.5417 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.001079/0.6353, allocations: 0.6311 MB / 0.8036 GB, free: 11.82 MB / 0.5417 GB Notification: Performance of prepare preOptimizeDAE: time 3.976e-05/0.6354, allocations: 12.03 kB / 0.8036 GB, free: 11.81 MB / 0.5417 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004951/0.6359, allocations: 75.5 kB / 0.8037 GB, free: 11.74 MB / 0.5417 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004181/0.6363, allocations: 289.3 kB / 0.804 GB, free: 11.42 MB / 0.5417 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.113e-05/0.6363, allocations: 20.44 kB / 0.804 GB, free: 11.4 MB / 0.5417 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.378e-05/0.6364, allocations: 20 kB / 0.804 GB, free: 11.38 MB / 0.5417 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006253/0.637, allocations: 311.8 kB / 0.8043 GB, free: 11.05 MB / 0.5417 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.134e-05/0.637, allocations: 0 / 0.8043 GB, free: 11.05 MB / 0.5417 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.871e-05/0.6371, allocations: 16 kB / 0.8043 GB, free: 11.04 MB / 0.5417 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.758e-06/0.6371, allocations: 7.938 kB / 0.8043 GB, free: 11.03 MB / 0.5417 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006776/0.6378, allocations: 244.9 kB / 0.8046 GB, free: 10.79 MB / 0.5417 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.001643/0.6394, allocations: 1.248 MB / 0.8058 GB, free: 9.434 MB / 0.5417 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004406/0.6399, allocations: 174.5 kB / 0.806 GB, free: 9.254 MB / 0.5417 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003448/0.6402, allocations: 120.8 kB / 0.8061 GB, free: 9.133 MB / 0.5417 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005869/0.6408, allocations: 311.2 kB / 0.8064 GB, free: 8.773 MB / 0.5417 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.399e-05/0.6409, allocations: 38.55 kB / 0.8064 GB, free: 8.727 MB / 0.5417 GB Notification: Performance of pre-optimization done (n=14): time 1.964e-06/0.6409, allocations: 0 / 0.8064 GB, free: 8.727 MB / 0.5417 GB Notification: Performance of matching and sorting (n=14): time 0.002244/0.6431, allocations: 0.5658 MB / 0.807 GB, free: 8.133 MB / 0.5417 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.035e-05/0.6432, allocations: 63.34 kB / 0.807 GB, free: 8.059 MB / 0.5417 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002683/0.6434, allocations: 250.7 kB / 0.8073 GB, free: 7.801 MB / 0.5417 GB Notification: Performance of collectPreVariables (initialization): time 2.498e-05/0.6435, allocations: 29.7 kB / 0.8073 GB, free: 7.766 MB / 0.5417 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001283/0.6436, allocations: 164.2 kB / 0.8074 GB, free: 7.602 MB / 0.5417 GB Notification: Performance of collectInitialBindings (initialization): time 4.654e-05/0.6437, allocations: 51.2 kB / 0.8075 GB, free: 7.551 MB / 0.5417 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.045e-05/0.6438, allocations: 37.7 kB / 0.8075 GB, free: 7.508 MB / 0.5417 GB Notification: Performance of setup shared object (initialization): time 0.0001341/0.6439, allocations: 330.8 kB / 0.8078 GB, free: 7.176 MB / 0.5417 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000304/0.6442, allocations: 99.92 kB / 0.8079 GB, free: 7.078 MB / 0.5417 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003142/0.6445, allocations: 136.2 kB / 0.8081 GB, free: 6.93 MB / 0.5417 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005938/0.6451, allocations: 234.2 kB / 0.8083 GB, free: 6.688 MB / 0.5417 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.234e-06/0.6451, allocations: 3.938 kB / 0.8083 GB, free: 6.684 MB / 0.5417 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.001149/0.6463, allocations: 353.8 kB / 0.8086 GB, free: 6.328 MB / 0.5417 GB Notification: Performance of prepare postOptimizeDAE: time 2.211e-05/0.6463, allocations: 8 kB / 0.8086 GB, free: 6.32 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.893e-06/0.6463, allocations: 0 / 0.8086 GB, free: 6.32 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00061/0.647, allocations: 84.89 kB / 0.8087 GB, free: 6.234 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002361/0.6472, allocations: 47.89 kB / 0.8088 GB, free: 6.188 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002192/0.6494, allocations: 1.605 MB / 0.8103 GB, free: 4.457 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002735/0.6497, allocations: 44.56 kB / 0.8104 GB, free: 4.414 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.008e-05/0.6497, allocations: 12.06 kB / 0.8104 GB, free: 4.402 MB / 0.5417 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.0001773/0.6499, allocations: 151 kB / 0.8105 GB, free: 4.246 MB / 0.5417 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.964e-05/0.65, allocations: 23.72 kB / 0.8106 GB, free: 4.223 MB / 0.5417 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001153/0.6512, allocations: 361.3 kB / 0.8109 GB, free: 3.863 MB / 0.5417 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.625e-06/0.6512, allocations: 0 / 0.8109 GB, free: 3.863 MB / 0.5417 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.193e-06/0.6512, allocations: 0 / 0.8109 GB, free: 3.863 MB / 0.5417 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.917e-06/0.6512, allocations: 8 kB / 0.8109 GB, free: 3.855 MB / 0.5417 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001682/0.6529, allocations: 0.7746 MB / 0.8117 GB, free: 3.012 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.306e-06/0.6529, allocations: 0 / 0.8117 GB, free: 3.012 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001878/0.6531, allocations: 31.97 kB / 0.8117 GB, free: 2.98 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005267/0.6536, allocations: 88.86 kB / 0.8118 GB, free: 2.891 MB / 0.5417 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.378e-05/0.6537, allocations: 7.984 kB / 0.8118 GB, free: 2.883 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00203/0.6557, allocations: 1.633 MB / 0.8134 GB, free: 1.105 MB / 0.5417 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.773e-06/0.6557, allocations: 0 / 0.8134 GB, free: 1.105 MB / 0.5417 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001813/0.6575, allocations: 1.159 MB / 0.8145 GB, free: 15.88 MB / 0.5573 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001778/0.6577, allocations: 120.7 kB / 0.8146 GB, free: 15.74 MB / 0.5573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.245e-05/0.6578, allocations: 11.94 kB / 0.8146 GB, free: 15.73 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002661/0.658, allocations: 27.91 kB / 0.8147 GB, free: 15.7 MB / 0.5573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.582e-05/0.6581, allocations: 19.97 kB / 0.8147 GB, free: 15.68 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.457e-05/0.6582, allocations: 8 kB / 0.8147 GB, free: 15.68 MB / 0.5573 GB Notification: Performance of sorting global known variables: time 0.0001936/0.6584, allocations: 182 kB / 0.8149 GB, free: 15.5 MB / 0.5573 GB Notification: Performance of sort global known variables: time 1.1e-07/0.6584, allocations: 0 / 0.8149 GB, free: 15.5 MB / 0.5573 GB Notification: Performance of remove unused functions: time 0.0005531/0.6589, allocations: 83.84 kB / 0.8149 GB, free: 15.42 MB / 0.5573 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.0004268/0.6594, allocations: 155.4 kB / 0.8151 GB, free: 15.27 MB / 0.5573 GB Notification: Performance of simCode: created initialization part: time 0.00105/0.6604, allocations: 354.6 kB / 0.8154 GB, free: 14.91 MB / 0.5573 GB Notification: Performance of simCode: created event and clocks part: time 4.358e-06/0.6604, allocations: 7.938 kB / 0.8154 GB, free: 14.9 MB / 0.5573 GB Notification: Performance of simCode: created simulation system equations: time 0.0005879/0.661, allocations: 250.8 kB / 0.8157 GB, free: 14.64 MB / 0.5573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007767/0.6618, allocations: 133.5 kB / 0.8158 GB, free: 14.52 MB / 0.5573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001036/0.6629, allocations: 0.7373 MB / 0.8165 GB, free: 13.74 MB / 0.5573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003664/0.6633, allocations: 0.7791 MB / 0.8173 GB, free: 12.93 MB / 0.5573 GB Notification: Performance of simCode: alias equations: time 0.0002182/0.6635, allocations: 62.31 kB / 0.8173 GB, free: 12.87 MB / 0.5573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.647e-05/0.6636, allocations: 19.44 kB / 0.8174 GB, free: 12.85 MB / 0.5573 GB Notification: Performance of SimCode: time 2.01e-07/0.6636, allocations: 0 / 0.8174 GB, free: 12.85 MB / 0.5573 GB Notification: Performance of Templates: time 0.01013/0.6737, allocations: 5.677 MB / 0.8229 GB, free: 7.242 MB / 0.5573 GB make -j1 -f IDEAS_IDEAS.Fluid.Sensors.Examples.TemperatureWetBulb.makefile (rm -f IDEAS_IDEAS.Fluid.Sensors.Examples.TemperatureWetBulb.pipe ; mkfifo IDEAS_IDEAS.Fluid.Sensors.Examples.TemperatureWetBulb.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.Sensors.Examples.TemperatureWetBulb.pipe >> ../files/IDEAS_IDEAS.Fluid.Sensors.Examples.TemperatureWetBulb.sim & ./IDEAS_IDEAS.Fluid.Sensors.Examples.TemperatureWetBulb -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_IDEAS.Fluid.Sensors.Examples.TemperatureWetBulb.pipe 2>&1)