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.002304/0.002304, allocations: 175.2 kB / 12.73 MB, free: 2.59 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.7816/0.7816, allocations: 133.4 MB / 146.7 MB, free: 10.79 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.622/1.622, allocations: 221.3 MB / 400.4 MB, free: 5.758 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.0008676/0.000868, allocations: 87.97 kB / 483.3 MB, free: 5.797 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 3.768e-05/3.787e-05, allocations: 4.25 kB / 0.5601 GB, free: 87.75 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1571/0.1572, allocations: 82.31 MB / 0.6405 GB, free: 7.68 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 4.273/4.431, allocations: 1.876 GB / 2.516 GB, free: 19.62 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002734/4.431, allocations: 80.89 kB / 2.516 GB, free: 19.59 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 1.885/6.316, allocations: 442.4 MB / 2.948 GB, free: 120.5 MB / 0.6823 GB Notification: Performance of FrontEnd: time 1.623e-06/6.316, allocations: 0 / 2.948 GB, free: 120.5 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 5.008e-05/6.316, allocations: 16 kB / 2.948 GB, free: 120.5 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.001902/6.318, allocations: 0.8487 MB / 2.949 GB, free: 119.6 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 4.91e-05/6.318, allocations: 12.03 kB / 2.949 GB, free: 119.6 MB / 0.6823 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001431/6.318, allocations: 78.52 kB / 2.949 GB, free: 119.5 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001061/6.32, allocations: 142.1 kB / 2.95 GB, free: 119.3 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001591/6.321, allocations: 0.6901 MB / 2.95 GB, free: 118.6 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.16e-05/6.321, allocations: 28.78 kB / 2.95 GB, free: 118.6 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.796e-05/6.321, allocations: 44 kB / 2.95 GB, free: 118.5 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000664/6.322, allocations: 423.1 kB / 2.951 GB, free: 118.1 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.554e-05/6.322, allocations: 4 kB / 2.951 GB, free: 118.1 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.274e-05/6.322, allocations: 16 kB / 2.951 GB, free: 118.1 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.909e-06/6.322, allocations: 8 kB / 2.951 GB, free: 118.1 MB / 0.6823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004559/6.323, allocations: 279 kB / 2.951 GB, free: 117.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.002043/6.325, allocations: 1.987 MB / 2.953 GB, free: 115.6 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002687/6.325, allocations: 210.7 kB / 2.953 GB, free: 115.4 MB / 0.6823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001503/6.325, allocations: 128.8 kB / 2.953 GB, free: 115.3 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004736/6.326, allocations: 295.3 kB / 2.954 GB, free: 114.9 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.985e-05/6.326, allocations: 38.97 kB / 2.954 GB, free: 114.9 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=24): time 1.693e-06/6.326, allocations: 0 / 2.954 GB, free: 114.9 MB / 0.6823 GB Notification: Performance of matching and sorting (n=24): time 0.0006837/6.326, allocations: 297.9 kB / 2.954 GB, free: 114.6 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.167e-05/6.326, allocations: 59.34 kB / 2.954 GB, free: 114.5 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003186/6.327, allocations: 343.2 kB / 2.954 GB, free: 114.2 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 2.778e-05/6.327, allocations: 29.7 kB / 2.954 GB, free: 114.2 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001142/6.327, allocations: 228 kB / 2.954 GB, free: 113.9 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 7.937e-05/6.327, allocations: 86.83 kB / 2.955 GB, free: 113.8 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.58e-05/6.327, allocations: 4 kB / 2.955 GB, free: 113.8 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 8.71e-05/6.327, allocations: 350.8 kB / 2.955 GB, free: 113.5 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001279/6.327, allocations: 87.97 kB / 2.955 GB, free: 113.4 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001811/6.327, allocations: 178.3 kB / 2.955 GB, free: 113.2 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001712/6.327, allocations: 113.2 kB / 2.955 GB, free: 113.1 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.835e-06/6.327, allocations: 4 kB / 2.955 GB, free: 113.1 MB / 0.6823 GB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0004277/6.328, allocations: 323.7 kB / 2.956 GB, free: 112.8 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 1.653e-05/6.328, allocations: 12.03 kB / 2.956 GB, free: 112.7 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.346e-06/6.328, allocations: 0 / 2.956 GB, free: 112.7 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.434e-05/6.328, allocations: 4 kB / 2.956 GB, free: 112.7 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002689/6.328, allocations: 63.91 kB / 2.956 GB, free: 112.7 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.036e-05/6.328, allocations: 4 kB / 2.956 GB, free: 112.7 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003406/6.329, allocations: 51.66 kB / 2.956 GB, free: 112.6 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.55e-05/6.329, allocations: 16 kB / 2.956 GB, free: 112.6 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 () * 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 8.783e-05/6.329, allocations: 120.9 kB / 2.956 GB, free: 112.5 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.234e-05/6.329, allocations: 43.48 kB / 2.956 GB, free: 112.4 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004846/6.329, allocations: 328.1 kB / 2.956 GB, free: 112.1 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.1e-06/6.329, allocations: 0 / 2.956 GB, free: 112.1 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.207e-06/6.329, allocations: 8 kB / 2.956 GB, free: 112.1 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.52e-06/6.329, allocations: 3.984 kB / 2.956 GB, free: 112.1 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001091/6.33, allocations: 0.8676 MB / 2.957 GB, free: 111.2 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.977e-06/6.331, allocations: 4 kB / 2.957 GB, free: 111.2 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002414/6.331, allocations: 47.97 kB / 2.957 GB, free: 111.1 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.58e-06/6.331, allocations: 0 / 2.957 GB, free: 111.1 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.255e-05/6.331, allocations: 12 kB / 2.957 GB, free: 111.1 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.809e-06/6.331, allocations: 7.922 kB / 2.957 GB, free: 111.1 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.234e-06/6.331, allocations: 4 kB / 2.957 GB, free: 111.1 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000644/6.331, allocations: 0.6333 MB / 2.958 GB, free: 110.4 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001711/6.332, allocations: 144.5 kB / 2.958 GB, free: 110.2 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.557e-05/6.332, allocations: 8 kB / 2.958 GB, free: 110.2 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002727/6.332, allocations: 28.05 kB / 2.958 GB, free: 110.2 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.286e-05/6.332, allocations: 27.83 kB / 2.958 GB, free: 110.2 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.545e-05/6.332, allocations: 8 kB / 2.958 GB, free: 110.1 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 0.000232/6.332, allocations: 277.2 kB / 2.958 GB, free: 109.9 MB / 0.6823 GB Notification: Performance of sort global known variables: time 1.31e-07/6.332, allocations: 0 / 2.958 GB, free: 109.9 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.001015/6.333, allocations: 247.9 kB / 2.958 GB, free: 109.6 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 () * 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.003014/6.336, allocations: 3.087 MB / 2.961 GB, free: 106.4 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.0003862/6.337, allocations: 232.6 kB / 2.962 GB, free: 106.2 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 2.896e-06/6.337, allocations: 0 / 2.962 GB, free: 106.2 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.000165/6.337, allocations: 124.7 kB / 2.962 GB, free: 106.1 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009538/6.338, allocations: 203.4 kB / 2.962 GB, free: 105.9 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001335/6.339, allocations: 0.7228 MB / 2.963 GB, free: 105.1 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002658/6.34, allocations: 0.8353 MB / 2.963 GB, free: 104.2 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 0.0003387/6.34, allocations: 91.36 kB / 2.964 GB, free: 104.1 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001752/6.34, allocations: 139.4 kB / 2.964 GB, free: 104 MB / 0.6823 GB Notification: Performance of SimCode: time 5.01e-07/6.34, allocations: 4 kB / 2.964 GB, free: 104 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05888/6.399, allocations: 38.54 MB / 3.001 GB, free: 65.64 MB / 0.6823 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001607/6.399, allocations: 188.7 kB / 3.002 GB, free: 65.41 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.524/9.923, allocations: 0 / 3.002 GB, free: 65.41 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)