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.001239/0.001239, allocations: 91.84 kB / 15.06 MB, free: 1.098 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.001146/0.001147, allocations: 172.7 kB / 15.95 MB, free: 208 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.38/1.38, allocations: 223.3 MB / 240 MB, free: 5.441 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 1.019/1.019, allocations: 135.3 MB / 426.4 MB, free: 14.17 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003173/0.0003173, allocations: 8 kB / 0.507 GB, free: 5.176 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1965/0.1969, allocations: 82.31 MB / 0.5874 GB, free: 3.035 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Sensors.Examples.TemperatureWetBulb): time 0.5075/0.7045, allocations: 146.6 MB / 0.7305 GB, free: 3.543 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.005235/0.7098, allocations: 3.269 MB / 0.7337 GB, free: 1.258 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004435/0.7102, allocations: 7.906 kB / 0.7337 GB, free: 1.254 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.0004543/0.7107, allocations: 96.41 kB / 0.7338 GB, free: 1.195 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.001203/0.7119, allocations: 333.7 kB / 0.7341 GB, free: 1.02 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.00175/0.7137, allocations: 459.4 kB / 0.7346 GB, free: 0.8008 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.001028/0.7147, allocations: 0.6976 MB / 0.7353 GB, free: 0.5195 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003622/0.7151, allocations: 178.4 kB / 0.7354 GB, free: 472 kB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006931/0.7158, allocations: 290.6 kB / 0.7357 GB, free: 364 kB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000324/0.7161, allocations: 179.8 kB / 0.7359 GB, free: 296 kB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 3.683e-05/0.7162, allocations: 11.41 kB / 0.7359 GB, free: 296 kB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0009172/0.7171, allocations: 322.5 kB / 0.7362 GB, free: 196 kB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 0.0001141/0.7172, allocations: 81.11 kB / 0.7363 GB, free: 168 kB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 7.587e-05/0.7173, allocations: 78.64 kB / 0.7364 GB, free: 108 kB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.0005503/0.7179, allocations: 353.5 kB / 0.7367 GB, free: 20 kB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 4.769e-06/0.7179, allocations: 0 / 0.7367 GB, free: 20 kB / 0.545 GB Notification: Performance of FrontEnd: time 1.423e-06/0.7179, allocations: 0 / 0.7367 GB, free: 20 kB / 0.545 GB Notification: Performance of Transformations before backend: time 5.791e-06/0.7179, allocations: 0 / 0.7367 GB, free: 20 kB / 0.545 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.00108/0.719, allocations: 0.6013 MB / 0.7373 GB, free: 15.54 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 3.88e-05/0.719, allocations: 6.719 kB / 0.7373 GB, free: 15.54 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005311/0.7196, allocations: 73.95 kB / 0.7374 GB, free: 15.52 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004286/0.72, allocations: 292.7 kB / 0.7376 GB, free: 15.26 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.758e-05/0.7201, allocations: 17.81 kB / 0.7377 GB, free: 15.25 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.576e-05/0.7201, allocations: 16.91 kB / 0.7377 GB, free: 15.25 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007029/0.7208, allocations: 324.9 kB / 0.738 GB, free: 15.09 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.495e-05/0.7208, allocations: 5.219 kB / 0.738 GB, free: 15.09 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.202e-05/0.7209, allocations: 10.59 kB / 0.738 GB, free: 15.08 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.013e-05/0.7209, allocations: 4.938 kB / 0.738 GB, free: 15.08 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007158/0.7216, allocations: 280.1 kB / 0.7383 GB, free: 15.02 MB / 0.5606 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.001639/0.7233, allocations: 1.264 MB / 0.7395 GB, free: 13.99 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004304/0.7237, allocations: 190.7 kB / 0.7397 GB, free: 13.92 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003194/0.724, allocations: 146.8 kB / 0.7398 GB, free: 13.88 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000586/0.7246, allocations: 316 kB / 0.7401 GB, free: 13.59 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.156e-05/0.7247, allocations: 35.94 kB / 0.7402 GB, free: 13.54 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=14): time 1.913e-06/0.7247, allocations: 1.375 kB / 0.7402 GB, free: 13.54 MB / 0.5606 GB Notification: Performance of matching and sorting (n=14): time 0.002173/0.7269, allocations: 0.6172 MB / 0.7408 GB, free: 13.3 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.943e-05/0.7269, allocations: 52.66 kB / 0.7408 GB, free: 13.24 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002655/0.7272, allocations: 249.4 kB / 0.741 GB, free: 13.1 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 2.795e-05/0.7272, allocations: 36.73 kB / 0.7411 GB, free: 13.06 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001037/0.7273, allocations: 164.5 kB / 0.7412 GB, free: 12.92 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 5.255e-05/0.7274, allocations: 47.5 kB / 0.7413 GB, free: 12.88 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.4e-05/0.7274, allocations: 4 kB / 0.7413 GB, free: 12.88 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001156/0.7275, allocations: 335.2 kB / 0.7416 GB, free: 12.55 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002778/0.7278, allocations: 120.3 kB / 0.7417 GB, free: 12.52 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000309/0.7281, allocations: 150 kB / 0.7419 GB, free: 12.46 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000281/0.7284, allocations: 126.5 kB / 0.742 GB, free: 12.42 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.104e-06/0.7284, allocations: 0 / 0.742 GB, free: 12.42 MB / 0.5606 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.001072/0.7295, allocations: 374.7 kB / 0.7423 GB, free: 12.3 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 2.015e-05/0.7295, allocations: 12.09 kB / 0.7424 GB, free: 12.3 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.983e-06/0.7296, allocations: 4 kB / 0.7424 GB, free: 12.29 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005774/0.7301, allocations: 88.73 kB / 0.7424 GB, free: 12.27 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002356/0.7304, allocations: 62.8 kB / 0.7425 GB, free: 12.26 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002152/0.7326, allocations: 1.602 MB / 0.7441 GB, free: 10.73 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002796/0.7328, allocations: 49.27 kB / 0.7441 GB, free: 10.7 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.633e-05/0.7329, allocations: 5.75 kB / 0.7441 GB, free: 10.7 MB / 0.5606 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 (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 2} Notification: Performance of prepare postOptimizeDAE: time 0.0001845/0.7331, allocations: 150.1 kB / 0.7443 GB, free: 10.56 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.37e-05/0.7331, allocations: 28.14 kB / 0.7443 GB, free: 10.55 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001068/0.7342, allocations: 398.7 kB / 0.7447 GB, free: 10.32 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.266e-06/0.7342, allocations: 0 / 0.7447 GB, free: 10.32 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.835e-06/0.7342, allocations: 4 kB / 0.7447 GB, free: 10.32 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.587e-06/0.7342, allocations: 3.938 kB / 0.7447 GB, free: 10.32 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001594/0.7358, allocations: 0.8065 MB / 0.7455 GB, free: 9.707 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.288e-06/0.7359, allocations: 1.5 kB / 0.7455 GB, free: 9.707 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002041/0.7361, allocations: 42.31 kB / 0.7455 GB, free: 9.695 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004572/0.7365, allocations: 90.55 kB / 0.7456 GB, free: 9.652 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.309e-05/0.7366, allocations: 4 kB / 0.7456 GB, free: 9.648 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0019/0.7385, allocations: 1.624 MB / 0.7472 GB, free: 8.102 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.473e-06/0.7385, allocations: 0 / 0.7472 GB, free: 8.102 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001109/0.7396, allocations: 487.3 kB / 0.7476 GB, free: 7.781 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001629/0.7398, allocations: 125.1 kB / 0.7478 GB, free: 7.656 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.755e-05/0.7398, allocations: 13.58 kB / 0.7478 GB, free: 7.645 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002786/0.7401, allocations: 37.34 kB / 0.7478 GB, free: 7.629 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.176e-05/0.7402, allocations: 16.8 kB / 0.7478 GB, free: 7.621 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.419e-05/0.7402, allocations: 7.484 kB / 0.7478 GB, free: 7.617 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.0001774/0.7404, allocations: 183.5 kB / 0.748 GB, free: 7.492 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1.1e-07/0.7404, allocations: 0 / 0.748 GB, free: 7.492 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0004693/0.7409, allocations: 86.69 kB / 0.7481 GB, free: 7.473 MB / 0.5606 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 (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 3} Notification: Performance of Backend phase and start with SimCode phase: time 0.0003871/0.7413, allocations: 150.4 kB / 0.7482 GB, free: 7.359 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.0009129/0.7422, allocations: 399.6 kB / 0.7486 GB, free: 7.129 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 2.484e-06/0.7422, allocations: 0 / 0.7486 GB, free: 7.129 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.0005299/0.7428, allocations: 279.1 kB / 0.7489 GB, free: 6.941 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007223/0.7435, allocations: 113.3 kB / 0.749 GB, free: 6.891 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00113/0.7446, allocations: 0.5998 MB / 0.7496 GB, free: 6.297 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003597/0.745, allocations: 0.7791 MB / 0.7503 GB, free: 5.492 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.0002291/0.7453, allocations: 52 kB / 0.7504 GB, free: 5.441 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.202e-05/0.7453, allocations: 19.44 kB / 0.7504 GB, free: 5.422 MB / 0.5606 GB Notification: Performance of SimCode: time 4.81e-07/0.7453, allocations: 4 kB / 0.7504 GB, free: 5.418 MB / 0.5606 GB Notification: Performance of Templates: time 0.01012/0.7555, allocations: 5.333 MB / 0.7556 GB, free: 180 kB / 0.5606 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)