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.001237/0.001237, allocations: 105.6 kB / 16.41 MB, free: 6.496 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.001228/0.001228, allocations: 189.6 kB / 17.34 MB, free: 5.766 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.267/1.267, allocations: 222.9 MB / 241 MB, free: 15.07 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.761/0.761, allocations: 135.1 MB / 426.3 MB, free: 4.102 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001188/0.001188, allocations: 64.62 kB / 0.5863 GB, free: 21.62 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1392/0.1404, allocations: 80.92 MB / 0.6653 GB, free: 5.762 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Sensors.Examples.TemperatureWetBulb): time 0.4735/0.614, allocations: 161.5 MB / 0.823 GB, free: 4.668 MB / 0.5919 GB Notification: Performance of NFInst.instExpressions: time 0.004208/0.6182, allocations: 3.479 MB / 0.8264 GB, free: 1.867 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000296/0.6185, allocations: 9.469 kB / 0.8264 GB, free: 1.863 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 0.000429/0.619, allocations: 138.6 kB / 0.8266 GB, free: 1.742 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.001107/0.6201, allocations: 449.1 kB / 0.827 GB, free: 1.406 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.001428/0.6216, allocations: 0.5968 MB / 0.8276 GB, free: 0.9648 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.0005956/0.6222, allocations: 0.6154 MB / 0.8282 GB, free: 0.6094 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003289/0.6225, allocations: 233.4 kB / 0.8284 GB, free: 480 kB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001153/0.6237, allocations: 341 kB / 0.8287 GB, free: 296 kB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002303/0.6239, allocations: 196.7 kB / 0.8289 GB, free: 172 kB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 4.185e-05/0.624, allocations: 22.75 kB / 0.8289 GB, free: 172 kB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0008839/0.6248, allocations: 0.5511 MB / 0.8295 GB, free: 15.86 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 9.661e-05/0.625, allocations: 94.22 kB / 0.8296 GB, free: 15.8 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.0001329/0.6251, allocations: 142.5 kB / 0.8297 GB, free: 15.71 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0007057/0.6258, allocations: 0.5605 MB / 0.8302 GB, free: 15.37 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 3.437e-06/0.6258, allocations: 0 / 0.8302 GB, free: 15.37 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.773e-06/0.6258, allocations: 4 kB / 0.8302 GB, free: 15.36 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 6.442e-06/0.6258, allocations: 0 / 0.8302 GB, free: 15.36 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.0009014/0.6267, allocations: 0.6263 MB / 0.8309 GB, free: 14.81 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.201e-05/0.6268, allocations: 8.766 kB / 0.8309 GB, free: 14.81 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004683/0.6273, allocations: 75.72 kB / 0.8309 GB, free: 14.77 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003599/0.6276, allocations: 311.4 kB / 0.8312 GB, free: 14.48 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.777e-05/0.6277, allocations: 15.69 kB / 0.8312 GB, free: 14.47 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.268e-05/0.6277, allocations: 25.06 kB / 0.8313 GB, free: 14.46 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005742/0.6283, allocations: 308.8 kB / 0.8316 GB, free: 14.25 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.028e-05/0.6283, allocations: 2.406 kB / 0.8316 GB, free: 14.25 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.969e-05/0.6283, allocations: 14 kB / 0.8316 GB, free: 14.24 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.772e-06/0.6283, allocations: 9.688 kB / 0.8316 GB, free: 14.23 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006049/0.629, allocations: 243.5 kB / 0.8318 GB, free: 14.12 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.001506/0.6305, allocations: 1.245 MB / 0.833 GB, free: 12.97 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004119/0.6309, allocations: 173.4 kB / 0.8332 GB, free: 12.88 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002835/0.6312, allocations: 119.5 kB / 0.8333 GB, free: 12.82 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005134/0.6317, allocations: 304.2 kB / 0.8336 GB, free: 12.51 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.952e-05/0.6318, allocations: 41.08 kB / 0.8336 GB, free: 12.46 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=14): time 1.382e-06/0.6318, allocations: 0 / 0.8336 GB, free: 12.46 MB / 0.6075 GB Notification: Performance of matching and sorting (n=14): time 0.002/0.6338, allocations: 0.5713 MB / 0.8342 GB, free: 12.11 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.464e-05/0.6338, allocations: 54.16 kB / 0.8343 GB, free: 12.05 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002201/0.634, allocations: 253.8 kB / 0.8345 GB, free: 11.87 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 2.362e-05/0.6341, allocations: 25.7 kB / 0.8345 GB, free: 11.84 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001168/0.6342, allocations: 171.1 kB / 0.8347 GB, free: 11.68 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 3.986e-05/0.6342, allocations: 50.69 kB / 0.8347 GB, free: 11.64 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.286e-05/0.6343, allocations: 41.89 kB / 0.8348 GB, free: 11.6 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001124/0.6344, allocations: 331.9 kB / 0.8351 GB, free: 11.27 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002632/0.6347, allocations: 94.55 kB / 0.8352 GB, free: 11.23 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002806/0.635, allocations: 139.9 kB / 0.8353 GB, free: 11.14 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005269/0.6355, allocations: 235 kB / 0.8355 GB, free: 11 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.507e-06/0.6355, allocations: 3.375 kB / 0.8355 GB, free: 11 MB / 0.6075 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.001035/0.6366, allocations: 353.2 kB / 0.8359 GB, free: 10.8 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.867e-05/0.6366, allocations: 7.438 kB / 0.8359 GB, free: 10.8 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.032e-06/0.6366, allocations: 3.938 kB / 0.8359 GB, free: 10.8 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005525/0.6372, allocations: 86.23 kB / 0.836 GB, free: 10.76 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002064/0.6374, allocations: 41.83 kB / 0.836 GB, free: 10.75 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001978/0.6394, allocations: 1.738 MB / 0.8377 GB, free: 9.094 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002149/0.6396, allocations: 27.94 kB / 0.8377 GB, free: 9.078 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.527e-05/0.6396, allocations: 13.66 kB / 0.8377 GB, free: 9.07 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.0001544/0.6398, allocations: 143.1 kB / 0.8379 GB, free: 8.938 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.25e-05/0.6399, allocations: 23.94 kB / 0.8379 GB, free: 8.926 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001027/0.6409, allocations: 371.3 kB / 0.8383 GB, free: 8.699 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.555e-06/0.6409, allocations: 2 kB / 0.8383 GB, free: 8.699 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.966e-06/0.6409, allocations: 2.906 kB / 0.8383 GB, free: 8.699 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.557e-06/0.6409, allocations: 3.938 kB / 0.8383 GB, free: 8.695 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001472/0.6424, allocations: 0.7711 MB / 0.839 GB, free: 8.086 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.494e-06/0.6424, allocations: 4.094 kB / 0.839 GB, free: 8.082 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001663/0.6426, allocations: 37 kB / 0.8391 GB, free: 8.07 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003897/0.643, allocations: 84.88 kB / 0.8391 GB, free: 8.023 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.953e-05/0.643, allocations: 6.578 kB / 0.8391 GB, free: 8.02 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001689/0.6447, allocations: 1.736 MB / 0.8408 GB, free: 6.367 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.393e-06/0.6447, allocations: 0 / 0.8408 GB, free: 6.367 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001011/0.6457, allocations: 450.7 kB / 0.8413 GB, free: 6.055 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001108/0.6459, allocations: 123.3 kB / 0.8414 GB, free: 5.93 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.279e-05/0.6459, allocations: 19.16 kB / 0.8414 GB, free: 5.914 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002238/0.6461, allocations: 21.53 kB / 0.8414 GB, free: 5.902 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.2e-05/0.6462, allocations: 19.67 kB / 0.8414 GB, free: 5.891 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.837e-05/0.6463, allocations: 8.969 kB / 0.8415 GB, free: 5.887 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.0001424/0.6464, allocations: 185.6 kB / 0.8416 GB, free: 5.762 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.4e-07/0.6464, allocations: 0 / 0.8416 GB, free: 5.762 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0004015/0.6468, allocations: 81.27 kB / 0.8417 GB, free: 5.746 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.0003715/0.6472, allocations: 169 kB / 0.8419 GB, free: 5.625 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0009096/0.6481, allocations: 362.4 kB / 0.8422 GB, free: 5.398 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 2.334e-06/0.6481, allocations: 0 / 0.8422 GB, free: 5.398 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.0005135/0.6486, allocations: 249.9 kB / 0.8425 GB, free: 5.223 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000673/0.6493, allocations: 127.1 kB / 0.8426 GB, free: 5.156 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008118/0.6501, allocations: 0.5276 MB / 0.8431 GB, free: 4.77 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002897/0.6504, allocations: 0.7681 MB / 0.8438 GB, free: 4.035 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.763e-05/0.6505, allocations: 20.12 kB / 0.8439 GB, free: 4.027 MB / 0.6075 GB Notification: Performance of SimCode: time 2.4e-07/0.6505, allocations: 4 kB / 0.8439 GB, free: 4.023 MB / 0.6075 GB Notification: Performance of Templates: time 0.006916/0.6574, allocations: 5.431 MB / 0.8492 GB, free: 1.188 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)