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.001144/0.001144, allocations: 105.1 kB / 16.41 MB, free: 6.41 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.00115/0.001151, allocations: 189.7 kB / 17.35 MB, free: 5.695 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.379/1.379, allocations: 222.9 MB / 241 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.8286/0.8286, allocations: 135.1 MB / 426.3 MB, free: 4.109 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001447/0.001447, allocations: 63.97 kB / 0.5863 GB, free: 21.71 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1588/0.1602, allocations: 80.93 MB / 0.6653 GB, free: 5.789 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Sensors.Examples.TemperatureWetBulb): time 0.5449/0.7052, allocations: 161.5 MB / 0.823 GB, free: 4.699 MB / 0.5919 GB Notification: Performance of NFInst.instExpressions: time 0.005356/0.7106, allocations: 3.479 MB / 0.8264 GB, free: 1.898 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004968/0.7112, allocations: 12.03 kB / 0.8264 GB, free: 1.895 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 0.0005511/0.7117, allocations: 136 kB / 0.8266 GB, free: 1.773 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.001501/0.7132, allocations: 449.6 kB / 0.827 GB, free: 1.438 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.001858/0.7151, allocations: 0.592 MB / 0.8276 GB, free: 1 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.0009488/0.7161, allocations: 0.6236 MB / 0.8282 GB, free: 0.6367 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004779/0.7166, allocations: 234 kB / 0.8284 GB, free: 0.4922 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001524/0.7181, allocations: 342.7 kB / 0.8287 GB, free: 320 kB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003705/0.7185, allocations: 191 kB / 0.8289 GB, free: 204 kB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 6.637e-05/0.7186, allocations: 20.06 kB / 0.8289 GB, free: 204 kB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001156/0.7197, allocations: 0.554 MB / 0.8295 GB, free: 15.89 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 0.0001347/0.7199, allocations: 91.03 kB / 0.8296 GB, free: 15.83 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.0002293/0.7201, allocations: 149.7 kB / 0.8297 GB, free: 15.73 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.001144/0.7213, allocations: 0.5579 MB / 0.8302 GB, free: 15.39 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 5.27e-06/0.7213, allocations: 0 / 0.8302 GB, free: 15.39 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.683e-06/0.7213, allocations: 0 / 0.8302 GB, free: 15.39 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 1.814e-05/0.7213, allocations: 0 / 0.8302 GB, free: 15.39 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.001239/0.7225, allocations: 0.6302 MB / 0.8309 GB, free: 14.84 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 4.064e-05/0.7226, allocations: 15.27 kB / 0.8309 GB, free: 14.83 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005711/0.7232, allocations: 66.83 kB / 0.8309 GB, free: 14.8 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004797/0.7237, allocations: 315.3 kB / 0.8312 GB, free: 14.5 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.229e-05/0.7237, allocations: 20 kB / 0.8313 GB, free: 14.49 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.325e-05/0.7237, allocations: 16.84 kB / 0.8313 GB, free: 14.49 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006722/0.7244, allocations: 310.9 kB / 0.8316 GB, free: 14.28 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.388e-05/0.7244, allocations: 4 kB / 0.8316 GB, free: 14.28 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.336e-05/0.7245, allocations: 18.56 kB / 0.8316 GB, free: 14.26 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.384e-06/0.7245, allocations: 5.125 kB / 0.8316 GB, free: 14.26 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006353/0.7251, allocations: 243.8 kB / 0.8318 GB, free: 14.15 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.001741/0.7269, allocations: 1.245 MB / 0.833 GB, free: 13 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004399/0.7273, allocations: 169.2 kB / 0.8332 GB, free: 12.91 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003057/0.7277, allocations: 123.4 kB / 0.8333 GB, free: 12.84 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005922/0.7283, allocations: 300.5 kB / 0.8336 GB, free: 12.54 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.639e-05/0.7283, allocations: 40.48 kB / 0.8336 GB, free: 12.49 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=14): time 1.883e-06/0.7283, allocations: 4 kB / 0.8337 GB, free: 12.49 MB / 0.6075 GB Notification: Performance of matching and sorting (n=14): time 0.00219/0.7305, allocations: 0.5711 MB / 0.8342 GB, free: 12.14 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.006e-05/0.7306, allocations: 54.22 kB / 0.8343 GB, free: 12.07 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002533/0.7308, allocations: 249.5 kB / 0.8345 GB, free: 11.9 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 3.306e-05/0.7309, allocations: 32.55 kB / 0.8345 GB, free: 11.86 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001234/0.731, allocations: 168.3 kB / 0.8347 GB, free: 11.71 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 4.508e-05/0.7311, allocations: 51.36 kB / 0.8347 GB, free: 11.66 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.805e-05/0.7311, allocations: 38.42 kB / 0.8348 GB, free: 11.63 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001273/0.7313, allocations: 331.1 kB / 0.8351 GB, free: 11.3 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002913/0.7316, allocations: 93.92 kB / 0.8352 GB, free: 11.27 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003096/0.7319, allocations: 147.5 kB / 0.8353 GB, free: 11.16 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005899/0.7325, allocations: 234.9 kB / 0.8355 GB, free: 11.03 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.717e-06/0.7325, allocations: 2.5 kB / 0.8355 GB, free: 11.03 MB / 0.6075 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.001126/0.7336, allocations: 353.2 kB / 0.8359 GB, free: 10.83 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.98e-05/0.7337, allocations: 7.656 kB / 0.8359 GB, free: 10.83 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.782e-06/0.7337, allocations: 128 / 0.8359 GB, free: 10.83 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005962/0.7343, allocations: 86.14 kB / 0.836 GB, free: 10.79 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002242/0.7345, allocations: 45.98 kB / 0.836 GB, free: 10.77 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002293/0.7368, allocations: 1.723 MB / 0.8377 GB, free: 9.129 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000278/0.7371, allocations: 32.81 kB / 0.8377 GB, free: 9.109 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.884e-05/0.7371, allocations: 8.75 kB / 0.8377 GB, free: 9.105 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.0001899/0.7373, allocations: 147.2 kB / 0.8379 GB, free: 8.969 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.351e-05/0.7374, allocations: 21.91 kB / 0.8379 GB, free: 8.957 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001133/0.7386, allocations: 368.6 kB / 0.8383 GB, free: 8.738 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.386e-06/0.7386, allocations: 0 / 0.8383 GB, free: 8.738 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.024e-06/0.7386, allocations: 0 / 0.8383 GB, free: 8.738 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.06e-06/0.7386, allocations: 2.656 kB / 0.8383 GB, free: 8.738 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001721/0.7403, allocations: 0.7878 MB / 0.839 GB, free: 8.113 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.537e-06/0.7403, allocations: 0 / 0.839 GB, free: 8.113 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001831/0.7405, allocations: 33.16 kB / 0.8391 GB, free: 8.105 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004484/0.741, allocations: 84.48 kB / 0.8391 GB, free: 8.059 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.029e-05/0.741, allocations: 7.156 kB / 0.8391 GB, free: 8.055 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002094/0.7431, allocations: 1.748 MB / 0.8409 GB, free: 6.391 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.876e-06/0.7431, allocations: 0 / 0.8409 GB, free: 6.391 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001163/0.7443, allocations: 446.8 kB / 0.8413 GB, free: 6.082 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001386/0.7445, allocations: 121.7 kB / 0.8414 GB, free: 5.957 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.344e-05/0.7445, allocations: 13.78 kB / 0.8414 GB, free: 5.945 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002546/0.7448, allocations: 20.66 kB / 0.8414 GB, free: 5.938 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.425e-05/0.7448, allocations: 19.67 kB / 0.8414 GB, free: 5.926 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.154e-05/0.7449, allocations: 5.281 kB / 0.8414 GB, free: 5.926 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.0001936/0.7451, allocations: 184.9 kB / 0.8416 GB, free: 5.801 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.2e-07/0.7451, allocations: 0 / 0.8416 GB, free: 5.801 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0004441/0.7455, allocations: 85.61 kB / 0.8417 GB, free: 5.781 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.0004414/0.746, allocations: 165.2 kB / 0.8419 GB, free: 5.664 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.001025/0.747, allocations: 362.6 kB / 0.8422 GB, free: 5.438 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 4.318e-06/0.747, allocations: 2.844 kB / 0.8422 GB, free: 5.438 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.0005949/0.7476, allocations: 249.3 kB / 0.8425 GB, free: 5.262 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007462/0.7484, allocations: 133.2 kB / 0.8426 GB, free: 5.188 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009606/0.7494, allocations: 0.5304 MB / 0.8431 GB, free: 4.797 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003655/0.7497, allocations: 0.7655 MB / 0.8438 GB, free: 4.062 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.492e-05/0.7498, allocations: 26.19 kB / 0.8439 GB, free: 4.051 MB / 0.6075 GB Notification: Performance of SimCode: time 2.11e-07/0.7498, allocations: 0 / 0.8439 GB, free: 4.051 MB / 0.6075 GB Notification: Performance of Templates: time 0.008451/0.7583, allocations: 5.404 MB / 0.8491 GB, free: 1.23 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)