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.001504/0.001504, allocations: 103.5 kB / 16.29 MB, free: 6.031 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.001693/0.001693, allocations: 187.3 kB / 17.22 MB, free: 5.633 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.462/1.462, allocations: 205.1 MB / 223.1 MB, free: 12.32 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.883/1.883, allocations: 292.3 MB / 0.5495 GB, free: 17.43 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.001456/0.001456, allocations: 67.89 kB / 0.6722 GB, free: 6.582 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2327/0.2341, allocations: 114.6 MB / 0.7841 GB, free: 3.914 MB / 0.6544 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Humidifiers.Validation.SteamHumidifier_X_dynamic): time 0.722/0.9562, allocations: 199 MB / 0.9784 GB, free: 3.48 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.006488/0.9627, allocations: 3.61 MB / 0.9819 GB, free: 15.87 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008298/0.9636, allocations: 28.47 kB / 0.9819 GB, free: 15.84 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 0.001346/0.965, allocations: 429.6 kB / 0.9824 GB, free: 15.42 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.003376/0.9684, allocations: 1.237 MB / 0.9836 GB, free: 14.18 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.002079/0.9705, allocations: 0.7354 MB / 0.9843 GB, free: 13.45 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 0.002107/0.9726, allocations: 1.36 MB / 0.9856 GB, free: 12.08 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007955/0.9734, allocations: 0.4977 MB / 0.9861 GB, free: 11.59 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00276/0.9762, allocations: 0.972 MB / 0.987 GB, free: 10.62 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0008409/0.977, allocations: 466.1 kB / 0.9875 GB, free: 10.16 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 0.0001778/0.9772, allocations: 48 kB / 0.9875 GB, free: 10.11 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002605/0.9798, allocations: 1.193 MB / 0.9887 GB, free: 8.918 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 0.0002601/0.9801, allocations: 199.3 kB / 0.9889 GB, free: 8.723 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 0.0004977/0.9806, allocations: 334.2 kB / 0.9892 GB, free: 8.395 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.00212/0.9827, allocations: 1.211 MB / 0.9904 GB, free: 7.18 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 4.558e-06/0.9827, allocations: 0 / 0.9904 GB, free: 7.18 MB / 0.7794 GB Notification: Performance of FrontEnd: time 1.453e-06/0.9828, allocations: 0 / 0.9904 GB, free: 7.18 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 9.999e-06/0.9828, allocations: 0 / 0.9904 GB, free: 7.18 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.00216/0.9849, allocations: 1.058 MB / 0.9914 GB, free: 6.07 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 4.606e-05/0.985, allocations: 12.03 kB / 0.9914 GB, free: 6.059 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001306/0.9863, allocations: 214.9 kB / 0.9916 GB, free: 5.848 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008741/0.9872, allocations: 0.5382 MB / 0.9922 GB, free: 5.266 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.227e-05/0.9872, allocations: 29 kB / 0.9922 GB, free: 5.238 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.647e-05/0.9873, allocations: 43.98 kB / 0.9922 GB, free: 5.195 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001102/0.9884, allocations: 0.5387 MB / 0.9928 GB, free: 4.641 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.764e-05/0.9885, allocations: 4 kB / 0.9928 GB, free: 4.637 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.837e-05/0.9885, allocations: 19.98 kB / 0.9928 GB, free: 4.617 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.246e-05/0.9886, allocations: 20.94 kB / 0.9928 GB, free: 4.594 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001174/0.9898, allocations: 0.5035 MB / 0.9933 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.003574/0.9933, allocations: 2.235 MB / 0.9955 GB, free: 1.668 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008021/0.9942, allocations: 364.5 kB / 0.9958 GB, free: 1.285 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002749/0.9944, allocations: 144.8 kB / 0.996 GB, free: 1.141 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001304/0.9958, allocations: 0.8415 MB / 0.9968 GB, free: 136 kB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003631/0.9961, allocations: 201.1 kB / 0.997 GB, free: 15.92 MB / 0.795 GB Notification: Performance of pre-optimization done (n=27): time 1.753e-06/0.9962, allocations: 0 / 0.997 GB, free: 15.92 MB / 0.795 GB Notification: Performance of matching and sorting (n=27): time 0.001118/0.9973, allocations: 449.4 kB / 0.9974 GB, free: 15.48 MB / 0.795 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.952e-05/0.9973, allocations: 89.09 kB / 0.9975 GB, free: 15.37 MB / 0.795 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009228/0.9983, allocations: 0.6525 MB / 0.9981 GB, free: 14.71 MB / 0.795 GB Notification: Performance of collectPreVariables (initialization): time 3.539e-05/0.9983, allocations: 29.7 kB / 0.9982 GB, free: 14.68 MB / 0.795 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002518/0.9986, allocations: 323.7 kB / 0.9985 GB, free: 14.36 MB / 0.795 GB Notification: Performance of collectInitialBindings (initialization): time 7.487e-05/0.9987, allocations: 90.66 kB / 0.9986 GB, free: 14.27 MB / 0.795 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001486/0.9988, allocations: 90.52 kB / 0.9986 GB, free: 14.18 MB / 0.795 GB Notification: Performance of setup shared object (initialization): time 0.0001654/0.999, allocations: 370.7 kB / 0.999 GB, free: 13.8 MB / 0.795 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004081/0.9994, allocations: 142.3 kB / 0.9991 GB, free: 13.66 MB / 0.795 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005221/0.9999, allocations: 294.2 kB / 0.9994 GB, free: 13.32 MB / 0.795 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006619/1.001, allocations: 391.4 kB / 0.9998 GB, free: 12.89 MB / 0.795 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.587e-06/1.001, allocations: 0 / 0.9998 GB, free: 12.89 MB / 0.795 GB Notification: Performance of matching and sorting (n=45) (initialization): time 0.001014/1.002, allocations: 496.5 kB / 1 GB, free: 12.4 MB / 0.795 GB Notification: Performance of prepare postOptimizeDAE: time 2.001e-05/1.002, allocations: 8 kB / 1 GB, free: 12.39 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.045e-05/1.002, allocations: 4 kB / 1 GB, free: 12.39 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.823e-05/1.002, allocations: 4 kB / 1 GB, free: 12.38 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000439/1.002, allocations: 92.02 kB / 1 GB, free: 12.29 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.134e-05/1.002, allocations: 7.938 kB / 1 GB, free: 12.29 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005816/1.003, allocations: 79.39 kB / 1 GB, free: 12.21 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.639e-05/1.003, allocations: 27.98 kB / 1 GB, free: 12.18 MB / 0.795 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0005637/1.003, allocations: 295.8 kB / 1.001 GB, free: 11.89 MB / 0.795 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0004657/1.004, allocations: 289.8 kB / 1.001 GB, free: 11.54 MB / 0.795 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0006478/1.005, allocations: 388.2 kB / 1.001 GB, free: 11.11 MB / 0.795 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.895e-06/1.005, allocations: 1.562 kB / 1.001 GB, free: 11.11 MB / 0.795 GB Notification: Performance of matching and sorting (n=45) (initialization_lambda0): time 0.0009943/1.006, allocations: 495 kB / 1.002 GB, free: 10.62 MB / 0.795 GB Notification: Performance of prepare postOptimizeDAE: time 1.359e-05/1.006, allocations: 8 kB / 1.002 GB, free: 10.62 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.13e-06/1.006, allocations: 6.062 kB / 1.002 GB, free: 10.61 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.402e-06/1.006, allocations: 4 kB / 1.002 GB, free: 10.61 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004021/1.006, allocations: 87.89 kB / 1.002 GB, free: 10.52 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.598e-06/1.006, allocations: 7.938 kB / 1.002 GB, free: 10.52 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006351/1.007, allocations: 71.77 kB / 1.002 GB, free: 10.45 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.187e-05/1.007, allocations: 19.98 kB / 1.002 GB, free: 10.43 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.0001785/1.007, allocations: 204.8 kB / 1.002 GB, free: 10.22 MB / 0.795 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.77e-05/1.007, allocations: 67.19 kB / 1.002 GB, free: 10.15 MB / 0.795 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006469/1.008, allocations: 327.7 kB / 1.003 GB, free: 9.82 MB / 0.795 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.041e-06/1.008, allocations: 4 kB / 1.003 GB, free: 9.816 MB / 0.795 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.771e-06/1.008, allocations: 0 / 1.003 GB, free: 9.816 MB / 0.795 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.387e-05/1.008, allocations: 3.984 kB / 1.003 GB, free: 9.812 MB / 0.795 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001666/1.009, allocations: 1.106 MB / 1.004 GB, free: 8.621 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.01e-06/1.009, allocations: 8.062 kB / 1.004 GB, free: 8.613 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000213/1.01, allocations: 42.36 kB / 1.004 GB, free: 8.574 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.275e-06/1.01, allocations: 4 kB / 1.004 GB, free: 8.57 MB / 0.795 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.548e-05/1.01, allocations: 11.94 kB / 1.004 GB, free: 8.559 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.368e-06/1.01, allocations: 11.92 kB / 1.004 GB, free: 8.547 MB / 0.795 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.078e-06/1.01, allocations: 3.938 kB / 1.004 GB, free: 8.543 MB / 0.795 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008564/1.011, allocations: 0.6094 MB / 1.004 GB, free: 7.887 MB / 0.795 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001861/1.011, allocations: 156.3 kB / 1.005 GB, free: 7.715 MB / 0.795 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.289e-05/1.011, allocations: 19.92 kB / 1.005 GB, free: 7.695 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003377/1.011, allocations: 19.92 kB / 1.005 GB, free: 7.676 MB / 0.795 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.953e-05/1.011, allocations: 19.98 kB / 1.005 GB, free: 7.656 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.339e-05/1.011, allocations: 8.062 kB / 1.005 GB, free: 7.648 MB / 0.795 GB Notification: Performance of sorting global known variables: time 0.0006809/1.012, allocations: 487 kB / 1.005 GB, free: 7.176 MB / 0.795 GB Notification: Performance of sort global known variables: time 2.41e-07/1.012, allocations: 0 / 1.005 GB, free: 7.176 MB / 0.795 GB Notification: Performance of remove unused functions: time 0.0009202/1.013, allocations: 271.6 kB / 1.005 GB, free: 6.91 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.001274/1.014, allocations: 0.5101 MB / 1.006 GB, free: 6.605 MB / 0.795 GB Notification: Performance of simCode: created initialization part: time 0.001232/1.015, allocations: 0.5286 MB / 1.006 GB, free: 6.078 MB / 0.795 GB Notification: Performance of simCode: created event and clocks part: time 4.058e-06/1.015, allocations: 0 / 1.006 GB, free: 6.078 MB / 0.795 GB Notification: Performance of simCode: created simulation system equations: time 0.0002291/1.016, allocations: 127.8 kB / 1.006 GB, free: 5.953 MB / 0.795 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00128/1.017, allocations: 294.8 kB / 1.007 GB, free: 5.699 MB / 0.795 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001967/1.019, allocations: 1.097 MB / 1.008 GB, free: 4.543 MB / 0.795 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005074/1.019, allocations: 0.89 MB / 1.009 GB, free: 3.625 MB / 0.795 GB Notification: Performance of simCode: alias equations: time 0.0005643/1.02, allocations: 171 kB / 1.009 GB, free: 3.465 MB / 0.795 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001297/1.02, allocations: 47.44 kB / 1.009 GB, free: 3.418 MB / 0.795 GB Notification: Performance of SimCode: time 7.82e-07/1.02, allocations: 0 / 1.009 GB, free: 3.418 MB / 0.795 GB Notification: Performance of Templates: time 0.01961/1.04, allocations: 10.69 MB / 1.019 GB, free: 8.93 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 -s cvode -lv LOG_STATS > Buildings_8_Buildings.Fluid.Humidifiers.Validation.SteamHumidifier_X_dynamic.pipe 2>&1)