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/Complex 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) 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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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 IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/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) 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/Complex 4.0.0+maint.om/package.mo): time 0.001566/0.001566, allocations: 180.9 kB / 7.651 MB, free: 1.422 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.8445/0.8445, allocations: 133.6 MB / 141.6 MB, free: 2.891 MB / 106.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.464/1.464, allocations: 221.5 MB / 395.4 MB, free: 10.74 MB / 330.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009154/0.0009154, allocations: 92.88 kB / 478.2 MB, free: 1.281 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 2.527e-05/2.525e-05, allocations: 8 kB / 0.5535 GB, free: 8.93 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4658/0.4659, allocations: 82.31 MB / 0.6339 GB, free: 40.75 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 5.277/5.743, allocations: 1.831 GB / 2.465 GB, free: 165.9 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003087/5.743, allocations: 87.2 kB / 2.465 GB, free: 165.9 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 1.426/7.169, allocations: 424.7 MB / 2.879 GB, free: 19.53 MB / 0.6823 GB Notification: Performance of FrontEnd: time 1.463e-06/7.169, allocations: 0 / 2.879 GB, free: 19.53 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 7.09e-05/7.169, allocations: 20 kB / 2.879 GB, free: 19.51 MB / 0.6823 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.002652/7.172, allocations: 1.004 MB / 2.88 GB, free: 18.45 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 4.759e-05/7.172, allocations: 8.031 kB / 2.88 GB, free: 18.44 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002196/7.174, allocations: 283 kB / 2.881 GB, free: 18.16 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001079/7.175, allocations: 456.4 kB / 2.881 GB, free: 17.68 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.762e-05/7.175, allocations: 16 kB / 2.881 GB, free: 17.66 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001101/7.175, allocations: 35.92 kB / 2.881 GB, free: 17.63 MB / 0.6823 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.000586/7.176, allocations: 318.5 kB / 2.882 GB, free: 17.32 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006328/7.177, allocations: 449.1 kB / 2.882 GB, free: 16.84 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.409e-05/7.177, allocations: 3.938 kB / 2.882 GB, free: 16.84 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.15e-05/7.177, allocations: 4 kB / 2.882 GB, free: 16.83 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.929e-06/7.177, allocations: 8 kB / 2.882 GB, free: 16.82 MB / 0.6823 GB Warning: The model contains alias variables with conflicting start and/or 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.002364/7.179, allocations: 2.032 MB / 2.884 GB, free: 14.68 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004735/7.18, allocations: 314.5 kB / 2.884 GB, free: 14.36 MB / 0.6823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002072/7.18, allocations: 160.8 kB / 2.884 GB, free: 14.2 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005486/7.18, allocations: 396.3 kB / 2.885 GB, free: 13.74 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003044/7.181, allocations: 231 kB / 2.885 GB, free: 13.5 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=37): time 2.595e-06/7.181, allocations: 0 / 2.885 GB, free: 13.5 MB / 0.6823 GB Notification: Performance of matching and sorting (n=37): time 0.001107/7.182, allocations: 440.6 kB / 2.885 GB, free: 13.06 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.387e-05/7.182, allocations: 63.41 kB / 2.885 GB, free: 12.99 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002816/7.182, allocations: 309.1 kB / 2.886 GB, free: 12.68 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 4.652e-05/7.182, allocations: 37.69 kB / 2.886 GB, free: 12.64 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001443/7.182, allocations: 267.9 kB / 2.886 GB, free: 12.37 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 8.42e-05/7.182, allocations: 118.3 kB / 2.886 GB, free: 12.25 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.49e-05/7.183, allocations: 0 / 2.886 GB, free: 12.25 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 8.019e-05/7.183, allocations: 354.8 kB / 2.887 GB, free: 11.89 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002119/7.183, allocations: 140.9 kB / 2.887 GB, free: 11.76 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002425/7.183, allocations: 261.9 kB / 2.887 GB, free: 11.45 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004445/7.184, allocations: 220.6 kB / 2.887 GB, free: 11.24 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.567e-06/7.184, allocations: 7.891 kB / 2.887 GB, free: 11.23 MB / 0.6823 GB Notification: Performance of matching and sorting (n=55) (initialization): time 0.0008291/7.184, allocations: 0.5044 MB / 2.888 GB, free: 10.72 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 3.823e-05/7.184, allocations: 59.41 kB / 2.888 GB, free: 10.65 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.157e-06/7.184, allocations: 4 kB / 2.888 GB, free: 10.64 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.008e-05/7.184, allocations: 8 kB / 2.888 GB, free: 10.64 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000455/7.185, allocations: 108.2 kB / 2.888 GB, free: 10.53 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.406e-05/7.185, allocations: 7.984 kB / 2.888 GB, free: 10.52 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005734/7.186, allocations: 75.58 kB / 2.888 GB, free: 10.45 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.214e-05/7.186, allocations: 27.98 kB / 2.888 GB, free: 10.42 MB / 0.6823 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 () * 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.0001111/7.186, allocations: 116.9 kB / 2.888 GB, free: 10.3 MB / 0.6823 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.000661/7.186, allocations: 421 kB / 2.888 GB, free: 9.883 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.473e-05/7.186, allocations: 47.44 kB / 2.888 GB, free: 9.836 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008343/7.187, allocations: 465.9 kB / 2.889 GB, free: 9.375 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.93e-06/7.187, allocations: 8 kB / 2.889 GB, free: 9.367 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.471e-06/7.187, allocations: 4 kB / 2.889 GB, free: 9.363 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.909e-06/7.187, allocations: 0 / 2.889 GB, free: 9.363 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00164/7.189, allocations: 1.197 MB / 2.89 GB, free: 8.078 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.548e-06/7.189, allocations: 448 / 2.89 GB, free: 8.078 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004012/7.189, allocations: 87.88 kB / 2.89 GB, free: 7.992 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.669e-06/7.189, allocations: 7.953 kB / 2.89 GB, free: 7.984 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.124e-05/7.189, allocations: 15.94 kB / 2.89 GB, free: 7.969 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.749e-06/7.189, allocations: 4 kB / 2.89 GB, free: 7.965 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.13e-06/7.189, allocations: 7.938 kB / 2.89 GB, free: 7.957 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001017/7.19, allocations: 0.9652 MB / 2.891 GB, free: 6.84 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001823/7.191, allocations: 160.5 kB / 2.891 GB, free: 6.664 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.016e-05/7.191, allocations: 8 kB / 2.891 GB, free: 6.656 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004655/7.191, allocations: 51.94 kB / 2.891 GB, free: 6.605 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001128/7.191, allocations: 59.77 kB / 2.891 GB, free: 6.547 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.628e-05/7.191, allocations: 12 kB / 2.891 GB, free: 6.535 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 0.0001957/7.192, allocations: 235 kB / 2.892 GB, free: 6.309 MB / 0.6823 GB Notification: Performance of sort global known variables: time 1.3e-07/7.192, allocations: 0 / 2.892 GB, free: 6.309 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.0008513/7.192, allocations: 243.6 kB / 2.892 GB, free: 6.07 MB / 0.6823 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) * 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.003457/7.196, allocations: 4.033 MB / 2.896 GB, free: 1.863 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.0006538/7.197, allocations: 466.5 kB / 2.896 GB, free: 1.383 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 3.757e-06/7.197, allocations: 3.938 kB / 2.896 GB, free: 1.379 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.0003666/7.197, allocations: 227.7 kB / 2.896 GB, free: 1.156 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001055/7.198, allocations: 186 kB / 2.897 GB, free: 0.9805 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002049/7.2, allocations: 0.8868 MB / 2.898 GB, free: 12 kB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.429/7.629, allocations: 0.8731 MB / 2.898 GB, free: 144.1 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 0.0007819/7.63, allocations: 110.1 kB / 2.898 GB, free: 144.1 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003461/7.63, allocations: 176.3 kB / 2.899 GB, free: 144.1 MB / 0.6823 GB Notification: Performance of SimCode: time 1.423e-06/7.63, allocations: 0 / 2.899 GB, free: 144.1 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05424/7.685, allocations: 22.75 MB / 2.921 GB, free: 143.9 MB / 0.6823 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001605/7.685, allocations: 164.9 kB / 2.921 GB, free: 143.7 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.048/10.73, allocations: 0 / 2.921 GB, free: 143.7 MB / 0.6823 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/linux/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)