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.009274/0.009274, allocations: 169.5 kB / 15.11 MB, free: 5.973 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.8719/0.8719, allocations: 135.2 MB / 151 MB, free: 13.8 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.518/1.518, allocations: 223.2 MB / 406.8 MB, free: 3.23 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.0009477/0.0009481, allocations: 94.84 kB / 489.9 MB, free: 10.91 MB / 362.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004413/0.0004417, allocations: 8 kB / 0.5692 GB, free: 14.07 MB / 458.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.519/0.5195, allocations: 82.3 MB / 0.6495 GB, free: 36.14 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 5.314/5.834, allocations: 1.831 GB / 2.481 GB, free: 116.1 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003831/5.834, allocations: 94 kB / 2.481 GB, free: 116 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 1.775/7.609, allocations: 430.3 MB / 2.901 GB, free: 148.4 MB / 0.6823 GB Notification: Performance of FrontEnd: time 1.903e-06/7.609, allocations: 0 / 2.901 GB, free: 148.4 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 5.15e-05/7.609, allocations: 19.81 kB / 2.901 GB, free: 148.4 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.00247/7.612, allocations: 1.074 MB / 2.902 GB, free: 147.9 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 4.734e-05/7.612, allocations: 11.56 kB / 2.902 GB, free: 147.9 MB / 0.6823 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.654e-05/7.612, allocations: 78 kB / 2.902 GB, free: 147.9 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001946/7.614, allocations: 282.3 kB / 2.903 GB, free: 147.9 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008584/7.615, allocations: 472.1 kB / 2.903 GB, free: 147.6 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.071e-05/7.615, allocations: 34.56 kB / 2.903 GB, free: 147.6 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.402e-05/7.615, allocations: 48.83 kB / 2.903 GB, free: 147.6 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000936/7.616, allocations: 0.5459 MB / 2.904 GB, free: 147.5 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.562e-05/7.616, allocations: 3.969 kB / 2.904 GB, free: 147.5 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.513e-05/7.616, allocations: 22.66 kB / 2.904 GB, free: 147.5 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.118e-05/7.616, allocations: 10.53 kB / 2.904 GB, free: 147.5 MB / 0.6823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009508/7.617, allocations: 471.2 kB / 2.904 GB, free: 147.5 MB / 0.6823 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.002705/7.619, allocations: 2.143 MB / 2.906 GB, free: 146.3 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001056/7.621, allocations: 419.7 kB / 2.907 GB, free: 146.2 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007094/7.621, allocations: 397 kB / 2.907 GB, free: 145.9 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007235/7.622, allocations: 294.2 kB / 2.907 GB, free: 145.8 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=37): time 3.527e-06/7.622, allocations: 0 / 2.907 GB, free: 145.8 MB / 0.6823 GB Notification: Performance of matching and sorting (n=37): time 0.002121/7.624, allocations: 0.7177 MB / 2.908 GB, free: 145.7 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.81e-05/7.624, allocations: 54.94 kB / 2.908 GB, free: 145.7 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006587/7.625, allocations: 432.7 kB / 2.909 GB, free: 145.6 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 5.429e-05/7.625, allocations: 42.73 kB / 2.909 GB, free: 145.5 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002055/7.625, allocations: 259.5 kB / 2.909 GB, free: 145.4 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001294/7.625, allocations: 124.3 kB / 2.909 GB, free: 145.4 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.246e-05/7.625, allocations: 11.22 kB / 2.909 GB, free: 145.4 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 0.0001447/7.625, allocations: 368.2 kB / 2.909 GB, free: 145 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000465/7.626, allocations: 201.1 kB / 2.909 GB, free: 145 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005737/7.627, allocations: 342.9 kB / 2.91 GB, free: 144.9 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005555/7.627, allocations: 297.7 kB / 2.91 GB, free: 144.8 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.121e-06/7.627, allocations: 0 / 2.91 GB, free: 144.8 MB / 0.6823 GB Notification: Performance of matching and sorting (n=55) (initialization): time 0.001222/7.628, allocations: 0.6544 MB / 2.911 GB, free: 144.7 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 5.664e-05/7.628, allocations: 66.22 kB / 2.911 GB, free: 144.7 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.919e-06/7.628, allocations: 2.469 kB / 2.911 GB, free: 144.7 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.781e-05/7.628, allocations: 6.156 kB / 2.911 GB, free: 144.7 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004936/7.629, allocations: 110.5 kB / 2.911 GB, free: 144.7 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.205e-05/7.629, allocations: 3.281 kB / 2.911 GB, free: 144.7 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006475/7.63, allocations: 101.2 kB / 2.911 GB, free: 144.6 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.04e-05/7.63, allocations: 23.22 kB / 2.911 GB, free: 144.6 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 () * 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.0002671/7.63, allocations: 194.4 kB / 2.911 GB, free: 144.5 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.5e-05/7.63, allocations: 52.5 kB / 2.911 GB, free: 144.5 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00123/7.631, allocations: 0.5582 MB / 2.912 GB, free: 144.4 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.073e-06/7.631, allocations: 3.531 kB / 2.912 GB, free: 144.4 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.207e-06/7.631, allocations: 2.5 kB / 2.912 GB, free: 144.4 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.676e-06/7.631, allocations: 0 / 2.912 GB, free: 144.4 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00232/7.634, allocations: 1.363 MB / 2.913 GB, free: 144 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.491e-06/7.634, allocations: 3.75 kB / 2.913 GB, free: 144 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004163/7.634, allocations: 83.62 kB / 2.913 GB, free: 144 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.034e-06/7.634, allocations: 3.531 kB / 2.913 GB, free: 144 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.82e-05/7.634, allocations: 17.56 kB / 2.913 GB, free: 144 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.959e-06/7.634, allocations: 3.875 kB / 2.913 GB, free: 144 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.362e-06/7.634, allocations: 10.06 kB / 2.913 GB, free: 144 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001612/7.636, allocations: 1.117 MB / 2.914 GB, free: 143.5 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002449/7.636, allocations: 168.9 kB / 2.915 GB, free: 143.4 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.974e-05/7.636, allocations: 19.34 kB / 2.915 GB, free: 143.4 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005601/7.637, allocations: 50.61 kB / 2.915 GB, free: 143.4 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000125/7.637, allocations: 49.48 kB / 2.915 GB, free: 143.4 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.989e-05/7.637, allocations: 16.19 kB / 2.915 GB, free: 143.4 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 0.0003767/7.637, allocations: 342.2 kB / 2.915 GB, free: 143.3 MB / 0.6823 GB Notification: Performance of sort global known variables: time 2.51e-07/7.637, allocations: 0 / 2.915 GB, free: 143.3 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.001111/7.638, allocations: 297.6 kB / 2.915 GB, free: 143.3 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) * 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.004111/7.643, allocations: 4.013 MB / 2.919 GB, free: 141 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.001188/7.644, allocations: 0.5974 MB / 2.92 GB, free: 140.8 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 4.689e-06/7.644, allocations: 0 / 2.92 GB, free: 140.8 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.0006307/7.644, allocations: 301.9 kB / 2.92 GB, free: 140.8 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001435/7.646, allocations: 269.1 kB / 2.92 GB, free: 140.8 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006026/7.652, allocations: 5.148 MB / 2.925 GB, free: 137.9 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003851/7.652, allocations: 0.879 MB / 2.926 GB, free: 137.2 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 0.00061/7.653, allocations: 124.5 kB / 2.926 GB, free: 137.2 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002696/7.653, allocations: 175 kB / 2.926 GB, free: 137.2 MB / 0.6823 GB Notification: Performance of SimCode: time 1.332e-06/7.653, allocations: 0 / 2.926 GB, free: 137.2 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06004/7.713, allocations: 37.13 MB / 2.963 GB, free: 135.9 MB / 0.6823 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001369/7.713, allocations: 203.9 kB / 2.963 GB, free: 135.7 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.554/11.27, allocations: 0 / 2.963 GB, free: 135.7 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)