Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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(Buildings.Fluid.Humidifiers.Validation.SteamHumidifier_X_dynamic,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.Humidifiers.Validation.SteamHumidifier_X_dynamic") translateModel(Buildings.Fluid.Humidifiers.Validation.SteamHumidifier_X_dynamic,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.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.001528/0.001528, allocations: 106.6 kB / 16.27 MB, free: 5.988 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.001761/0.001761, allocations: 192.3 kB / 17.2 MB, free: 5.613 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.481/1.481, allocations: 205.1 MB / 223.1 MB, free: 12.3 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.772/1.772, allocations: 292.3 MB / 0.5495 GB, free: 17.61 MB / 462.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001437/0.001437, allocations: 67.59 kB / 0.6721 GB, free: 6.547 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.249/0.2504, allocations: 114.5 MB / 0.784 GB, free: 3.879 MB / 0.6544 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Humidifiers.Validation.SteamHumidifier_X_dynamic): time 0.6985/0.949, allocations: 199 MB / 0.9783 GB, free: 3.449 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.006617/0.9556, allocations: 3.606 MB / 0.9819 GB, free: 15.84 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008935/0.9566, allocations: 35.81 kB / 0.9819 GB, free: 15.81 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 0.001198/0.9578, allocations: 429.6 kB / 0.9823 GB, free: 15.39 MB / 0.7794 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/Utilities/Strings.mo:139:3-175:14:writable] Warning: Pure function 'Modelica.Utilities.Strings.isEmpty' contains a call to impure function 'Modelica.Utilities.Strings.Advanced.skipWhiteSpace'. Notification: Performance of NFTyping.typeBindings: time 0.003416/0.9613, allocations: 1.237 MB / 0.9835 GB, free: 14.14 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.002033/0.9633, allocations: 0.7297 MB / 0.9842 GB, free: 13.42 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 0.001994/0.9653, allocations: 1.356 MB / 0.9856 GB, free: 12.06 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007762/0.9661, allocations: 0.5025 MB / 0.986 GB, free: 11.56 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002803/0.9689, allocations: 0.9672 MB / 0.987 GB, free: 10.59 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0008474/0.9698, allocations: 458.2 kB / 0.9874 GB, free: 10.14 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 7.592e-05/0.9699, allocations: 50.34 kB / 0.9875 GB, free: 10.1 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002399/0.9723, allocations: 1.185 MB / 0.9886 GB, free: 8.91 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 0.0002551/0.9726, allocations: 203.3 kB / 0.9888 GB, free: 8.711 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 0.0004742/0.973, allocations: 330.2 kB / 0.9891 GB, free: 8.387 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.002268/0.9753, allocations: 1.2 MB / 0.9903 GB, free: 7.184 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 5.72e-06/0.9753, allocations: 0 / 0.9903 GB, free: 7.184 MB / 0.7794 GB Notification: Performance of FrontEnd: time 1.783e-06/0.9753, allocations: 0 / 0.9903 GB, free: 7.184 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 1.537e-05/0.9754, allocations: 0 / 0.9903 GB, free: 7.184 MB / 0.7794 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.002205/0.9776, allocations: 1.062 MB / 0.9914 GB, free: 6.07 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 4.402e-05/0.9776, allocations: 12.03 kB / 0.9914 GB, free: 6.059 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001291/0.9789, allocations: 214.9 kB / 0.9916 GB, free: 5.848 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008231/0.9798, allocations: 0.5459 MB / 0.9921 GB, free: 5.258 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.447e-05/0.9798, allocations: 33.5 kB / 0.9921 GB, free: 5.227 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.971e-05/0.9799, allocations: 40 kB / 0.9922 GB, free: 5.188 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001052/0.981, allocations: 0.5388 MB / 0.9927 GB, free: 4.633 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.281e-05/0.981, allocations: 0 / 0.9927 GB, free: 4.633 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.8e-05/0.981, allocations: 16 kB / 0.9927 GB, free: 4.617 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.219e-05/0.9811, allocations: 20.94 kB / 0.9927 GB, free: 4.594 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001146/0.9822, allocations: 0.5036 MB / 0.9932 GB, free: 4.09 MB / 0.7794 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.00341/0.9857, allocations: 2.253 MB / 0.9954 GB, free: 1.652 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007913/0.9865, allocations: 365.3 kB / 0.9958 GB, free: 1.27 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002207/0.9867, allocations: 144.8 kB / 0.9959 GB, free: 1.125 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001324/0.988, allocations: 0.8459 MB / 0.9967 GB, free: 116 kB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000349/0.9884, allocations: 204.1 kB / 0.9969 GB, free: 15.9 MB / 0.795 GB Notification: Performance of pre-optimization done (n=27): time 1.934e-06/0.9884, allocations: 0 / 0.9969 GB, free: 15.9 MB / 0.795 GB Notification: Performance of matching and sorting (n=27): time 0.001078/0.9895, allocations: 457.4 kB / 0.9974 GB, free: 15.45 MB / 0.795 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.123e-05/0.9896, allocations: 81.11 kB / 0.9974 GB, free: 15.35 MB / 0.795 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008851/0.9904, allocations: 0.6525 MB / 0.9981 GB, free: 14.69 MB / 0.795 GB Notification: Performance of collectPreVariables (initialization): time 3.693e-05/0.9905, allocations: 35.58 kB / 0.9981 GB, free: 14.65 MB / 0.795 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002492/0.9907, allocations: 319.8 kB / 0.9984 GB, free: 14.34 MB / 0.795 GB Notification: Performance of collectInitialBindings (initialization): time 8.557e-05/0.9908, allocations: 94.64 kB / 0.9985 GB, free: 14.24 MB / 0.795 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001401/0.991, allocations: 85.97 kB / 0.9986 GB, free: 14.15 MB / 0.795 GB Notification: Performance of setup shared object (initialization): time 0.0001714/0.9912, allocations: 370.8 kB / 0.9989 GB, free: 13.78 MB / 0.795 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003586/0.9915, allocations: 146.3 kB / 0.9991 GB, free: 13.64 MB / 0.795 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004725/0.992, allocations: 290.2 kB / 0.9994 GB, free: 13.29 MB / 0.795 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000657/0.9927, allocations: 383.7 kB / 0.9997 GB, free: 12.87 MB / 0.795 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.896e-06/0.9927, allocations: 0 / 0.9997 GB, free: 12.87 MB / 0.795 GB Notification: Performance of matching and sorting (n=45) (initialization): time 0.001002/0.9937, allocations: 486.9 kB / 1 GB, free: 12.39 MB / 0.795 GB Notification: Performance of prepare postOptimizeDAE: time 1.812e-05/0.9937, allocations: 8.438 kB / 1 GB, free: 12.38 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.737e-06/0.9937, allocations: 8 kB / 1 GB, free: 12.37 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.064e-05/0.9938, allocations: 8 kB / 1 GB, free: 12.36 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004091/0.9942, allocations: 87.88 kB / 1 GB, free: 12.28 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.238e-05/0.9942, allocations: 11.94 kB / 1 GB, free: 12.27 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005913/0.9948, allocations: 83.39 kB / 1 GB, free: 12.18 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.949e-05/0.9949, allocations: 16 kB / 1 GB, free: 12.17 MB / 0.795 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0005061/0.9954, allocations: 303.8 kB / 1.001 GB, free: 11.87 MB / 0.795 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0004575/0.9958, allocations: 289.8 kB / 1.001 GB, free: 11.52 MB / 0.795 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0006251/0.9965, allocations: 388.2 kB / 1.001 GB, free: 11.09 MB / 0.795 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.385e-06/0.9965, allocations: 6.062 kB / 1.001 GB, free: 11.09 MB / 0.795 GB Notification: Performance of matching and sorting (n=45) (initialization_lambda0): time 0.00101/0.9975, allocations: 486.9 kB / 1.002 GB, free: 10.61 MB / 0.795 GB Notification: Performance of prepare postOptimizeDAE: time 1.124e-05/0.9975, allocations: 4 kB / 1.002 GB, free: 10.61 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.751e-06/0.9975, allocations: 4 kB / 1.002 GB, free: 10.6 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.828e-06/0.9976, allocations: 11.98 kB / 1.002 GB, free: 10.59 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003871/0.9979, allocations: 92.05 kB / 1.002 GB, free: 10.5 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.477e-06/0.998, allocations: 8 kB / 1.002 GB, free: 10.49 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005674/0.9985, allocations: 72.89 kB / 1.002 GB, free: 10.42 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.416e-05/0.9986, allocations: 16 kB / 1.002 GB, free: 10.41 MB / 0.795 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 17 * 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 (45): * Single equations (assignments): 45 * 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.0001805/0.9988, allocations: 211.1 kB / 1.002 GB, free: 10.2 MB / 0.795 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.655e-05/0.9989, allocations: 65.06 kB / 1.002 GB, free: 10.13 MB / 0.795 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006238/0.9995, allocations: 331.7 kB / 1.003 GB, free: 9.797 MB / 0.795 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.118e-06/0.9995, allocations: 4 kB / 1.003 GB, free: 9.793 MB / 0.795 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.735e-06/0.9995, allocations: 4 kB / 1.003 GB, free: 9.789 MB / 0.795 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.709e-06/0.9995, allocations: 0 / 1.003 GB, free: 9.789 MB / 0.795 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001544/1.001, allocations: 1.103 MB / 1.004 GB, free: 8.598 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.947e-06/1.001, allocations: 4 kB / 1.004 GB, free: 8.594 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002103/1.001, allocations: 35.98 kB / 1.004 GB, free: 8.559 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.133e-06/1.001, allocations: 7.938 kB / 1.004 GB, free: 8.551 MB / 0.795 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.386e-05/1.001, allocations: 8 kB / 1.004 GB, free: 8.543 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.245e-06/1.001, allocations: 10 kB / 1.004 GB, free: 8.535 MB / 0.795 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.586e-06/1.001, allocations: 8 kB / 1.004 GB, free: 8.527 MB / 0.795 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008319/1.002, allocations: 0.6095 MB / 1.004 GB, free: 7.871 MB / 0.795 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001769/1.002, allocations: 164.3 kB / 1.004 GB, free: 7.691 MB / 0.795 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.848e-05/1.003, allocations: 7.938 kB / 1.005 GB, free: 7.684 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003232/1.003, allocations: 24.05 kB / 1.005 GB, free: 7.66 MB / 0.795 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.382e-05/1.003, allocations: 23.91 kB / 1.005 GB, free: 7.637 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.305e-05/1.003, allocations: 12 kB / 1.005 GB, free: 7.625 MB / 0.795 GB Notification: Performance of sorting global known variables: time 0.0006209/1.004, allocations: 479 kB / 1.005 GB, free: 7.16 MB / 0.795 GB Notification: Performance of sort global known variables: time 2.6e-07/1.004, allocations: 0 / 1.005 GB, free: 7.16 MB / 0.795 GB Notification: Performance of remove unused functions: time 0.000892/1.004, allocations: 271.6 kB / 1.005 GB, free: 6.895 MB / 0.795 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 11 * Number of states: 1 (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 (26): * Single equations (assignments): 24 * 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.001194/1.006, allocations: 0.5205 MB / 1.006 GB, free: 6.582 MB / 0.795 GB Notification: Performance of simCode: created initialization part: time 0.001252/1.007, allocations: 0.5234 MB / 1.006 GB, free: 6.059 MB / 0.795 GB Notification: Performance of simCode: created event and clocks part: time 4.027e-06/1.007, allocations: 0.9375 kB / 1.006 GB, free: 6.059 MB / 0.795 GB Notification: Performance of simCode: created simulation system equations: time 0.0002299/1.007, allocations: 136.1 kB / 1.006 GB, free: 5.926 MB / 0.795 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001382/1.009, allocations: 290.6 kB / 1.007 GB, free: 5.672 MB / 0.795 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00204/1.011, allocations: 1.151 MB / 1.008 GB, free: 4.457 MB / 0.795 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004738/1.011, allocations: 0.8939 MB / 1.009 GB, free: 3.535 MB / 0.795 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001749/1.011, allocations: 55.42 kB / 1.009 GB, free: 3.48 MB / 0.795 GB Notification: Performance of SimCode: time 1.072e-06/1.011, allocations: 0 / 1.009 GB, free: 3.48 MB / 0.795 GB Notification: Performance of Templates: time 0.01548/1.027, allocations: 10.01 MB / 1.019 GB, free: 9.656 MB / 0.8106 GB make -j1 -f Buildings_8_Buildings.Fluid.Humidifiers.Validation.SteamHumidifier_X_dynamic.makefile (rm -f Buildings_8_Buildings.Fluid.Humidifiers.Validation.SteamHumidifier_X_dynamic.pipe ; mkfifo Buildings_8_Buildings.Fluid.Humidifiers.Validation.SteamHumidifier_X_dynamic.pipe ; head -c 1048576 < Buildings_8_Buildings.Fluid.Humidifiers.Validation.SteamHumidifier_X_dynamic.pipe >> ../files/Buildings_8_Buildings.Fluid.Humidifiers.Validation.SteamHumidifier_X_dynamic.sim & ./Buildings_8_Buildings.Fluid.Humidifiers.Validation.SteamHumidifier_X_dynamic -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Fluid.Humidifiers.Validation.SteamHumidifier_X_dynamic.pipe 2>&1)