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/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_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/Complex 4.0.0+maint.om/package.mo): time 0.001632/0.001632, allocations: 172.8 kB / 12.73 MB, free: 2.586 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.947/0.947, allocations: 133.4 MB / 146.7 MB, free: 10.78 MB / 122.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.601/1.601, allocations: 221.3 MB / 400.4 MB, free: 5.848 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008657/0.0008657, allocations: 95.83 kB / 483.3 MB, free: 5.867 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 6.382e-05/6.394e-05, allocations: 4.25 kB / 0.5601 GB, free: 87.93 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1693/0.1694, allocations: 82.31 MB / 0.6405 GB, free: 7.73 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 4.976/5.146, allocations: 1.831 GB / 2.472 GB, free: 64.25 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002872/5.146, allocations: 86.39 kB / 2.472 GB, free: 64.21 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 1.781/6.927, allocations: 430 MB / 2.892 GB, free: 151.8 MB / 0.6823 GB Notification: Performance of FrontEnd: time 1.443e-06/6.927, allocations: 0 / 2.892 GB, free: 151.8 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 7.467e-05/6.927, allocations: 19.06 kB / 2.892 GB, free: 151.8 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.002561/6.93, allocations: 0.9877 MB / 2.893 GB, free: 151.2 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 5.21e-05/6.93, allocations: 9.938 kB / 2.893 GB, free: 151.2 MB / 0.6823 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001856/6.93, allocations: 81.78 kB / 2.893 GB, free: 151.1 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002229/6.932, allocations: 287.5 kB / 2.893 GB, free: 151.1 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001035/6.934, allocations: 454 kB / 2.894 GB, free: 150.9 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.515e-05/6.934, allocations: 36.06 kB / 2.894 GB, free: 150.9 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001278/6.934, allocations: 40.91 kB / 2.894 GB, free: 150.9 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008431/6.935, allocations: 0.4918 MB / 2.894 GB, free: 150.8 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.58e-05/6.935, allocations: 0 / 2.894 GB, free: 150.8 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.594e-05/6.935, allocations: 18.59 kB / 2.894 GB, free: 150.8 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.354e-05/6.935, allocations: 11.33 kB / 2.894 GB, free: 150.8 MB / 0.6823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006047/6.935, allocations: 355.6 kB / 2.895 GB, free: 150.8 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.002608/6.938, allocations: 2.132 MB / 2.897 GB, free: 149.5 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005647/6.939, allocations: 324.2 kB / 2.897 GB, free: 149.5 MB / 0.6823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000266/6.939, allocations: 173.2 kB / 2.897 GB, free: 149.5 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000569/6.939, allocations: 396.4 kB / 2.897 GB, free: 149.1 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003595/6.94, allocations: 241.8 kB / 2.898 GB, free: 149.1 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=37): time 2.595e-06/6.94, allocations: 2.562 kB / 2.898 GB, free: 149.1 MB / 0.6823 GB Notification: Performance of matching and sorting (n=37): time 0.0009238/6.941, allocations: 437.2 kB / 2.898 GB, free: 149 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.174e-05/6.941, allocations: 55.25 kB / 2.898 GB, free: 148.9 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004502/6.941, allocations: 425 kB / 2.899 GB, free: 148.8 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 6.215e-05/6.941, allocations: 40.2 kB / 2.899 GB, free: 148.8 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001613/6.941, allocations: 254.9 kB / 2.899 GB, free: 148.7 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001072/6.942, allocations: 130.5 kB / 2.899 GB, free: 148.6 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.604e-05/6.942, allocations: 14.25 kB / 2.899 GB, free: 148.6 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 9.43e-05/6.942, allocations: 358.2 kB / 2.899 GB, free: 148.3 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002448/6.942, allocations: 150.1 kB / 2.899 GB, free: 148.3 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002981/6.942, allocations: 286.4 kB / 2.9 GB, free: 148.1 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002986/6.943, allocations: 234.5 kB / 2.9 GB, free: 148.1 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.967e-06/6.943, allocations: 2.438 kB / 2.9 GB, free: 148.1 MB / 0.6823 GB Notification: Performance of matching and sorting (n=55) (initialization): time 0.0007821/6.943, allocations: 0.5483 MB / 2.9 GB, free: 148 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 3.942e-05/6.943, allocations: 62.22 kB / 2.901 GB, free: 147.9 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.716e-06/6.943, allocations: 3.688 kB / 2.901 GB, free: 147.9 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.509e-05/6.943, allocations: 3.938 kB / 2.901 GB, free: 147.9 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005199/6.944, allocations: 103.3 kB / 2.901 GB, free: 147.9 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.49e-05/6.944, allocations: 11.77 kB / 2.901 GB, free: 147.9 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006585/6.945, allocations: 99.42 kB / 2.901 GB, free: 147.9 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.041e-05/6.945, allocations: 22.03 kB / 2.901 GB, free: 147.9 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.00013/6.945, allocations: 141.4 kB / 2.901 GB, free: 147.8 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.063e-05/6.945, allocations: 49.66 kB / 2.901 GB, free: 147.7 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007682/6.946, allocations: 450.4 kB / 2.901 GB, free: 147.7 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.791e-06/6.946, allocations: 3.031 kB / 2.901 GB, free: 147.7 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.873e-06/6.946, allocations: 2.969 kB / 2.901 GB, free: 147.7 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.901e-06/6.946, allocations: 4.609 kB / 2.901 GB, free: 147.7 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001882/6.948, allocations: 1.243 MB / 2.903 GB, free: 147.3 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.005e-06/6.948, allocations: 2.438 kB / 2.903 GB, free: 147.3 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004152/6.948, allocations: 87.33 kB / 2.903 GB, free: 147.3 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.073e-05/6.948, allocations: 3.25 kB / 2.903 GB, free: 147.3 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.614e-05/6.948, allocations: 12.78 kB / 2.903 GB, free: 147.3 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.695e-06/6.948, allocations: 5.672 kB / 2.903 GB, free: 147.3 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.288e-06/6.948, allocations: 7.234 kB / 2.903 GB, free: 147.3 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009929/6.949, allocations: 0.9527 MB / 2.904 GB, free: 146.7 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002806/6.95, allocations: 173.3 kB / 2.904 GB, free: 146.6 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001001/6.95, allocations: 9.875 kB / 2.904 GB, free: 146.6 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000534/6.95, allocations: 60.75 kB / 2.904 GB, free: 146.6 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001367/6.95, allocations: 53.02 kB / 2.904 GB, free: 146.6 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.505e-05/6.95, allocations: 22 kB / 2.904 GB, free: 146.6 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 0.0003738/6.951, allocations: 329.4 kB / 2.904 GB, free: 146.5 MB / 0.6823 GB Notification: Performance of sort global known variables: time 2.6e-07/6.951, allocations: 3.969 kB / 2.904 GB, free: 146.5 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.001178/6.952, allocations: 290.6 kB / 2.905 GB, free: 146.5 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.003886/6.956, allocations: 3.828 MB / 2.908 GB, free: 144.2 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.0008128/6.957, allocations: 493.6 kB / 2.909 GB, free: 144.1 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 4.197e-06/6.957, allocations: 0 / 2.909 GB, free: 144.1 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.0004466/6.957, allocations: 245 kB / 2.909 GB, free: 144.1 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001551/6.959, allocations: 279.2 kB / 2.909 GB, free: 144 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002254/6.961, allocations: 0.9452 MB / 2.91 GB, free: 143.7 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000346/6.961, allocations: 0.8783 MB / 2.911 GB, free: 143 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 0.0006337/6.962, allocations: 124.4 kB / 2.911 GB, free: 143 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003061/6.962, allocations: 170.6 kB / 2.911 GB, free: 142.8 MB / 0.6823 GB Notification: Performance of SimCode: time 7.92e-07/6.962, allocations: 3.688 kB / 2.911 GB, free: 142.8 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06313/7.025, allocations: 41.11 MB / 2.951 GB, free: 112.8 MB / 0.6823 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001662/7.026, allocations: 177 kB / 2.952 GB, free: 112.6 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.28/10.31, allocations: 0 / 2.952 GB, free: 112.6 MB / 0.6823 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)