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.001063/0.001063, allocations: 90.52 kB / 15.36 MB, free: 0.7383 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.008279/0.008279, allocations: 171.1 kB / 16.26 MB, free: 6.613 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.462/1.462, allocations: 223.3 MB / 240.3 MB, free: 5.336 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 1.049/1.049, allocations: 135.3 MB / 426.7 MB, free: 14.12 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003305/0.0003305, allocations: 8 kB / 0.5076 GB, free: 4.742 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1867/0.1871, allocations: 82.31 MB / 0.588 GB, free: 2.598 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Sensors.Examples.TemperatureWetBulb): time 0.5133/0.7005, allocations: 157.1 MB / 0.7414 GB, free: 9.875 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.005731/0.7063, allocations: 3.466 MB / 0.7448 GB, free: 7.438 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000427/0.7067, allocations: 9.281 kB / 0.7448 GB, free: 7.434 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.0004606/0.7072, allocations: 108.3 kB / 0.7449 GB, free: 7.359 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.001494/0.7087, allocations: 419.8 kB / 0.7453 GB, free: 7.148 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.001681/0.7104, allocations: 0.5406 MB / 0.7459 GB, free: 6.875 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.001042/0.7115, allocations: 0.8149 MB / 0.7467 GB, free: 6.574 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003387/0.7118, allocations: 193.2 kB / 0.7468 GB, free: 6.504 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00145/0.7133, allocations: 300.9 kB / 0.7471 GB, free: 6.395 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002986/0.7136, allocations: 192.1 kB / 0.7473 GB, free: 6.32 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 3.569e-05/0.7136, allocations: 11 kB / 0.7473 GB, free: 6.32 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001207/0.7148, allocations: 0.6287 MB / 0.7479 GB, free: 6.055 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.0001065/0.715, allocations: 81.38 kB / 0.748 GB, free: 6.004 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.0001725/0.7151, allocations: 164 kB / 0.7482 GB, free: 5.883 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.0008353/0.716, allocations: 0.5617 MB / 0.7487 GB, free: 5.539 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 4.247e-06/0.716, allocations: 0 / 0.7487 GB, free: 5.539 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.803e-06/0.716, allocations: 0 / 0.7487 GB, free: 5.539 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 1.035e-05/0.716, allocations: 0 / 0.7487 GB, free: 5.539 MB / 0.5606 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.001029/0.717, allocations: 0.5971 MB / 0.7493 GB, free: 5.012 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 4.089e-05/0.7171, allocations: 10.72 kB / 0.7493 GB, free: 5.012 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005204/0.7176, allocations: 78.12 kB / 0.7494 GB, free: 4.973 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003511/0.718, allocations: 288.9 kB / 0.7497 GB, free: 4.691 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.925e-05/0.718, allocations: 16.69 kB / 0.7497 GB, free: 4.684 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.788e-05/0.7181, allocations: 23.64 kB / 0.7497 GB, free: 4.672 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006516/0.7187, allocations: 323.9 kB / 0.75 GB, free: 4.465 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.448e-06/0.7187, allocations: 0 / 0.75 GB, free: 4.465 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.958e-05/0.7188, allocations: 10.59 kB / 0.75 GB, free: 4.457 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.22e-05/0.7188, allocations: 9.312 kB / 0.75 GB, free: 4.453 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006805/0.7195, allocations: 284.5 kB / 0.7503 GB, free: 4.336 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.001532/0.721, allocations: 1.259 MB / 0.7515 GB, free: 3.18 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004359/0.7215, allocations: 192.7 kB / 0.7517 GB, free: 3.082 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003177/0.7218, allocations: 143.2 kB / 0.7518 GB, free: 3.012 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005596/0.7224, allocations: 314.9 kB / 0.7521 GB, free: 2.703 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.212e-05/0.7224, allocations: 37.97 kB / 0.7522 GB, free: 2.66 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=14): time 1.472e-06/0.7224, allocations: 0 / 0.7522 GB, free: 2.66 MB / 0.5606 GB Notification: Performance of matching and sorting (n=14): time 0.002273/0.7247, allocations: 0.6239 MB / 0.7528 GB, free: 2.301 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.22e-05/0.7247, allocations: 54.22 kB / 0.7528 GB, free: 2.238 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002255/0.725, allocations: 258.1 kB / 0.7531 GB, free: 2.062 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 2.672e-05/0.725, allocations: 25.7 kB / 0.7531 GB, free: 2.031 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001078/0.7251, allocations: 167.9 kB / 0.7533 GB, free: 1.879 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 4.284e-05/0.7252, allocations: 49.61 kB / 0.7533 GB, free: 1.836 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.908e-05/0.7252, allocations: 21.09 kB / 0.7533 GB, free: 1.812 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001106/0.7253, allocations: 333.7 kB / 0.7537 GB, free: 1.484 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003022/0.7256, allocations: 113.2 kB / 0.7538 GB, free: 1.438 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003143/0.7259, allocations: 149.3 kB / 0.7539 GB, free: 1.348 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006158/0.7266, allocations: 276.8 kB / 0.7542 GB, free: 1.199 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.144e-06/0.7266, allocations: 0 / 0.7542 GB, free: 1.199 MB / 0.5606 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.001162/0.7278, allocations: 389.3 kB / 0.7545 GB, free: 1 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 1.729e-05/0.7278, allocations: 9.062 kB / 0.7546 GB, free: 1 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.634e-06/0.7278, allocations: 7.984 kB / 0.7546 GB, free: 0.9922 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005876/0.7284, allocations: 84.8 kB / 0.7546 GB, free: 0.9531 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002249/0.7286, allocations: 47.62 kB / 0.7547 GB, free: 0.9414 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002058/0.7307, allocations: 1.615 MB / 0.7563 GB, free: 15.4 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002816/0.731, allocations: 48.2 kB / 0.7563 GB, free: 15.38 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.824e-05/0.731, allocations: 13.17 kB / 0.7563 GB, free: 15.37 MB / 0.5762 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.000148/0.7312, allocations: 144.3 kB / 0.7565 GB, free: 15.23 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.31e-05/0.7312, allocations: 22.34 kB / 0.7565 GB, free: 15.22 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001223/0.7325, allocations: 395.1 kB / 0.7569 GB, free: 15 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.306e-06/0.7325, allocations: 2.438 kB / 0.7569 GB, free: 15 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.677e-06/0.7325, allocations: 7.984 kB / 0.7569 GB, free: 15 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.427e-06/0.7325, allocations: 0 / 0.7569 GB, free: 15 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001694/0.7342, allocations: 0.8039 MB / 0.7577 GB, free: 14.13 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.384e-06/0.7342, allocations: 0 / 0.7577 GB, free: 14.13 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002087/0.7344, allocations: 55.98 kB / 0.7577 GB, free: 14.08 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005317/0.735, allocations: 88.77 kB / 0.7578 GB, free: 13.99 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.631e-05/0.735, allocations: 0.6875 kB / 0.7578 GB, free: 13.99 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001843/0.7368, allocations: 1.626 MB / 0.7594 GB, free: 12.22 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.274e-06/0.7369, allocations: 2.5 kB / 0.7594 GB, free: 12.22 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001194/0.7381, allocations: 0.4948 MB / 0.7599 GB, free: 11.7 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001169/0.7382, allocations: 112.8 kB / 0.76 GB, free: 11.57 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.203e-05/0.7382, allocations: 8 kB / 0.76 GB, free: 11.57 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000282/0.7385, allocations: 35.97 kB / 0.76 GB, free: 11.53 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.303e-05/0.7386, allocations: 19.91 kB / 0.76 GB, free: 11.51 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.19e-05/0.7386, allocations: 8 kB / 0.76 GB, free: 11.5 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0001694/0.7388, allocations: 189.9 kB / 0.7602 GB, free: 11.32 MB / 0.5762 GB Notification: Performance of sort global known variables: time 1.383e-06/0.7388, allocations: 0 / 0.7602 GB, free: 11.32 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0004325/0.7392, allocations: 87.77 kB / 0.7603 GB, free: 11.23 MB / 0.5762 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.0003567/0.7396, allocations: 154.6 kB / 0.7605 GB, free: 11.08 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.001035/0.7407, allocations: 392.9 kB / 0.7608 GB, free: 10.69 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 2.645e-06/0.7407, allocations: 0 / 0.7608 GB, free: 10.69 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.0005922/0.7413, allocations: 270.6 kB / 0.7611 GB, free: 10.41 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007823/0.7421, allocations: 121.2 kB / 0.7612 GB, free: 10.29 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008759/0.743, allocations: 0.6037 MB / 0.7618 GB, free: 9.664 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000311/0.7433, allocations: 0.7791 MB / 0.7626 GB, free: 8.859 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.0002112/0.7435, allocations: 50.25 kB / 0.7626 GB, free: 8.809 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.992e-05/0.7436, allocations: 19.44 kB / 0.7626 GB, free: 8.789 MB / 0.5762 GB Notification: Performance of SimCode: time 5.31e-07/0.7436, allocations: 0 / 0.7626 GB, free: 8.789 MB / 0.5762 GB Notification: Performance of Templates: time 0.009817/0.7534, allocations: 5.495 MB / 0.768 GB, free: 3.379 MB / 0.5762 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)