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/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/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: translateModel(IDEAS.Fluid.Sensors.Examples.MoistAirEnthalpyFlowRate,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Fluid.Sensors.Examples.MoistAirEnthalpyFlowRate") translateModel(IDEAS.Fluid.Sensors.Examples.MoistAirEnthalpyFlowRate,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Fluid.Sensors.Examples.MoistAirEnthalpyFlowRate") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001495/0.001495, allocations: 174.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/package.mo): time 0.7511/0.7511, allocations: 130.6 MB / 143.8 MB, free: 13.57 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.603/1.603, allocations: 221.3 MB / 396.8 MB, free: 9.172 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.0009795/0.0009801, allocations: 105 kB / 479 MB, free: 10.38 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 3.632e-05/3.634e-05, allocations: 4.125 kB / 0.5551 GB, free: 86.07 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1617/0.1618, allocations: 81.59 MB / 0.6347 GB, free: 12.02 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 4.374/4.536, allocations: 1.876 GB / 2.51 GB, free: 82.37 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000239/4.536, allocations: 89.97 kB / 2.51 GB, free: 82.29 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 2.052/6.588, allocations: 442.4 MB / 2.942 GB, free: 152.9 MB / 0.6823 GB Notification: Performance of FrontEnd: time 1.393e-06/6.588, allocations: 0 / 2.942 GB, free: 152.9 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 4.141e-05/6.588, allocations: 15.08 kB / 2.942 GB, free: 152.9 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.001974/6.59, allocations: 0.8477 MB / 2.943 GB, free: 152.3 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 5.737e-05/6.59, allocations: 7.938 kB / 2.943 GB, free: 152.3 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000962/6.591, allocations: 150.7 kB / 2.943 GB, free: 152.3 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001545/6.593, allocations: 0.682 MB / 2.944 GB, free: 152.1 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.246e-05/6.593, allocations: 27.94 kB / 2.944 GB, free: 152.1 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.992e-05/6.593, allocations: 43.31 kB / 2.944 GB, free: 152.1 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006643/6.594, allocations: 418.2 kB / 2.945 GB, free: 152 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.491e-05/6.594, allocations: 0 / 2.945 GB, free: 152 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.005e-05/6.594, allocations: 16.53 kB / 2.945 GB, free: 152 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.496e-05/6.594, allocations: 16.75 kB / 2.945 GB, free: 152 MB / 0.6823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004337/6.594, allocations: 272.7 kB / 2.945 GB, free: 152 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.001947/6.596, allocations: 1.998 MB / 2.947 GB, free: 150.7 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002841/6.596, allocations: 205.6 kB / 2.947 GB, free: 150.6 MB / 0.6823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001938/6.597, allocations: 122.2 kB / 2.947 GB, free: 150.6 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005028/6.597, allocations: 305.3 kB / 2.947 GB, free: 150.4 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.854e-05/6.597, allocations: 34.86 kB / 2.947 GB, free: 150.3 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=24): time 3.577e-06/6.597, allocations: 3.875 kB / 2.947 GB, free: 150.3 MB / 0.6823 GB Notification: Performance of matching and sorting (n=24): time 0.0006234/6.598, allocations: 296.6 kB / 2.948 GB, free: 150.2 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.053e-05/6.598, allocations: 54.5 kB / 2.948 GB, free: 150.2 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003398/6.598, allocations: 346.3 kB / 2.948 GB, free: 150.1 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 2.565e-05/6.598, allocations: 28.77 kB / 2.948 GB, free: 150 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001443/6.598, allocations: 229.3 kB / 2.948 GB, free: 149.9 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 6.828e-05/6.598, allocations: 81.61 kB / 2.948 GB, free: 149.9 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.363e-05/6.598, allocations: 9.969 kB / 2.948 GB, free: 149.9 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 0.0001019/6.599, allocations: 349.2 kB / 2.949 GB, free: 149.6 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001296/6.599, allocations: 86.78 kB / 2.949 GB, free: 149.6 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002067/6.599, allocations: 184.2 kB / 2.949 GB, free: 149.5 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001708/6.599, allocations: 112.9 kB / 2.949 GB, free: 149.5 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.204e-06/6.599, allocations: 0 / 2.949 GB, free: 149.5 MB / 0.6823 GB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0004441/6.6, allocations: 323.5 kB / 2.949 GB, free: 149.4 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 2.126e-05/6.6, allocations: 11.16 kB / 2.95 GB, free: 149.4 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.223e-06/6.6, allocations: 0 / 2.95 GB, free: 149.4 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.117e-05/6.6, allocations: 7.891 kB / 2.95 GB, free: 149.4 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002688/6.6, allocations: 61.73 kB / 2.95 GB, free: 149.4 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.251e-05/6.6, allocations: 5.281 kB / 2.95 GB, free: 149.4 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003217/6.6, allocations: 61.67 kB / 2.95 GB, free: 149.4 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.566e-05/6.6, allocations: 15.97 kB / 2.95 GB, free: 149.4 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.665e-05/6.6, allocations: 118.3 kB / 2.95 GB, free: 149.3 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.077e-05/6.6, allocations: 40.28 kB / 2.95 GB, free: 149.3 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000546/6.601, allocations: 329.2 kB / 2.95 GB, free: 149.2 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.771e-06/6.601, allocations: 3.953 kB / 2.95 GB, free: 149.2 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.572e-06/6.601, allocations: 2.281 kB / 2.95 GB, free: 149.2 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.877e-06/6.601, allocations: 0 / 2.95 GB, free: 149.2 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001106/6.602, allocations: 0.8813 MB / 2.951 GB, free: 148.9 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.845e-06/6.602, allocations: 3.781 kB / 2.951 GB, free: 148.9 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002434/6.602, allocations: 57.5 kB / 2.951 GB, free: 148.9 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.031e-06/6.602, allocations: 2.938 kB / 2.951 GB, free: 148.9 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.136e-05/6.602, allocations: 3.969 kB / 2.951 GB, free: 148.9 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.098e-06/6.602, allocations: 3.938 kB / 2.951 GB, free: 148.9 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.274e-06/6.602, allocations: 0 / 2.951 GB, free: 148.9 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007232/6.603, allocations: 0.6348 MB / 2.952 GB, free: 148.5 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001603/6.603, allocations: 142.5 kB / 2.952 GB, free: 148.4 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.024e-05/6.603, allocations: 6.094 kB / 2.952 GB, free: 148.4 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002607/6.604, allocations: 28.72 kB / 2.952 GB, free: 148.4 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.556e-05/6.604, allocations: 28.14 kB / 2.952 GB, free: 148.4 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.884e-05/6.604, allocations: 11.66 kB / 2.952 GB, free: 148.4 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 0.0002957/6.604, allocations: 276.3 kB / 2.952 GB, free: 148.3 MB / 0.6823 GB Notification: Performance of sort global known variables: time 3.81e-07/6.604, allocations: 0 / 2.952 GB, free: 148.3 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.001396/6.605, allocations: 251.4 kB / 2.952 GB, free: 148.3 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.002539/6.608, allocations: 1.519 MB / 2.954 GB, free: 147.9 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.0004802/6.609, allocations: 241.4 kB / 2.954 GB, free: 147.9 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 3.557e-06/6.609, allocations: 2.125 kB / 2.954 GB, free: 147.9 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.0001798/6.609, allocations: 123.2 kB / 2.954 GB, free: 147.9 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001001/6.61, allocations: 208.4 kB / 2.954 GB, free: 147.9 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001151/6.611, allocations: 0.5892 MB / 2.955 GB, free: 147.6 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003296/6.611, allocations: 0.8376 MB / 2.956 GB, free: 146.9 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 0.0003216/6.612, allocations: 95.44 kB / 2.956 GB, free: 146.9 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.12e-05/6.612, allocations: 34.81 kB / 2.956 GB, free: 146.9 MB / 0.6823 GB Notification: Performance of SimCode: time 6.11e-07/6.612, allocations: 0 / 2.956 GB, free: 146.9 MB / 0.6823 GB Notification: Performance of Templates: time 0.04057/6.652, allocations: 29.34 MB / 2.985 GB, free: 134.2 MB / 0.6823 GB make -j1 -f IDEAS_IDEAS.Fluid.Sensors.Examples.MoistAirEnthalpyFlowRate.makefile (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 & ./IDEAS_IDEAS.Fluid.Sensors.Examples.MoistAirEnthalpyFlowRate -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_IDEAS.Fluid.Sensors.Examples.MoistAirEnthalpyFlowRate.pipe 2>&1)