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/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/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/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_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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.005266/0.005266, allocations: 100.4 kB / 15.73 MB, free: 6.062 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.001148/0.001148, allocations: 198.1 kB / 16.68 MB, free: 5.973 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.422/1.422, allocations: 222.9 MB / 240.4 MB, free: 4.203 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7841/0.7841, allocations: 132.2 MB / 422.7 MB, free: 1.613 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001412/0.001412, allocations: 71.89 kB / 0.5814 GB, free: 7.523 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5067/0.5082, allocations: 80.2 MB / 0.6597 GB, free: 10.32 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Sensors.Examples.TemperatureWetBulb): time 0.1966/0.7048, allocations: 161.5 MB / 0.8174 GB, free: 4.156 MB / 0.6387 GB Notification: Performance of NFInst.instExpressions: time 0.004951/0.7098, allocations: 3.493 MB / 0.8208 GB, free: 0.6523 MB / 0.6387 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003075/0.7102, allocations: 7.938 kB / 0.8208 GB, free: 0.6445 MB / 0.6387 GB Notification: Performance of NFTyping.typeComponents: time 0.0004874/0.7107, allocations: 143 kB / 0.8209 GB, free: 0.5039 MB / 0.6387 GB Notification: Performance of NFTyping.typeBindings: time 0.001332/0.7121, allocations: 469.9 kB / 0.8214 GB, free: 44 kB / 0.6387 GB Notification: Performance of NFTyping.typeClassSections: time 0.001667/0.7137, allocations: 0.594 MB / 0.822 GB, free: 15.45 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 0.0007037/0.7145, allocations: 0.6206 MB / 0.8226 GB, free: 14.83 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003831/0.7149, allocations: 236.6 kB / 0.8228 GB, free: 14.6 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00128/0.7161, allocations: 339.4 kB / 0.8231 GB, free: 14.28 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002553/0.7164, allocations: 199.1 kB / 0.8233 GB, free: 14.08 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 4.036e-05/0.7165, allocations: 24 kB / 0.8233 GB, free: 14.06 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0009446/0.7174, allocations: 0.5573 MB / 0.8239 GB, free: 13.5 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 0.000124/0.7175, allocations: 91.78 kB / 0.824 GB, free: 13.41 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 0.0001551/0.7177, allocations: 147.3 kB / 0.8241 GB, free: 13.27 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.0008185/0.7185, allocations: 0.5589 MB / 0.8247 GB, free: 12.71 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 6.251e-06/0.7186, allocations: 0 / 0.8247 GB, free: 12.71 MB / 0.6544 GB Notification: Performance of FrontEnd: time 2.114e-06/0.7186, allocations: 4 kB / 0.8247 GB, free: 12.7 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 9.417e-06/0.7186, allocations: 0 / 0.8247 GB, free: 12.7 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.001045/0.7196, allocations: 0.6233 MB / 0.8253 GB, free: 12.03 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 4.274e-05/0.7197, allocations: 15.97 kB / 0.8253 GB, free: 12.02 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005318/0.7202, allocations: 67.56 kB / 0.8254 GB, free: 11.95 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004008/0.7206, allocations: 313.3 kB / 0.8256 GB, free: 11.6 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2e-05/0.7207, allocations: 12.44 kB / 0.8257 GB, free: 11.59 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.328e-05/0.7207, allocations: 20 kB / 0.8257 GB, free: 11.57 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006294/0.7213, allocations: 312.1 kB / 0.826 GB, free: 11.25 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.177e-05/0.7213, allocations: 3.938 kB / 0.826 GB, free: 11.24 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.054e-05/0.7214, allocations: 12 kB / 0.826 GB, free: 11.23 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.216e-06/0.7214, allocations: 4 kB / 0.826 GB, free: 11.23 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006631/0.7221, allocations: 252.9 kB / 0.8262 GB, free: 10.98 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.001577/0.7237, allocations: 1.236 MB / 0.8274 GB, free: 9.633 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004365/0.7241, allocations: 174.5 kB / 0.8276 GB, free: 9.453 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003142/0.7244, allocations: 128.8 kB / 0.8277 GB, free: 9.324 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000572/0.725, allocations: 299.2 kB / 0.828 GB, free: 8.977 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.651e-05/0.7251, allocations: 34.56 kB / 0.8281 GB, free: 8.934 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=14): time 1.282e-06/0.7251, allocations: 4 kB / 0.8281 GB, free: 8.93 MB / 0.6544 GB Notification: Performance of matching and sorting (n=14): time 0.002236/0.7273, allocations: 0.5722 MB / 0.8286 GB, free: 8.332 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.704e-05/0.7274, allocations: 55.41 kB / 0.8287 GB, free: 8.266 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002504/0.7276, allocations: 262.6 kB / 0.8289 GB, free: 8.008 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 2.653e-05/0.7277, allocations: 25.7 kB / 0.8289 GB, free: 7.977 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001136/0.7278, allocations: 164.2 kB / 0.8291 GB, free: 7.812 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 5.202e-05/0.7278, allocations: 55.28 kB / 0.8292 GB, free: 7.758 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.22e-05/0.7279, allocations: 33.7 kB / 0.8292 GB, free: 7.719 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 0.0001144/0.728, allocations: 338.8 kB / 0.8295 GB, free: 7.379 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002919/0.7283, allocations: 91.92 kB / 0.8296 GB, free: 7.289 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003091/0.7287, allocations: 140.1 kB / 0.8297 GB, free: 7.137 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005888/0.7292, allocations: 236.1 kB / 0.83 GB, free: 6.891 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.504e-06/0.7293, allocations: 0 / 0.83 GB, free: 6.891 MB / 0.6544 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.001145/0.7304, allocations: 353.8 kB / 0.8303 GB, free: 6.535 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 1.958e-05/0.7304, allocations: 8 kB / 0.8303 GB, free: 6.527 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.236e-06/0.7305, allocations: 3.938 kB / 0.8303 GB, free: 6.523 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005893/0.7311, allocations: 92.83 kB / 0.8304 GB, free: 6.43 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002346/0.7313, allocations: 39.95 kB / 0.8304 GB, free: 6.391 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002142/0.7334, allocations: 1.735 MB / 0.8321 GB, free: 4.52 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002464/0.7337, allocations: 35.67 kB / 0.8322 GB, free: 4.484 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.96e-05/0.7337, allocations: 11.98 kB / 0.8322 GB, free: 4.473 MB / 0.6544 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.0001602/0.7339, allocations: 141.9 kB / 0.8323 GB, free: 4.324 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.611e-05/0.734, allocations: 27.66 kB / 0.8323 GB, free: 4.297 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001129/0.7351, allocations: 364 kB / 0.8327 GB, free: 3.93 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.987e-06/0.7351, allocations: 4 kB / 0.8327 GB, free: 3.926 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.392e-06/0.7351, allocations: 0 / 0.8327 GB, free: 3.926 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.597e-06/0.7351, allocations: 0 / 0.8327 GB, free: 3.926 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001609/0.7368, allocations: 0.7669 MB / 0.8334 GB, free: 3.09 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.324e-06/0.7368, allocations: 7.938 kB / 0.8334 GB, free: 3.082 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001926/0.737, allocations: 43.84 kB / 0.8335 GB, free: 3.039 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004251/0.7374, allocations: 76.88 kB / 0.8336 GB, free: 2.961 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.796e-05/0.7374, allocations: 0 / 0.8336 GB, free: 2.961 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00192/0.7394, allocations: 1.747 MB / 0.8353 GB, free: 1.066 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.593e-06/0.7394, allocations: 0 / 0.8353 GB, free: 1.066 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00111/0.7405, allocations: 453.8 kB / 0.8357 GB, free: 0.5977 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001204/0.7406, allocations: 128.7 kB / 0.8358 GB, free: 464 kB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.344e-05/0.7407, allocations: 4 kB / 0.8358 GB, free: 460 kB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002544/0.7409, allocations: 19.97 kB / 0.8358 GB, free: 440 kB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.623e-05/0.741, allocations: 19.92 kB / 0.8359 GB, free: 420 kB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.309e-05/0.741, allocations: 12 kB / 0.8359 GB, free: 408 kB / 0.6544 GB Notification: Performance of sorting global known variables: time 0.0001677/0.7412, allocations: 186 kB / 0.836 GB, free: 224 kB / 0.6544 GB Notification: Performance of sort global known variables: time 1.5e-07/0.7412, allocations: 0 / 0.836 GB, free: 224 kB / 0.6544 GB Notification: Performance of remove unused functions: time 0.000435/0.7417, allocations: 87.83 kB / 0.8361 GB, free: 136 kB / 0.6544 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.0004199/0.7421, allocations: 145.6 kB / 0.8363 GB, free: 15.99 MB / 0.67 GB Notification: Performance of simCode: created initialization part: time 0.001089/0.7432, allocations: 362.4 kB / 0.8366 GB, free: 15.62 MB / 0.67 GB Notification: Performance of simCode: created event and clocks part: time 3.336e-06/0.7432, allocations: 0 / 0.8366 GB, free: 15.62 MB / 0.67 GB Notification: Performance of simCode: created simulation system equations: time 0.0006413/0.7439, allocations: 270.8 kB / 0.8369 GB, free: 15.35 MB / 0.67 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007778/0.7446, allocations: 131.2 kB / 0.837 GB, free: 15.22 MB / 0.67 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001138/0.7458, allocations: 498.9 kB / 0.8375 GB, free: 14.7 MB / 0.67 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005103/0.7463, allocations: 0.7714 MB / 0.8382 GB, free: 13.9 MB / 0.67 GB Notification: Performance of simCode: alias equations: time 0.0002372/0.7466, allocations: 50.27 kB / 0.8383 GB, free: 13.86 MB / 0.67 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.942e-05/0.7466, allocations: 19.44 kB / 0.8383 GB, free: 13.84 MB / 0.67 GB Notification: Performance of SimCode: time 3.31e-07/0.7467, allocations: 0 / 0.8383 GB, free: 13.84 MB / 0.67 GB Notification: Performance of Templates: time 0.01225/0.7589, allocations: 5.992 MB / 0.8441 GB, free: 7.93 MB / 0.67 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)