Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_dev_IDEAS.Fluid.Sensors.Examples.MoistAirEnthalpyFlowRate.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) 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/Modelica 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) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/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 Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 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_dev_IDEAS.Fluid.Sensors.Examples.MoistAirEnthalpyFlowRate") translateModel(IDEAS.Fluid.Sensors.Examples.MoistAirEnthalpyFlowRate,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Fluid.Sensors.Examples.MoistAirEnthalpyFlowRate") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.000879/0.0008789, allocations: 92.16 kB / 16.02 MB, free: 80 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001002/0.001002, allocations: 173 kB / 16.92 MB, free: 6.652 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.388/1.388, allocations: 223.3 MB / 241 MB, free: 5.328 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9416/0.9416, allocations: 135.3 MB / 427.4 MB, free: 14.28 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003201/0.00032, allocations: 8 kB / 0.5082 GB, free: 4.781 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1569/0.1573, allocations: 82.3 MB / 0.5886 GB, free: 2.652 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Sensors.Examples.MoistAirEnthalpyFlowRate): time 0.5125/0.6699, allocations: 174.8 MB / 0.7594 GB, free: 12.62 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.009387/0.6793, allocations: 7.746 MB / 0.7669 GB, free: 5.934 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008486/0.6802, allocations: 15.88 kB / 0.7669 GB, free: 5.918 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.0007494/0.681, allocations: 190.8 kB / 0.7671 GB, free: 5.73 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.003457/0.6844, allocations: 1.136 MB / 0.7682 GB, free: 4.59 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.001957/0.6864, allocations: 0.6681 MB / 0.7689 GB, free: 3.926 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.001782/0.6882, allocations: 1.548 MB / 0.7704 GB, free: 2.375 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005265/0.6888, allocations: 335.2 kB / 0.7707 GB, free: 2.051 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002618/0.6914, allocations: 0.7687 MB / 0.7715 GB, free: 1.293 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007048/0.6921, allocations: 442.4 kB / 0.7719 GB, free: 0.8594 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 4.746e-05/0.6922, allocations: 27.94 kB / 0.7719 GB, free: 0.832 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002029/0.6942, allocations: 1.075 MB / 0.773 GB, free: 15.75 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 0.0001745/0.6944, allocations: 143.6 kB / 0.7731 GB, free: 15.61 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.0002945/0.6947, allocations: 260.4 kB / 0.7733 GB, free: 15.35 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.0009464/0.6956, allocations: 0.6548 MB / 0.774 GB, free: 14.7 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 4.529e-06/0.6956, allocations: 0 / 0.774 GB, free: 14.7 MB / 0.5919 GB Notification: Performance of FrontEnd: time 2.966e-06/0.6957, allocations: 0 / 0.774 GB, free: 14.7 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 7.374e-06/0.6957, allocations: 4 kB / 0.774 GB, free: 14.69 MB / 0.5919 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.001081/0.6968, allocations: 0.7207 MB / 0.7747 GB, free: 13.93 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 4.237e-05/0.6968, allocations: 12.03 kB / 0.7747 GB, free: 13.91 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009094/0.6977, allocations: 147.3 kB / 0.7748 GB, free: 13.77 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005124/0.6983, allocations: 383.4 kB / 0.7752 GB, free: 13.36 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.697e-05/0.6983, allocations: 25 kB / 0.7752 GB, free: 13.34 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.164e-05/0.6984, allocations: 40 kB / 0.7753 GB, free: 13.3 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007138/0.6991, allocations: 458.4 kB / 0.7757 GB, free: 12.82 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.344e-05/0.6991, allocations: 3.938 kB / 0.7757 GB, free: 12.82 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.561e-05/0.6991, allocations: 16 kB / 0.7757 GB, free: 12.8 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.858e-06/0.6992, allocations: 12 kB / 0.7757 GB, free: 12.79 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005931/0.6998, allocations: 331.7 kB / 0.7761 GB, free: 12.47 MB / 0.5919 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.002022/0.7018, allocations: 2.015 MB / 0.778 GB, free: 10.28 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004071/0.7022, allocations: 250.4 kB / 0.7783 GB, free: 10.02 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002628/0.7025, allocations: 154 kB / 0.7784 GB, free: 9.871 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006016/0.7031, allocations: 319.2 kB / 0.7787 GB, free: 9.504 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.46e-05/0.7031, allocations: 30.56 kB / 0.7787 GB, free: 9.465 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=24): time 1.924e-06/0.7031, allocations: 0 / 0.7787 GB, free: 9.465 MB / 0.5919 GB Notification: Performance of matching and sorting (n=24): time 0.001043/0.7042, allocations: 469.2 kB / 0.7792 GB, free: 9.004 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.667e-05/0.7043, allocations: 63.27 kB / 0.7792 GB, free: 8.93 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003945/0.7047, allocations: 397.9 kB / 0.7796 GB, free: 8.535 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 3.148e-05/0.7047, allocations: 37.7 kB / 0.7797 GB, free: 8.492 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001669/0.7049, allocations: 220.3 kB / 0.7799 GB, free: 8.273 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 7.421e-05/0.705, allocations: 90.73 kB / 0.78 GB, free: 8.184 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.731e-05/0.705, allocations: 29.7 kB / 0.78 GB, free: 8.148 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0001435/0.7052, allocations: 354.7 kB / 0.7803 GB, free: 7.793 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002234/0.7054, allocations: 115.9 kB / 0.7804 GB, free: 7.68 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000288/0.7057, allocations: 191.3 kB / 0.7806 GB, free: 7.469 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005358/0.7062, allocations: 322.2 kB / 0.7809 GB, free: 7.133 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.094e-06/0.7062, allocations: 0 / 0.7809 GB, free: 7.133 MB / 0.5919 GB Notification: Performance of matching and sorting (n=31) (initialization): time 0.000605/0.7069, allocations: 376.9 kB / 0.7813 GB, free: 6.758 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 2.209e-05/0.7069, allocations: 4 kB / 0.7813 GB, free: 6.754 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.065e-06/0.7069, allocations: 0 / 0.7813 GB, free: 6.754 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.572e-05/0.7069, allocations: 4 kB / 0.7813 GB, free: 6.75 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002778/0.7072, allocations: 67.91 kB / 0.7814 GB, free: 6.684 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.124e-05/0.7072, allocations: 7.984 kB / 0.7814 GB, free: 6.676 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002965/0.7075, allocations: 55.58 kB / 0.7814 GB, free: 6.621 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.647e-05/0.7076, allocations: 15.98 kB / 0.7814 GB, free: 6.605 MB / 0.5919 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001793/0.7078, allocations: 166.8 kB / 0.7816 GB, free: 6.434 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.261e-05/0.7078, allocations: 39.53 kB / 0.7816 GB, free: 6.395 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007034/0.7085, allocations: 384.2 kB / 0.782 GB, free: 6.012 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.617e-06/0.7085, allocations: 0 / 0.782 GB, free: 6.012 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.891e-06/0.7086, allocations: 0 / 0.782 GB, free: 6.012 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.927e-06/0.7086, allocations: 0 / 0.782 GB, free: 6.012 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00137/0.7099, allocations: 0.9489 MB / 0.7829 GB, free: 4.984 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.709e-06/0.71, allocations: 4 kB / 0.7829 GB, free: 4.98 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000234/0.7102, allocations: 51.84 kB / 0.783 GB, free: 4.93 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.39e-06/0.7102, allocations: 4 kB / 0.783 GB, free: 4.926 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.032e-05/0.7102, allocations: 8 kB / 0.783 GB, free: 4.918 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.172e-06/0.7102, allocations: 8 kB / 0.783 GB, free: 4.91 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.557e-06/0.7102, allocations: 4 kB / 0.783 GB, free: 4.906 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008936/0.7111, allocations: 0.6469 MB / 0.7836 GB, free: 4.223 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001512/0.7113, allocations: 148.6 kB / 0.7838 GB, free: 4.059 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.978e-05/0.7114, allocations: 8 kB / 0.7838 GB, free: 4.051 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002425/0.7116, allocations: 28.05 kB / 0.7838 GB, free: 4.023 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.38e-05/0.7117, allocations: 19.97 kB / 0.7838 GB, free: 4.004 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.635e-05/0.7117, allocations: 8 kB / 0.7838 GB, free: 3.996 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.0003017/0.712, allocations: 287.1 kB / 0.7841 GB, free: 3.723 MB / 0.5919 GB Notification: Performance of sort global known variables: time 2.224e-06/0.712, allocations: 0 / 0.7841 GB, free: 3.723 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.0004921/0.7125, allocations: 111.7 kB / 0.7842 GB, free: 3.613 MB / 0.5919 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0004285/0.713, allocations: 179.6 kB / 0.7844 GB, free: 3.438 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.0005849/0.7135, allocations: 307.8 kB / 0.7847 GB, free: 3.137 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 2.705e-06/0.7136, allocations: 0 / 0.7847 GB, free: 3.137 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.0002754/0.7138, allocations: 153.3 kB / 0.7848 GB, free: 2.988 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001151/0.715, allocations: 206.4 kB / 0.785 GB, free: 2.789 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001346/0.7164, allocations: 1.015 MB / 0.786 GB, free: 1.719 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003777/0.7167, allocations: 0.8313 MB / 0.7868 GB, free: 0.8594 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001117/0.7169, allocations: 43.42 kB / 0.7869 GB, free: 0.8164 MB / 0.5919 GB Notification: Performance of SimCode: time 5.01e-07/0.7169, allocations: 0 / 0.7869 GB, free: 0.8164 MB / 0.5919 GB Notification: Performance of Templates: time 0.01017/0.7271, allocations: 6.718 MB / 0.7934 GB, free: 10.19 MB / 0.6075 GB make -j1 -f IDEAS_dev_IDEAS.Fluid.Sensors.Examples.MoistAirEnthalpyFlowRate.makefile (rm -f IDEAS_dev_IDEAS.Fluid.Sensors.Examples.MoistAirEnthalpyFlowRate.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.Sensors.Examples.MoistAirEnthalpyFlowRate.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.Sensors.Examples.MoistAirEnthalpyFlowRate.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.Sensors.Examples.MoistAirEnthalpyFlowRate.sim & ./IDEAS_dev_IDEAS.Fluid.Sensors.Examples.MoistAirEnthalpyFlowRate -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Fluid.Sensors.Examples.MoistAirEnthalpyFlowRate.pipe 2>&1)