Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.Fluid.Humidifiers.Validation.SteamHumidifier_X_dynamic.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/NcDataReader2 2.5.1-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-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(BuildingSystems.Fluid.Humidifiers.Validation.SteamHumidifier_X_dynamic,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.Humidifiers.Validation.SteamHumidifier_X_dynamic") translateModel(BuildingSystems.Fluid.Humidifiers.Validation.SteamHumidifier_X_dynamic,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.Humidifiers.Validation.SteamHumidifier_X_dynamic") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009588/0.0009588, allocations: 91.14 kB / 15.36 MB, free: 0.7344 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.004531/0.004531, allocations: 170.5 kB / 16.26 MB, free: 6.68 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.283/1.283, allocations: 223.3 MB / 240.3 MB, free: 5.344 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001796/0.001796, allocations: 262.9 kB / 291.7 MB, free: 1.879 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9172/0.9172, allocations: 169.5 MB / 0.5004 GB, free: 14.12 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0004315/0.0004315, allocations: 10.19 kB / 0.5986 GB, free: 28.05 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1791/0.1795, allocations: 88.55 MB / 0.6851 GB, free: 15.05 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Humidifiers.Validation.SteamHumidifier_X_dynamic): time 0.5145/0.6941, allocations: 194.2 MB / 0.8747 GB, free: 10.16 MB / 0.5919 GB Notification: Performance of NFInst.instExpressions: time 0.00607/0.7002, allocations: 3.734 MB / 0.8784 GB, free: 7.18 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004932/0.7007, allocations: 22.69 kB / 0.8784 GB, free: 7.168 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 0.0009986/0.7017, allocations: 372.9 kB / 0.8788 GB, free: 6.898 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.002569/0.7043, allocations: 1.167 MB / 0.8799 GB, free: 6.027 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.001577/0.7059, allocations: 0.6636 MB / 0.8805 GB, free: 5.551 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.001721/0.7076, allocations: 1.843 MB / 0.8823 GB, free: 4.539 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005795/0.7082, allocations: 429.7 kB / 0.8827 GB, free: 4.289 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002161/0.7104, allocations: 0.8901 MB / 0.8836 GB, free: 3.766 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005505/0.711, allocations: 460 kB / 0.8841 GB, free: 3.523 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 5.228e-05/0.711, allocations: 20.03 kB / 0.8841 GB, free: 3.523 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001957/0.713, allocations: 1.317 MB / 0.8854 GB, free: 2.762 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 0.0001829/0.7132, allocations: 183.5 kB / 0.8855 GB, free: 2.625 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.0003072/0.7135, allocations: 331.9 kB / 0.8859 GB, free: 2.293 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.001478/0.715, allocations: 1.215 MB / 0.887 GB, free: 1.074 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 3.797e-06/0.715, allocations: 0 / 0.887 GB, free: 1.074 MB / 0.5919 GB Notification: Performance of FrontEnd: time 1.342e-06/0.715, allocations: 0 / 0.887 GB, free: 1.074 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 7.775e-06/0.715, allocations: 0 / 0.887 GB, free: 1.074 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: 98 * Number of variables: 98 Notification: Performance of Generate backend data structure: time 0.001918/0.7169, allocations: 0.9318 MB / 0.8879 GB, free: 96 kB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 3.773e-05/0.717, allocations: 12.03 kB / 0.888 GB, free: 84 kB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001326/0.7183, allocations: 231 kB / 0.8882 GB, free: 15.86 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007387/0.7191, allocations: 0.5459 MB / 0.8887 GB, free: 15.27 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.219e-05/0.7191, allocations: 29 kB / 0.8887 GB, free: 15.24 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.597e-05/0.7192, allocations: 40 kB / 0.8888 GB, free: 15.2 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001021/0.7202, allocations: 0.5513 MB / 0.8893 GB, free: 14.63 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.32e-05/0.7202, allocations: 3.938 kB / 0.8893 GB, free: 14.63 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.715e-05/0.7203, allocations: 16 kB / 0.8893 GB, free: 14.61 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.802e-05/0.7203, allocations: 17 kB / 0.8894 GB, free: 14.6 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001126/0.7215, allocations: 0.5114 MB / 0.8899 GB, free: 14.09 MB / 0.6075 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.003085/0.7246, allocations: 2.241 MB / 0.892 GB, free: 11.67 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006672/0.7252, allocations: 355.9 kB / 0.8924 GB, free: 11.3 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000238/0.7255, allocations: 145.5 kB / 0.8925 GB, free: 11.15 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001414/0.7269, allocations: 0.8689 MB / 0.8934 GB, free: 10.12 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003163/0.7272, allocations: 198.6 kB / 0.8936 GB, free: 9.906 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=28): time 2.455e-06/0.7273, allocations: 0 / 0.8936 GB, free: 9.906 MB / 0.6075 GB Notification: Performance of matching and sorting (n=28): time 0.0009556/0.7282, allocations: 460.5 kB / 0.894 GB, free: 9.449 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.364e-05/0.7283, allocations: 81.11 kB / 0.8941 GB, free: 9.352 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008541/0.7292, allocations: 0.6602 MB / 0.8947 GB, free: 8.68 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 3.35e-05/0.7292, allocations: 33.7 kB / 0.8948 GB, free: 8.641 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002395/0.7294, allocations: 319.8 kB / 0.8951 GB, free: 8.324 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 7.591e-05/0.7295, allocations: 90.66 kB / 0.8951 GB, free: 8.234 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.38e-05/0.7296, allocations: 37.7 kB / 0.8952 GB, free: 8.191 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001571/0.7298, allocations: 374.8 kB / 0.8955 GB, free: 7.816 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003705/0.7301, allocations: 140.7 kB / 0.8957 GB, free: 7.68 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004568/0.7306, allocations: 298.2 kB / 0.896 GB, free: 7.328 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006649/0.7313, allocations: 412.6 kB / 0.8963 GB, free: 6.875 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.446e-06/0.7313, allocations: 0 / 0.8963 GB, free: 6.875 MB / 0.6075 GB Notification: Performance of matching and sorting (n=47) (initialization): time 0.000999/0.7323, allocations: 0.4927 MB / 0.8968 GB, free: 6.375 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001201/0.7324, allocations: 207.7 kB / 0.897 GB, free: 6.113 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.889e-06/0.7324, allocations: 4 kB / 0.897 GB, free: 6.109 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.69e-05/0.7325, allocations: 7.938 kB / 0.897 GB, free: 6.102 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004275/0.7329, allocations: 95.88 kB / 0.8971 GB, free: 6.008 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.191e-05/0.7329, allocations: 7.938 kB / 0.8971 GB, free: 6 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006241/0.7336, allocations: 87.48 kB / 0.8972 GB, free: 5.914 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.224e-05/0.7336, allocations: 28.05 kB / 0.8972 GB, free: 5.887 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 6.272e-06/0.7336, allocations: 4 kB / 0.8973 GB, free: 5.883 MB / 0.6075 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0008961/0.7345, allocations: 407.4 kB / 0.8976 GB, free: 5.484 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.573e-06/0.7345, allocations: 7.938 kB / 0.8976 GB, free: 5.477 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.787e-06/0.7346, allocations: 8.469 kB / 0.8977 GB, free: 5.469 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004074/0.735, allocations: 95.83 kB / 0.8977 GB, free: 5.375 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.898e-06/0.735, allocations: 11.98 kB / 0.8978 GB, free: 5.363 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005008/0.7355, allocations: 71.56 kB / 0.8978 GB, free: 5.293 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.61e-05/0.7355, allocations: 23.98 kB / 0.8979 GB, free: 5.27 MB / 0.6075 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 18 * Number of states: 0 () * Number of discrete variables: 5 ($PRE.XSet.nextTimeEvent,$whenCondition1,XSet.nextTimeEventScaled,$PRE.XSet.nextTimeEventScaled,XSet.nextTimeEvent) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (47): * Single equations (assignments): 47 * 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.0002642/0.7358, allocations: 285.6 kB / 0.8981 GB, free: 4.98 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.609e-05/0.7359, allocations: 63.19 kB / 0.8982 GB, free: 4.918 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006282/0.7365, allocations: 333.5 kB / 0.8985 GB, free: 4.574 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.62e-06/0.7365, allocations: 4 kB / 0.8985 GB, free: 4.57 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.739e-06/0.7365, allocations: 0 / 0.8985 GB, free: 4.57 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.703e-06/0.7366, allocations: 3.984 kB / 0.8985 GB, free: 4.566 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001461/0.738, allocations: 1.115 MB / 0.8996 GB, free: 3.363 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.419e-06/0.738, allocations: 4 kB / 0.8996 GB, free: 3.359 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002272/0.7383, allocations: 39.92 kB / 0.8996 GB, free: 3.32 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.312e-06/0.7383, allocations: 7.984 kB / 0.8996 GB, free: 3.312 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.499e-05/0.7383, allocations: 12.31 kB / 0.8997 GB, free: 3.301 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.629e-06/0.7383, allocations: 4 kB / 0.8997 GB, free: 3.297 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.398e-06/0.7383, allocations: 7.938 kB / 0.8997 GB, free: 3.289 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008072/0.7392, allocations: 0.6217 MB / 0.9003 GB, free: 2.625 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00019/0.7394, allocations: 172.2 kB / 0.9004 GB, free: 2.438 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.601e-05/0.7394, allocations: 11.94 kB / 0.9005 GB, free: 2.426 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000376/0.7398, allocations: 35.88 kB / 0.9005 GB, free: 2.391 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.994e-05/0.7399, allocations: 23.92 kB / 0.9005 GB, free: 2.367 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.46e-05/0.7399, allocations: 19.92 kB / 0.9005 GB, free: 2.348 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.000629/0.7406, allocations: 475 kB / 0.901 GB, free: 1.887 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.71e-07/0.7406, allocations: 0 / 0.901 GB, free: 1.887 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0008433/0.7414, allocations: 271.6 kB / 0.9012 GB, free: 1.621 MB / 0.6075 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 11 * Number of states: 2 (hum.outCon.T,hum.outCon.Xi) * Number of discrete variables: 3 ($whenCondition1,XSet.nextTimeEvent,XSet.nextTimeEventScaled) * Number of discrete states: 2 (XSet.nextTimeEvent,XSet.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (27): * Single equations (assignments): 25 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.001152/0.7426, allocations: 0.5057 MB / 0.9017 GB, free: 1.277 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.001168/0.7437, allocations: 0.535 MB / 0.9023 GB, free: 0.7461 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 3.977e-06/0.7438, allocations: 4 kB / 0.9023 GB, free: 0.7422 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.000219/0.744, allocations: 135.8 kB / 0.9024 GB, free: 0.6094 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001552/0.7456, allocations: 267.4 kB / 0.9026 GB, free: 364 kB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001955/0.7475, allocations: 1.42 MB / 0.904 GB, free: 14.88 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004353/0.748, allocations: 0.8981 MB / 0.9049 GB, free: 13.95 MB / 0.6231 GB Notification: Performance of simCode: alias equations: time 0.0006646/0.7486, allocations: 164.9 kB / 0.9051 GB, free: 13.79 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001245/0.7488, allocations: 43.44 kB / 0.9051 GB, free: 13.75 MB / 0.6231 GB Notification: Performance of SimCode: time 3.7e-07/0.7488, allocations: 0 / 0.9051 GB, free: 13.75 MB / 0.6231 GB Notification: Performance of Templates: time 0.01738/0.7662, allocations: 10.23 MB / 0.9151 GB, free: 3.676 MB / 0.6231 GB make -j1 -f BuildingSystems_BuildingSystems.Fluid.Humidifiers.Validation.SteamHumidifier_X_dynamic.makefile (rm -f BuildingSystems_BuildingSystems.Fluid.Humidifiers.Validation.SteamHumidifier_X_dynamic.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.Humidifiers.Validation.SteamHumidifier_X_dynamic.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.Humidifiers.Validation.SteamHumidifier_X_dynamic.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.Humidifiers.Validation.SteamHumidifier_X_dynamic.sim & ./BuildingSystems_BuildingSystems.Fluid.Humidifiers.Validation.SteamHumidifier_X_dynamic -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Fluid.Humidifiers.Validation.SteamHumidifier_X_dynamic.pipe 2>&1)