Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_IDEAS.Fluid.Sensors.Examples.TemperatureDryBulb.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: "" <> buildModelFMU(IDEAS.Fluid.Sensors.Examples.TemperatureDryBulb,fileNamePrefix="IDEAS_IDEAS_Fluid_Sensors_Examples_TemperatureDryBulb",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.Sensors.Examples.TemperatureDryBulb,fileNamePrefix="IDEAS_IDEAS_Fluid_Sensors_Examples_TemperatureDryBulb",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001707/0.001707, allocations: 99.47 kB / 15.05 MB, free: 1.105 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.00239/0.00239, allocations: 177.3 kB / 15.94 MB, free: 228 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 2.479/2.479, allocations: 223.2 MB / 239.9 MB, free: 5.238 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 1.327/1.327, allocations: 132.2 MB / 423.2 MB, free: 2.102 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0006743/0.0006747, allocations: 8 kB / 0.5033 GB, free: 4.148 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8804/0.8811, allocations: 81.58 MB / 0.583 GB, free: 4 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Sensors.Examples.TemperatureDryBulb): time 0.3042/1.185, allocations: 151.4 MB / 0.7308 GB, free: 8.789 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.009746/1.195, allocations: 4.116 MB / 0.7348 GB, free: 4.664 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009402/1.196, allocations: 15.88 kB / 0.7348 GB, free: 4.648 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.001595/1.198, allocations: 282.6 kB / 0.7351 GB, free: 4.371 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.003239/1.201, allocations: 0.5803 MB / 0.7357 GB, free: 3.789 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.005008/1.206, allocations: 0.9759 MB / 0.7366 GB, free: 2.82 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.002163/1.208, allocations: 0.7488 MB / 0.7374 GB, free: 2.066 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001193/1.21, allocations: 352.2 kB / 0.7377 GB, free: 1.719 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003275/1.213, allocations: 0.6583 MB / 0.7383 GB, free: 1.059 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001074/1.214, allocations: 282.8 kB / 0.7386 GB, free: 0.7812 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 0.0001267/1.214, allocations: 28 kB / 0.7386 GB, free: 0.7539 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003376/1.218, allocations: 0.5928 MB / 0.7392 GB, free: 164 kB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.0004304/1.218, allocations: 159.5 kB / 0.7394 GB, free: 4 kB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.0005173/1.219, allocations: 133.4 kB / 0.7395 GB, free: 15.86 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.001594/1.22, allocations: 0.6391 MB / 0.7401 GB, free: 15.23 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 4.439e-06/1.22, allocations: 0 / 0.7401 GB, free: 15.23 MB / 0.5762 GB Notification: Performance of FrontEnd: time 3.847e-06/1.22, allocations: 0 / 0.7401 GB, free: 15.23 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 9.949e-06/1.22, allocations: 0 / 0.7401 GB, free: 15.23 MB / 0.5762 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 100 * Number of variables: 100 Notification: Performance of Generate backend data structure: time 0.002851/1.223, allocations: 0.8931 MB / 0.741 GB, free: 14.27 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 9.138e-05/1.223, allocations: 8.031 kB / 0.741 GB, free: 14.27 MB / 0.5762 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001998/1.223, allocations: 82.47 kB / 0.7411 GB, free: 14.18 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003308/1.227, allocations: 294.9 kB / 0.7414 GB, free: 13.89 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001236/1.228, allocations: 429.7 kB / 0.7418 GB, free: 13.43 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.98e-05/1.228, allocations: 33 kB / 0.7418 GB, free: 13.39 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001384/1.228, allocations: 47.98 kB / 0.7419 GB, free: 13.35 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00157/1.23, allocations: 0.5624 MB / 0.7424 GB, free: 12.75 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.27e-05/1.23, allocations: 3.938 kB / 0.7424 GB, free: 12.75 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.785e-05/1.23, allocations: 16 kB / 0.7424 GB, free: 12.73 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.134e-05/1.23, allocations: 12 kB / 0.7424 GB, free: 12.72 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00161/1.232, allocations: 491.5 kB / 0.7429 GB, free: 12.24 MB / 0.5762 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.004148/1.236, allocations: 2.127 MB / 0.745 GB, free: 9.984 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001498/1.237, allocations: 442.5 kB / 0.7454 GB, free: 9.543 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005838/1.238, allocations: 145 kB / 0.7455 GB, free: 9.383 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009554/1.239, allocations: 337.8 kB / 0.7459 GB, free: 9.035 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=37): time 7.515e-06/1.239, allocations: 3.984 kB / 0.7459 GB, free: 9.031 MB / 0.5762 GB Notification: Performance of matching and sorting (n=37): time 0.002873/1.242, allocations: 0.7314 MB / 0.7466 GB, free: 8.293 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001017/1.242, allocations: 97.12 kB / 0.7467 GB, free: 8.18 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008937/1.243, allocations: 482.1 kB / 0.7471 GB, free: 7.695 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 7.756e-05/1.243, allocations: 37.7 kB / 0.7472 GB, free: 7.652 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003073/1.243, allocations: 268 kB / 0.7474 GB, free: 7.387 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001824/1.243, allocations: 118.3 kB / 0.7475 GB, free: 7.27 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.476e-05/1.243, allocations: 4 kB / 0.7475 GB, free: 7.266 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0002301/1.244, allocations: 370.8 kB / 0.7479 GB, free: 6.895 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007024/1.244, allocations: 208.8 kB / 0.7481 GB, free: 6.691 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009029/1.245, allocations: 337.2 kB / 0.7484 GB, free: 6.32 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008444/1.246, allocations: 287.5 kB / 0.7487 GB, free: 6.027 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.457e-06/1.246, allocations: 4 kB / 0.7487 GB, free: 6.023 MB / 0.5762 GB Notification: Performance of matching and sorting (n=55) (initialization): time 0.002032/1.248, allocations: 0.6771 MB / 0.7494 GB, free: 5.328 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001041/1.248, allocations: 67.45 kB / 0.7494 GB, free: 5.25 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.428e-05/1.248, allocations: 4 kB / 0.7494 GB, free: 5.246 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.172e-05/1.248, allocations: 8 kB / 0.7494 GB, free: 5.238 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007166/1.249, allocations: 103.8 kB / 0.7495 GB, free: 5.137 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.715e-05/1.249, allocations: 4 kB / 0.7495 GB, free: 5.133 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009159/1.25, allocations: 95.39 kB / 0.7496 GB, free: 5.039 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.279e-05/1.25, allocations: 23.98 kB / 0.7496 GB, free: 5.016 MB / 0.5762 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 14 * Number of states: 0 () * Number of discrete variables: 10 ($whenCondition2,$whenCondition1,$PRE.m_flow1.T_start,m_flow1.T_start,$PRE.m_flow1.count,m_flow1.count,$PRE.m_flow2.T_start,m_flow2.T_start,$PRE.m_flow2.count,m_flow2.count) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (53): * Single equations (assignments): 51 * Array equations: 0 * Algorithm blocks: 2 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0004253/1.251, allocations: 197.6 kB / 0.7498 GB, free: 4.812 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001195/1.251, allocations: 55.34 kB / 0.7499 GB, free: 4.758 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001643/1.252, allocations: 0.5233 MB / 0.7504 GB, free: 4.223 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.115e-05/1.252, allocations: 4 kB / 0.7504 GB, free: 4.219 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.444e-06/1.252, allocations: 0 / 0.7504 GB, free: 4.219 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.086e-05/1.252, allocations: 3.984 kB / 0.7504 GB, free: 4.215 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003699/1.256, allocations: 1.48 MB / 0.7519 GB, free: 2.621 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.311e-05/1.256, allocations: 7.953 kB / 0.7519 GB, free: 2.613 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006115/1.257, allocations: 80.41 kB / 0.7519 GB, free: 2.535 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.962e-05/1.257, allocations: 12 kB / 0.7519 GB, free: 2.523 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.433e-05/1.257, allocations: 16 kB / 0.752 GB, free: 2.508 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.989e-05/1.257, allocations: 15.92 kB / 0.752 GB, free: 2.492 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.413e-06/1.257, allocations: 7.938 kB / 0.752 GB, free: 2.484 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002981/1.26, allocations: 1.222 MB / 0.7532 GB, free: 1.07 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005085/1.26, allocations: 172.3 kB / 0.7533 GB, free: 0.8828 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001353/1.261, allocations: 19.98 kB / 0.7534 GB, free: 0.8633 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007408/1.261, allocations: 55.95 kB / 0.7534 GB, free: 0.8086 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002235/1.262, allocations: 55.83 kB / 0.7535 GB, free: 0.7539 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.802e-05/1.262, allocations: 16 kB / 0.7535 GB, free: 0.7383 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0007064/1.262, allocations: 346.8 kB / 0.7538 GB, free: 412 kB / 0.5762 GB Notification: Performance of sort global known variables: time 1.7e-07/1.262, allocations: 0 / 0.7538 GB, free: 412 kB / 0.5762 GB Notification: Performance of remove unused functions: time 0.001073/1.263, allocations: 147.8 kB / 0.754 GB, free: 264 kB / 0.5762 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 20 * Number of states: 2 (temDyn.T,temDynLoss.T) * Number of discrete variables: 6 ($whenCondition2,$whenCondition1,m_flow1.T_start,m_flow1.count,m_flow2.T_start,m_flow2.count) * Number of discrete states: 2 (m_flow2.count,m_flow1.count) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (37): * Single equations (assignments): 33 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 4 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.004989/1.268, allocations: 3.171 MB / 0.7571 GB, free: 12.94 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.001971/1.27, allocations: 0.6158 MB / 0.7577 GB, free: 12.3 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 9.718e-06/1.271, allocations: 4 kB / 0.7577 GB, free: 12.3 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.001072/1.272, allocations: 326.8 kB / 0.758 GB, free: 11.98 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002191/1.274, allocations: 273.5 kB / 0.7582 GB, free: 11.72 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01096/1.285, allocations: 5.347 MB / 0.7635 GB, free: 6.211 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000859/1.286, allocations: 0.8784 MB / 0.7643 GB, free: 5.305 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.0009915/1.287, allocations: 132.6 kB / 0.7644 GB, free: 5.172 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000425/1.287, allocations: 175.4 kB / 0.7646 GB, free: 5 MB / 0.5919 GB Notification: Performance of SimCode: time 1.553e-06/1.287, allocations: 0 / 0.7646 GB, free: 5 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05115/1.338, allocations: 14.77 MB / 0.779 GB, free: 6.547 MB / 0.6075 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000306/1.339, allocations: 209.1 kB / 0.7792 GB, free: 6.309 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.791/5.13, allocations: 0 / 0.7792 GB, free: 6.309 MB / 0.6075 GB (rm -f IDEAS_IDEAS.Fluid.Sensors.Examples.TemperatureDryBulb.pipe ; mkfifo IDEAS_IDEAS.Fluid.Sensors.Examples.TemperatureDryBulb.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.Sensors.Examples.TemperatureDryBulb.pipe >> ../files/IDEAS_IDEAS.Fluid.Sensors.Examples.TemperatureDryBulb.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_Fluid_Sensors_Examples_TemperatureDryBulb_fmu --startTime=0 --stopTime=60 --timeout=50 --tolerance=1e-06 IDEAS_IDEAS_Fluid_Sensors_Examples_TemperatureDryBulb.fmu > IDEAS_IDEAS.Fluid.Sensors.Examples.TemperatureDryBulb.pipe 2>&1) Environment - environmentSimulation: