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.0007939/0.0007939, allocations: 87.3 kB / 15.06 MB, free: 1.082 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.0008962/0.0008962, allocations: 176.7 kB / 15.96 MB, free: 196 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.383/1.383, allocations: 223.3 MB / 240 MB, free: 5.348 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7408/0.7408, allocations: 132.3 MB / 423.4 MB, free: 2.047 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.000338/0.0003382, allocations: 9.875 kB / 0.5035 GB, free: 4.129 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4875/0.4878, allocations: 81.58 MB / 0.5832 GB, free: 3.977 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Sensors.Examples.TemperatureDryBulb): time 0.1954/0.6833, allocations: 165.3 MB / 0.7446 GB, free: 10.8 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.006115/0.6895, allocations: 4.191 MB / 0.7487 GB, free: 6.605 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005625/0.6901, allocations: 15.88 kB / 0.7487 GB, free: 6.59 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.0006758/0.6908, allocations: 174.8 kB / 0.7488 GB, free: 6.418 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.001487/0.6923, allocations: 0.579 MB / 0.7494 GB, free: 5.836 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.002833/0.6951, allocations: 1.052 MB / 0.7504 GB, free: 4.789 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.001616/0.6967, allocations: 1.445 MB / 0.7519 GB, free: 3.336 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005136/0.6973, allocations: 340.1 kB / 0.7522 GB, free: 3 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000941/0.6982, allocations: 0.5135 MB / 0.7527 GB, free: 2.484 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004726/0.6987, allocations: 398.4 kB / 0.7531 GB, free: 2.094 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 6e-05/0.6988, allocations: 27.94 kB / 0.7531 GB, free: 2.066 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002056/0.7008, allocations: 0.7794 MB / 0.7538 GB, free: 1.285 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.0001837/0.701, allocations: 171.4 kB / 0.754 GB, free: 1.117 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.0001486/0.7012, allocations: 133.4 kB / 0.7541 GB, free: 0.9805 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.0009846/0.7022, allocations: 0.7639 MB / 0.7549 GB, free: 220 kB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 6.112e-06/0.7022, allocations: 0 / 0.7549 GB, free: 220 kB / 0.5762 GB Notification: Performance of FrontEnd: time 2.485e-06/0.7022, allocations: 4 kB / 0.7549 GB, free: 216 kB / 0.5762 GB Notification: Performance of Transformations before backend: time 8.165e-06/0.7022, allocations: 0 / 0.7549 GB, free: 216 kB / 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.001618/0.7038, allocations: 0.9319 MB / 0.7558 GB, free: 15.22 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 4.061e-05/0.7039, allocations: 8.031 kB / 0.7558 GB, free: 15.21 MB / 0.5919 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.758e-05/0.704, allocations: 74.53 kB / 0.7559 GB, free: 15.13 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001892/0.7059, allocations: 290.9 kB / 0.7562 GB, free: 14.84 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006984/0.7066, allocations: 429.7 kB / 0.7566 GB, free: 14.39 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.06e-05/0.7066, allocations: 37 kB / 0.7566 GB, free: 14.35 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.793e-05/0.7067, allocations: 40 kB / 0.7566 GB, free: 14.31 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009609/0.7077, allocations: 0.5624 MB / 0.7572 GB, free: 13.71 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.264e-05/0.7077, allocations: 0 / 0.7572 GB, free: 13.71 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.323e-05/0.7078, allocations: 19.98 kB / 0.7572 GB, free: 13.7 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.263e-05/0.7078, allocations: 12 kB / 0.7572 GB, free: 13.68 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009689/0.7088, allocations: 491.5 kB / 0.7577 GB, free: 13.2 MB / 0.5919 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.002449/0.7112, allocations: 2.135 MB / 0.7598 GB, free: 10.94 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009/0.7121, allocations: 442.4 kB / 0.7602 GB, free: 10.5 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004627/0.7126, allocations: 236.7 kB / 0.7604 GB, free: 10.26 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006377/0.7132, allocations: 412.3 kB / 0.7608 GB, free: 9.785 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005821/0.7138, allocations: 306.9 kB / 0.7611 GB, free: 9.473 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=37): time 1.774e-06/0.7139, allocations: 0 / 0.7611 GB, free: 9.473 MB / 0.5919 GB Notification: Performance of matching and sorting (n=37): time 0.001663/0.7155, allocations: 0.7362 MB / 0.7618 GB, free: 8.73 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.869e-05/0.7156, allocations: 59.16 kB / 0.7619 GB, free: 8.66 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005419/0.7161, allocations: 494.1 kB / 0.7623 GB, free: 8.164 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 4.007e-05/0.7162, allocations: 33.7 kB / 0.7624 GB, free: 8.125 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001879/0.7164, allocations: 264 kB / 0.7626 GB, free: 7.863 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 0.000105/0.7165, allocations: 122.3 kB / 0.7627 GB, free: 7.742 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.638e-05/0.7165, allocations: 8 kB / 0.7628 GB, free: 7.734 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0001374/0.7167, allocations: 370.7 kB / 0.7631 GB, free: 7.363 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004514/0.7171, allocations: 208.8 kB / 0.7633 GB, free: 7.16 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005306/0.7177, allocations: 336.1 kB / 0.7636 GB, free: 6.793 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005012/0.7182, allocations: 291.2 kB / 0.7639 GB, free: 6.496 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.567e-06/0.7182, allocations: 0 / 0.7639 GB, free: 6.496 MB / 0.5919 GB Notification: Performance of matching and sorting (n=55) (initialization): time 0.001234/0.7194, allocations: 0.6726 MB / 0.7646 GB, free: 5.805 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 6.102e-05/0.7195, allocations: 69.42 kB / 0.7646 GB, free: 5.727 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.873e-06/0.7195, allocations: 0 / 0.7646 GB, free: 5.727 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.766e-05/0.7195, allocations: 11.94 kB / 0.7646 GB, free: 5.715 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004336/0.72, allocations: 103.8 kB / 0.7647 GB, free: 5.613 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.112e-05/0.72, allocations: 8 kB / 0.7647 GB, free: 5.605 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004985/0.7205, allocations: 95.53 kB / 0.7648 GB, free: 5.512 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.97e-05/0.7206, allocations: 20 kB / 0.7649 GB, free: 5.492 MB / 0.5919 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 13 * 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.0002201/0.7208, allocations: 203.1 kB / 0.7651 GB, free: 5.285 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.438e-05/0.7209, allocations: 51.34 kB / 0.7651 GB, free: 5.234 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001163/0.722, allocations: 0.5541 MB / 0.7656 GB, free: 4.668 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.861e-06/0.7221, allocations: 4 kB / 0.7656 GB, free: 4.664 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.569e-06/0.7221, allocations: 4 kB / 0.7657 GB, free: 4.66 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.788e-06/0.7221, allocations: 7.984 kB / 0.7657 GB, free: 4.652 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002188/0.7243, allocations: 1.387 MB / 0.767 GB, free: 3.164 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.271e-06/0.7243, allocations: 4 kB / 0.767 GB, free: 3.16 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003806/0.7247, allocations: 87.88 kB / 0.7671 GB, free: 3.074 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.047e-05/0.7247, allocations: 7.953 kB / 0.7671 GB, free: 3.066 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.208e-05/0.7247, allocations: 12 kB / 0.7671 GB, free: 3.055 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.32e-06/0.7247, allocations: 4 kB / 0.7671 GB, free: 3.051 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.332e-06/0.7248, allocations: 16.16 kB / 0.7671 GB, free: 3.035 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001616/0.7264, allocations: 0.9802 MB / 0.7681 GB, free: 1.992 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002049/0.7266, allocations: 168.3 kB / 0.7683 GB, free: 1.809 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.271e-05/0.7267, allocations: 15.94 kB / 0.7683 GB, free: 1.793 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004585/0.7272, allocations: 51.95 kB / 0.7683 GB, free: 1.742 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000113/0.7273, allocations: 48 kB / 0.7684 GB, free: 1.695 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.863e-05/0.7273, allocations: 12 kB / 0.7684 GB, free: 1.684 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.0004095/0.7277, allocations: 350.8 kB / 0.7687 GB, free: 1.344 MB / 0.5919 GB Notification: Performance of sort global known variables: time 1.5e-07/0.7277, allocations: 0 / 0.7687 GB, free: 1.344 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.0005694/0.7283, allocations: 143.8 kB / 0.7689 GB, free: 1.203 MB / 0.5919 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 15 * 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.002204/0.7305, allocations: 1.631 MB / 0.7704 GB, free: 15.52 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.001128/0.7317, allocations: 0.6086 MB / 0.771 GB, free: 14.89 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 2.835e-06/0.7317, allocations: 0 / 0.771 GB, free: 14.89 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.0006411/0.7323, allocations: 304.7 kB / 0.7713 GB, free: 14.59 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001277/0.7336, allocations: 269.4 kB / 0.7716 GB, free: 14.33 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005545/0.7392, allocations: 3.384 MB / 0.7749 GB, free: 10.82 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004781/0.7397, allocations: 0.8668 MB / 0.7757 GB, free: 9.926 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 0.0005551/0.7402, allocations: 128.7 kB / 0.7759 GB, free: 9.801 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002949/0.7405, allocations: 175.4 kB / 0.776 GB, free: 9.629 MB / 0.6075 GB Notification: Performance of SimCode: time 4.21e-07/0.7406, allocations: 4 kB / 0.776 GB, free: 9.625 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02974/0.7703, allocations: 14.79 MB / 0.7905 GB, free: 11.15 MB / 0.6231 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002074/0.7705, allocations: 214.3 kB / 0.7907 GB, free: 10.91 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.139/2.909, allocations: 0 / 0.7907 GB, free: 10.91 MB / 0.6231 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: