Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_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-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: "" <> buildModelFMU(IDEAS.Fluid.Sensors.Examples.TemperatureDryBulb,fileNamePrefix="IDEAS_dev_IDEAS_Fluid_Sensors_Examples_TemperatureDryBulb",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.Sensors.Examples.TemperatureDryBulb,fileNamePrefix="IDEAS_dev_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.001589/0.001589, allocations: 103.4 kB / 15.33 MB, free: 0.5078 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.001675/0.001675, allocations: 197.1 kB / 16.25 MB, free: 6.625 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.478/1.478, allocations: 222.9 MB / 239.9 MB, free: 4.41 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 1.058/1.058, allocations: 135.1 MB / 425.2 MB, free: 11.93 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001469/0.00147, allocations: 67.48 kB / 0.505 GB, free: 5.512 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2031/0.2046, allocations: 80.93 MB / 0.584 GB, free: 4.754 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Sensors.Examples.TemperatureDryBulb): time 0.7206/0.9253, allocations: 179.4 MB / 0.7592 GB, free: 9.879 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.008527/0.9339, allocations: 4.424 MB / 0.7635 GB, free: 5.445 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001187/0.9351, allocations: 15.88 kB / 0.7635 GB, free: 5.43 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.001139/0.9363, allocations: 206.7 kB / 0.7637 GB, free: 5.227 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.002916/0.9392, allocations: 0.7117 MB / 0.7644 GB, free: 4.512 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.004428/0.9437, allocations: 1.407 MB / 0.7658 GB, free: 3.105 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.002025/0.9457, allocations: 1.275 MB / 0.767 GB, free: 1.824 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0009202/0.9467, allocations: 429.3 kB / 0.7674 GB, free: 1.406 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001369/0.9481, allocations: 0.5799 MB / 0.768 GB, free: 0.8242 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0008083/0.9489, allocations: 426.2 kB / 0.7684 GB, free: 416 kB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 0.0001474/0.949, allocations: 47.94 kB / 0.7684 GB, free: 368 kB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003239/0.9523, allocations: 1.601 MB / 0.77 GB, free: 14.75 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 0.0002982/0.9526, allocations: 187.5 kB / 0.7702 GB, free: 14.57 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.0006659/0.9533, allocations: 306.5 kB / 0.7705 GB, free: 14.27 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.004652/0.9579, allocations: 1.422 MB / 0.7719 GB, free: 12.84 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 1.074e-05/0.958, allocations: 0 / 0.7719 GB, free: 12.84 MB / 0.5919 GB Notification: Performance of FrontEnd: time 2.925e-06/0.958, allocations: 0 / 0.7719 GB, free: 12.84 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 5.767e-05/0.9581, allocations: 0 / 0.7719 GB, free: 12.84 MB / 0.5919 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.002915/0.961, allocations: 1.017 MB / 0.7728 GB, free: 11.77 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 5.516e-05/0.9611, allocations: 8.031 kB / 0.7729 GB, free: 11.76 MB / 0.5919 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001585/0.9612, allocations: 82.47 kB / 0.7729 GB, free: 11.67 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002442/0.9637, allocations: 283 kB / 0.7732 GB, free: 11.39 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009795/0.9647, allocations: 449.4 kB / 0.7736 GB, free: 10.92 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.354e-05/0.9647, allocations: 33 kB / 0.7737 GB, free: 10.89 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001003/0.9648, allocations: 40 kB / 0.7737 GB, free: 10.85 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001163/0.966, allocations: 0.5468 MB / 0.7742 GB, free: 10.26 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.614e-05/0.966, allocations: 4 kB / 0.7742 GB, free: 10.26 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.908e-05/0.9661, allocations: 19.94 kB / 0.7743 GB, free: 10.24 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.111e-05/0.9661, allocations: 8 kB / 0.7743 GB, free: 10.23 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001122/0.9672, allocations: 459.5 kB / 0.7747 GB, free: 9.785 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.002957/0.9702, allocations: 2.119 MB / 0.7768 GB, free: 7.527 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001062/0.9713, allocations: 411 kB / 0.7772 GB, free: 7.117 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005104/0.9718, allocations: 225.4 kB / 0.7774 GB, free: 6.895 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007419/0.9726, allocations: 400.3 kB / 0.7778 GB, free: 6.43 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006679/0.9732, allocations: 289.6 kB / 0.778 GB, free: 6.137 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=37): time 2.124e-06/0.9733, allocations: 0 / 0.778 GB, free: 6.137 MB / 0.5919 GB Notification: Performance of matching and sorting (n=37): time 0.001917/0.9752, allocations: 0.6852 MB / 0.7787 GB, free: 5.445 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.407e-05/0.9752, allocations: 63.39 kB / 0.7788 GB, free: 5.371 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006582/0.9759, allocations: 498 kB / 0.7792 GB, free: 4.875 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 6.818e-05/0.976, allocations: 37.7 kB / 0.7793 GB, free: 4.832 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002312/0.9762, allocations: 256.1 kB / 0.7795 GB, free: 4.578 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001459/0.9764, allocations: 126.2 kB / 0.7796 GB, free: 4.453 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001949/0.9766, allocations: 90.11 kB / 0.7797 GB, free: 4.359 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0001643/0.9768, allocations: 362.8 kB / 0.7801 GB, free: 3.996 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005354/0.9773, allocations: 200.8 kB / 0.7803 GB, free: 3.801 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006135/0.9779, allocations: 316 kB / 0.7806 GB, free: 3.453 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001115/0.979, allocations: 0.5487 MB / 0.7811 GB, free: 2.855 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.658e-06/0.9791, allocations: 0 / 0.7811 GB, free: 2.855 MB / 0.5919 GB Notification: Performance of matching and sorting (n=55) (initialization): time 0.001504/0.9806, allocations: 0.6493 MB / 0.7817 GB, free: 2.188 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 5.979e-05/0.9806, allocations: 65.69 kB / 0.7818 GB, free: 2.113 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.021e-05/0.9807, allocations: 4 kB / 0.7818 GB, free: 2.109 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.968e-05/0.9807, allocations: 4 kB / 0.7818 GB, free: 2.105 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004896/0.9812, allocations: 95.88 kB / 0.7819 GB, free: 2.012 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.941e-05/0.9812, allocations: 14.11 kB / 0.7819 GB, free: 2 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006364/0.9819, allocations: 89.33 kB / 0.782 GB, free: 1.914 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.398e-05/0.9819, allocations: 20 kB / 0.782 GB, free: 1.895 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 (m_flow2.count,$PRE.m_flow2.count,m_flow2.T_start,$PRE.m_flow2.T_start,m_flow1.count,$PRE.m_flow1.count,m_flow1.T_start,$PRE.m_flow1.T_start,$whenCondition1,$whenCondition2) * 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002925/0.9822, allocations: 190.6 kB / 0.7822 GB, free: 1.699 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001305/0.9824, allocations: 63.31 kB / 0.7823 GB, free: 1.637 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001328/0.9837, allocations: 0.5415 MB / 0.7828 GB, free: 1.09 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.145e-05/0.9837, allocations: 4 kB / 0.7828 GB, free: 1.086 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.234e-05/0.9837, allocations: 3.984 kB / 0.7828 GB, free: 1.082 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.224e-06/0.9838, allocations: 0 / 0.7828 GB, free: 1.082 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0027/0.9865, allocations: 1.356 MB / 0.7841 GB, free: 15.63 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.935e-06/0.9865, allocations: 4.438 kB / 0.7841 GB, free: 15.62 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004459/0.9869, allocations: 71.89 kB / 0.7842 GB, free: 15.55 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.014e-05/0.987, allocations: 8 kB / 0.7842 GB, free: 15.55 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.338e-05/0.987, allocations: 12 kB / 0.7842 GB, free: 15.54 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.218e-05/0.987, allocations: 15.92 kB / 0.7842 GB, free: 15.52 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.479e-06/0.987, allocations: 4 kB / 0.7842 GB, free: 15.52 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001827/0.9889, allocations: 0.9325 MB / 0.7851 GB, free: 14.52 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002614/0.9891, allocations: 172.3 kB / 0.7853 GB, free: 14.33 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.998e-05/0.9893, allocations: 8 kB / 0.7853 GB, free: 14.32 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005246/0.9898, allocations: 39.95 kB / 0.7854 GB, free: 14.29 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000146/0.9899, allocations: 59.88 kB / 0.7854 GB, free: 14.23 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.337e-05/0.99, allocations: 12 kB / 0.7854 GB, free: 14.21 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.0004778/0.9905, allocations: 346.8 kB / 0.7858 GB, free: 13.88 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.1e-07/0.9905, allocations: 0 / 0.7858 GB, free: 13.88 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.00063/0.9911, allocations: 151.8 kB / 0.7859 GB, free: 13.73 MB / 0.6075 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.002426/0.9935, allocations: 1.571 MB / 0.7874 GB, free: 12.1 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.001336/0.9949, allocations: 0.5998 MB / 0.788 GB, free: 11.47 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 5.14e-06/0.9949, allocations: 0 / 0.788 GB, free: 11.47 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.0007063/0.9956, allocations: 299.2 kB / 0.7883 GB, free: 11.18 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001458/0.9971, allocations: 289.4 kB / 0.7886 GB, free: 10.92 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01022/1.007, allocations: 5.243 MB / 0.7937 GB, free: 5.434 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004778/1.008, allocations: 0.8704 MB / 0.7945 GB, free: 4.535 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 0.000609/1.008, allocations: 128.7 kB / 0.7947 GB, free: 4.406 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003043/1.009, allocations: 171.4 kB / 0.7948 GB, free: 4.238 MB / 0.6075 GB Notification: Performance of SimCode: time 3.91e-07/1.009, allocations: 0 / 0.7948 GB, free: 4.238 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.073/2.082, allocations: 15.46 MB / 0.8099 GB, free: 5.09 MB / 0.6231 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003667/2.082, allocations: 233 kB / 0.8102 GB, free: 4.836 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.357/5.44, allocations: 0 / 0.8102 GB, free: 4.836 MB / 0.6231 GB (rm -f IDEAS_dev_IDEAS.Fluid.Sensors.Examples.TemperatureDryBulb.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.Sensors.Examples.TemperatureDryBulb.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.Sensors.Examples.TemperatureDryBulb.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.Sensors.Examples.TemperatureDryBulb.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_Fluid_Sensors_Examples_TemperatureDryBulb_fmu --startTime=0 --stopTime=60 --timeout=50 --tolerance=1e-06 IDEAS_dev_IDEAS_Fluid_Sensors_Examples_TemperatureDryBulb.fmu > IDEAS_dev_IDEAS.Fluid.Sensors.Examples.TemperatureDryBulb.pipe 2>&1)