Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_IDEAS.Fluid.Sensors.Examples.MoistAirEnthalpyFlowRate.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.MoistAirEnthalpyFlowRate,fileNamePrefix="IDEAS_IDEAS_Fluid_Sensors_Examples_MoistAirEnthalpyFlowRate",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.Sensors.Examples.MoistAirEnthalpyFlowRate,fileNamePrefix="IDEAS_IDEAS_Fluid_Sensors_Examples_MoistAirEnthalpyFlowRate",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.009871/0.009872, allocations: 171.4 kB / 15.12 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.8358/0.8358, allocations: 135.2 MB / 151 MB, free: 13.83 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.535/1.535, allocations: 223.2 MB / 406.8 MB, free: 3.25 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.0009839/0.0009842, allocations: 96.33 kB / 489.9 MB, free: 10.88 MB / 362.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004082/0.000408, allocations: 12 kB / 0.5692 GB, free: 14.04 MB / 458.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4531/0.4535, allocations: 82.29 MB / 0.6495 GB, free: 36.11 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 4.468/4.921, allocations: 1.876 GB / 2.525 GB, free: 61.97 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000242/4.921, allocations: 90.02 kB / 2.525 GB, free: 61.92 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 1.682/6.604, allocations: 442.8 MB / 2.958 GB, free: 152.3 MB / 0.6823 GB Notification: Performance of FrontEnd: time 1.403e-06/6.604, allocations: 2.062 kB / 2.958 GB, free: 152.3 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 5.404e-05/6.604, allocations: 18.22 kB / 2.958 GB, free: 152.3 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: 93 * Number of variables: 93 Notification: Performance of Generate backend data structure: time 0.002342/6.606, allocations: 0.9088 MB / 2.959 GB, free: 151.7 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 5.616e-05/6.606, allocations: 15.47 kB / 2.959 GB, free: 151.7 MB / 0.6823 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002044/6.607, allocations: 77.89 kB / 2.959 GB, free: 151.6 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00109/6.608, allocations: 153.1 kB / 2.959 GB, free: 151.5 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001817/6.609, allocations: 0.6849 MB / 2.96 GB, free: 151.1 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.168e-05/6.609, allocations: 32.66 kB / 2.96 GB, free: 151.1 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.05e-05/6.61, allocations: 39.56 kB / 2.96 GB, free: 151.1 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007215/6.61, allocations: 442.2 kB / 2.96 GB, free: 150.8 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.772e-05/6.61, allocations: 3.812 kB / 2.96 GB, free: 150.8 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.439e-05/6.61, allocations: 21.17 kB / 2.96 GB, free: 150.8 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.826e-05/6.61, allocations: 8.906 kB / 2.96 GB, free: 150.8 MB / 0.6823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006158/6.611, allocations: 323.4 kB / 2.961 GB, free: 150.6 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.002229/6.613, allocations: 2 MB / 2.963 GB, free: 148.8 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003789/6.614, allocations: 226.2 kB / 2.963 GB, free: 148.7 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005215/6.614, allocations: 298.5 kB / 2.963 GB, free: 148.4 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.792e-05/6.614, allocations: 46.36 kB / 2.963 GB, free: 148.3 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=24): time 3.046e-06/6.614, allocations: 0 / 2.963 GB, free: 148.3 MB / 0.6823 GB Notification: Performance of matching and sorting (n=24): time 0.001025/6.615, allocations: 433.1 kB / 2.963 GB, free: 148.1 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.371e-05/6.615, allocations: 55.22 kB / 2.964 GB, free: 148.1 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003604/6.616, allocations: 347 kB / 2.964 GB, free: 147.9 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 3.103e-05/6.616, allocations: 29.7 kB / 2.964 GB, free: 147.8 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001355/6.616, allocations: 235.8 kB / 2.964 GB, free: 147.6 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 6.686e-05/6.616, allocations: 85.06 kB / 2.964 GB, free: 147.5 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.255e-05/6.616, allocations: 4 kB / 2.964 GB, free: 147.5 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 8.667e-05/6.616, allocations: 354.8 kB / 2.965 GB, free: 147.2 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001948/6.616, allocations: 103.9 kB / 2.965 GB, free: 147.1 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002513/6.617, allocations: 209.8 kB / 2.965 GB, free: 146.8 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002229/6.617, allocations: 124.4 kB / 2.965 GB, free: 146.7 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.988e-06/6.617, allocations: 4 kB / 2.965 GB, free: 146.7 MB / 0.6823 GB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0005591/6.617, allocations: 361.5 kB / 2.965 GB, free: 146.4 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 1.877e-05/6.617, allocations: 4 kB / 2.965 GB, free: 146.4 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.164e-06/6.617, allocations: 4 kB / 2.965 GB, free: 146.3 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.278e-05/6.617, allocations: 7.953 kB / 2.965 GB, free: 146.3 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002647/6.618, allocations: 62.75 kB / 2.965 GB, free: 146.3 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.959e-06/6.618, allocations: 4 kB / 2.965 GB, free: 146.3 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003292/6.618, allocations: 58.5 kB / 2.965 GB, free: 146.2 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.516e-05/6.618, allocations: 12 kB / 2.965 GB, free: 146.2 MB / 0.6823 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 8 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (31): * Single equations (assignments): 31 * Array equations: 0 * Algorithm blocks: 0 * 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.0001707/6.618, allocations: 171.8 kB / 2.966 GB, free: 146 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.387e-05/6.618, allocations: 43.52 kB / 2.966 GB, free: 146 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006289/6.619, allocations: 357 kB / 2.966 GB, free: 145.7 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.34e-06/6.619, allocations: 3.953 kB / 2.966 GB, free: 145.6 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.701e-06/6.619, allocations: 7.938 kB / 2.966 GB, free: 145.6 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.5e-06/6.619, allocations: 0 / 2.966 GB, free: 145.6 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001342/6.62, allocations: 0.9099 MB / 2.967 GB, free: 144.7 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.421e-06/6.62, allocations: 4 kB / 2.967 GB, free: 144.7 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002566/6.621, allocations: 50.78 kB / 2.967 GB, free: 144.6 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.573e-06/6.621, allocations: 4 kB / 2.967 GB, free: 144.6 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.181e-05/6.621, allocations: 8 kB / 2.967 GB, free: 144.6 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.099e-06/6.621, allocations: 4 kB / 2.967 GB, free: 144.6 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.342e-06/6.621, allocations: 11.92 kB / 2.967 GB, free: 144.6 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008425/6.622, allocations: 0.6899 MB / 2.968 GB, free: 143.8 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001944/6.622, allocations: 140 kB / 2.968 GB, free: 143.7 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.727e-05/6.622, allocations: 11.19 kB / 2.968 GB, free: 143.7 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002796/6.622, allocations: 26.92 kB / 2.968 GB, free: 143.6 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.132e-05/6.622, allocations: 33.33 kB / 2.968 GB, free: 143.6 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.609e-05/6.622, allocations: 4 kB / 2.968 GB, free: 143.6 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 0.000275/6.623, allocations: 279.1 kB / 2.968 GB, free: 143.3 MB / 0.6823 GB Notification: Performance of sort global known variables: time 1.4e-07/6.623, allocations: 2.656 kB / 2.968 GB, free: 143.3 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.001087/6.624, allocations: 258.8 kB / 2.968 GB, free: 143.1 MB / 0.6823 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * Number of states: 1 (senH.h_out) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (24): * Single equations (assignments): 24 * Array equations: 0 * Algorithm blocks: 0 * 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 Backend phase and start with SimCode phase: time 0.003557/6.627, allocations: 3.12 MB / 2.971 GB, free: 140.3 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.0005643/6.628, allocations: 289.2 kB / 2.972 GB, free: 140 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 4.619e-06/6.628, allocations: 0 / 2.972 GB, free: 140 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.0002337/6.628, allocations: 145 kB / 2.972 GB, free: 139.9 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001012/6.629, allocations: 214.8 kB / 2.972 GB, free: 139.7 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003826/6.633, allocations: 3.461 MB / 2.975 GB, free: 136.2 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003196/6.633, allocations: 0.8458 MB / 2.976 GB, free: 135.3 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 0.0004015/6.634, allocations: 93.94 kB / 2.976 GB, free: 135.2 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001888/6.634, allocations: 135.4 kB / 2.976 GB, free: 135.1 MB / 0.6823 GB Notification: Performance of SimCode: time 1.643e-06/6.634, allocations: 0 / 2.976 GB, free: 135.1 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05404/6.688, allocations: 34.42 MB / 3.01 GB, free: 101.3 MB / 0.6823 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002071/6.688, allocations: 212.7 kB / 3.01 GB, free: 101.1 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.282/9.97, allocations: 11.88 kB / 3.01 GB, free: 101.1 MB / 0.6823 GB (rm -f IDEAS_IDEAS.Fluid.Sensors.Examples.MoistAirEnthalpyFlowRate.pipe ; mkfifo IDEAS_IDEAS.Fluid.Sensors.Examples.MoistAirEnthalpyFlowRate.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.Sensors.Examples.MoistAirEnthalpyFlowRate.pipe >> ../files/IDEAS_IDEAS.Fluid.Sensors.Examples.MoistAirEnthalpyFlowRate.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_Fluid_Sensors_Examples_MoistAirEnthalpyFlowRate_fmu --startTime=0 --stopTime=60 --timeout=50 --tolerance=1e-06 IDEAS_IDEAS_Fluid_Sensors_Examples_MoistAirEnthalpyFlowRate.fmu > IDEAS_IDEAS.Fluid.Sensors.Examples.MoistAirEnthalpyFlowRate.pipe 2>&1)