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.00109/0.00109, allocations: 178.4 kB / 7.65 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.7771/0.7771, 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.469/1.469, allocations: 221.5 MB / 395.4 MB, free: 10.77 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.0008923/0.0008922, allocations: 96.08 kB / 478.2 MB, free: 1.301 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 2.569e-05/2.569e-05, allocations: 4 kB / 0.5536 GB, free: 8.934 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4588/0.4588, allocations: 82.29 MB / 0.6339 GB, free: 40.72 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 5.018/5.477, allocations: 1.831 GB / 2.465 GB, free: 165.5 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002598/5.478, allocations: 86.7 kB / 2.465 GB, free: 165.4 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 1.395/6.873, allocations: 424.7 MB / 2.879 GB, free: 19.09 MB / 0.6823 GB Notification: Performance of FrontEnd: time 1.563e-06/6.873, allocations: 0 / 2.879 GB, free: 19.09 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 5.698e-05/6.873, allocations: 16 kB / 2.879 GB, free: 19.07 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.002364/6.875, allocations: 1.009 MB / 2.88 GB, free: 18.01 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 4.47e-05/6.875, allocations: 8.031 kB / 2.88 GB, free: 18 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002132/6.877, allocations: 279 kB / 2.881 GB, free: 17.73 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008736/6.878, allocations: 460.4 kB / 2.881 GB, free: 17.24 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.578e-05/6.878, allocations: 12 kB / 2.881 GB, free: 17.23 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001031/6.879, allocations: 28 kB / 2.881 GB, free: 17.2 MB / 0.6823 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0005457/6.879, allocations: 322.5 kB / 2.882 GB, free: 16.88 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006268/6.88, allocations: 441.1 kB / 2.882 GB, free: 16.41 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.631e-05/6.88, allocations: 3.938 kB / 2.882 GB, free: 16.41 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.921e-05/6.88, allocations: 8 kB / 2.882 GB, free: 16.4 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.168e-05/6.88, allocations: 11.98 kB / 2.882 GB, free: 16.39 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.002296/6.882, allocations: 2.032 MB / 2.884 GB, free: 14.24 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004782/6.883, allocations: 310.5 kB / 2.884 GB, free: 13.93 MB / 0.6823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000204/6.883, allocations: 160.8 kB / 2.884 GB, free: 13.77 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005439/6.883, allocations: 396.4 kB / 2.885 GB, free: 13.31 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003163/6.884, allocations: 238.8 kB / 2.885 GB, free: 13.06 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=37): time 2.384e-06/6.884, allocations: 0 / 2.885 GB, free: 13.06 MB / 0.6823 GB Notification: Performance of matching and sorting (n=37): time 0.001089/6.885, allocations: 448.6 kB / 2.885 GB, free: 12.62 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.499e-05/6.885, allocations: 55.41 kB / 2.885 GB, free: 12.55 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002607/6.885, allocations: 305.2 kB / 2.886 GB, free: 12.25 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 4.379e-05/6.885, allocations: 33.7 kB / 2.886 GB, free: 12.21 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001302/6.885, allocations: 275.9 kB / 2.886 GB, free: 11.93 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 8.026e-05/6.885, allocations: 118.3 kB / 2.886 GB, free: 11.81 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.352e-05/6.885, allocations: 0 / 2.886 GB, free: 11.81 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 7.309e-05/6.885, allocations: 358.8 kB / 2.887 GB, free: 11.45 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002005/6.886, allocations: 140.9 kB / 2.887 GB, free: 11.32 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000254/6.886, allocations: 261.9 kB / 2.887 GB, free: 11.01 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004506/6.886, allocations: 224.7 kB / 2.887 GB, free: 10.79 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.899e-06/6.886, allocations: 7.891 kB / 2.887 GB, free: 10.79 MB / 0.6823 GB Notification: Performance of matching and sorting (n=55) (initialization): time 0.0008175/6.887, allocations: 0.5005 MB / 2.888 GB, free: 10.28 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 3.755e-05/6.887, allocations: 59.41 kB / 2.888 GB, free: 10.21 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.454e-06/6.887, allocations: 4 kB / 2.888 GB, free: 10.2 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.886e-05/6.887, allocations: 8.375 kB / 2.888 GB, free: 10.2 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004447/6.888, allocations: 107.9 kB / 2.888 GB, free: 10.09 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.366e-06/6.888, allocations: 7.938 kB / 2.888 GB, free: 10.08 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005508/6.888, allocations: 75.62 kB / 2.888 GB, free: 10.01 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.689e-05/6.888, allocations: 27.98 kB / 2.888 GB, free: 9.98 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.0001032/6.889, allocations: 112.9 kB / 2.888 GB, free: 9.863 MB / 0.6823 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0006473/6.889, allocations: 425 kB / 2.888 GB, free: 9.441 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.045e-05/6.889, allocations: 47.44 kB / 2.888 GB, free: 9.395 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007659/6.89, allocations: 462 kB / 2.889 GB, free: 8.938 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.639e-06/6.89, allocations: 4 kB / 2.889 GB, free: 8.934 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.398e-06/6.89, allocations: 0 / 2.889 GB, free: 8.934 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.749e-06/6.89, allocations: 4 kB / 2.889 GB, free: 8.93 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001594/6.892, allocations: 1.203 MB / 2.89 GB, free: 7.641 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.647e-06/6.892, allocations: 0 / 2.89 GB, free: 7.641 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004093/6.892, allocations: 83.88 kB / 2.89 GB, free: 7.559 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.935e-06/6.892, allocations: 7.953 kB / 2.89 GB, free: 7.551 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.125e-05/6.892, allocations: 12 kB / 2.89 GB, free: 7.539 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.238e-06/6.892, allocations: 7.938 kB / 2.89 GB, free: 7.531 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.521e-06/6.892, allocations: 4 kB / 2.89 GB, free: 7.527 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009886/6.893, allocations: 0.9691 MB / 2.891 GB, free: 6.406 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00018/6.893, allocations: 156.4 kB / 2.891 GB, free: 6.234 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.185e-05/6.893, allocations: 8 kB / 2.891 GB, free: 6.227 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004521/6.894, allocations: 56 kB / 2.891 GB, free: 6.172 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001071/6.894, allocations: 55.77 kB / 2.891 GB, free: 6.117 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.87e-05/6.894, allocations: 12 kB / 2.891 GB, free: 6.105 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 0.0001886/6.894, allocations: 238.9 kB / 2.892 GB, free: 5.875 MB / 0.6823 GB Notification: Performance of sort global known variables: time 1.8e-07/6.894, allocations: 0 / 2.892 GB, free: 5.875 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.0008382/6.895, allocations: 243.6 kB / 2.892 GB, free: 5.637 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.003169/6.898, allocations: 4.047 MB / 2.896 GB, free: 1.418 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.0005818/6.899, allocations: 462.5 kB / 2.896 GB, free: 0.9414 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 3.436e-06/6.899, allocations: 0 / 2.896 GB, free: 0.9414 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.0003531/6.899, allocations: 229.3 kB / 2.896 GB, free: 0.7188 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009635/6.9, allocations: 173.8 kB / 2.897 GB, free: 0.5508 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.4327/7.333, allocations: 0.8889 MB / 2.898 GB, free: 144.7 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000536/7.334, allocations: 0.8784 MB / 2.898 GB, free: 144 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 0.0006082/7.334, allocations: 105.7 kB / 2.898 GB, free: 144 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002817/7.334, allocations: 172.9 kB / 2.899 GB, free: 143.9 MB / 0.6823 GB Notification: Performance of SimCode: time 1.092e-06/7.334, allocations: 3.562 kB / 2.899 GB, free: 143.9 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05423/7.389, allocations: 22.75 MB / 2.921 GB, free: 143.7 MB / 0.6823 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001579/7.389, allocations: 157.1 kB / 2.921 GB, free: 143.5 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.783/10.17, allocations: 0 / 2.921 GB, free: 143.5 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)