Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_3.0.0_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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.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(Buildings.Fluid.Humidifiers.Validation.SteamHumidifier_X_dynamic,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_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_3.0.0_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.001105/0.001105, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.001351/0.00135, allocations: 194.7 kB / 16.14 MB, free: 6.656 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.417/1.417, allocations: 222.9 MB / 239.8 MB, free: 4.598 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.852/2.852, allocations: 472.6 MB / 0.7447 GB, free: 4.992 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001298/0.001298, allocations: 73.73 kB / 0.9113 GB, free: 33.64 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3663/0.3676, allocations: 159.9 MB / 1.068 GB, free: 10.95 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Humidifiers.Validation.SteamHumidifier_X_dynamic): time 1.031/1.398, allocations: 196.8 MB / 1.26 GB, free: 5.473 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.009145/1.408, allocations: 3.788 MB / 1.263 GB, free: 5.422 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001378/1.409, allocations: 22.12 kB / 1.263 GB, free: 5.422 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.001632/1.411, allocations: 376.1 kB / 1.264 GB, free: 5.414 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.004453/1.415, allocations: 1.175 MB / 1.265 GB, free: 5.355 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.002925/1.418, allocations: 0.6536 MB / 1.266 GB, free: 5.336 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.003534/1.422, allocations: 1.847 MB / 1.267 GB, free: 5.332 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001055/1.423, allocations: 439.1 kB / 1.268 GB, free: 5.301 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003804/1.427, allocations: 0.8959 MB / 1.269 GB, free: 5.281 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001241/1.428, allocations: 484.7 kB / 1.269 GB, free: 5.277 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 9.001e-05/1.428, allocations: 24.69 kB / 1.269 GB, free: 5.277 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003501/1.432, allocations: 1.32 MB / 1.27 GB, free: 5.266 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.0003038/1.432, allocations: 185.4 kB / 1.271 GB, free: 5.266 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.0005233/1.432, allocations: 307.1 kB / 1.271 GB, free: 5.266 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.002732/1.435, allocations: 1.237 MB / 1.272 GB, free: 5.184 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 5.179e-06/1.435, allocations: 0 / 1.272 GB, free: 5.184 MB / 0.9981 GB Notification: Performance of FrontEnd: time 8.71e-07/1.435, allocations: 7.938 kB / 1.272 GB, free: 5.176 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 1.043e-05/1.435, allocations: 1.5 kB / 1.272 GB, free: 5.176 MB / 0.9981 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.003016/1.438, allocations: 1.056 MB / 1.273 GB, free: 20.52 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 4.107e-05/1.438, allocations: 8.875 kB / 1.273 GB, free: 20.52 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001377/1.44, allocations: 218.5 kB / 1.273 GB, free: 20.48 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008001/1.44, allocations: 0.5382 MB / 1.274 GB, free: 20.2 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.62e-05/1.441, allocations: 30.5 kB / 1.274 GB, free: 20.2 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.561e-05/1.441, allocations: 42.91 kB / 1.274 GB, free: 20.2 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001282/1.442, allocations: 0.5423 MB / 1.274 GB, free: 20.12 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.842e-05/1.442, allocations: 3.766 kB / 1.274 GB, free: 20.12 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.403e-05/1.442, allocations: 17.92 kB / 1.274 GB, free: 20.12 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.935e-05/1.442, allocations: 20.77 kB / 1.275 GB, free: 20.12 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001338/1.443, allocations: 0.4956 MB / 1.275 GB, free: 20.11 MB / 1.014 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.003344/1.447, allocations: 2.222 MB / 1.277 GB, free: 18.89 MB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007499/1.447, allocations: 368.1 kB / 1.278 GB, free: 18.76 MB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002705/1.448, allocations: 147.9 kB / 1.278 GB, free: 18.75 MB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001533/1.449, allocations: 0.8399 MB / 1.278 GB, free: 17.9 MB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004086/1.45, allocations: 200.5 kB / 1.279 GB, free: 17.84 MB / 1.014 GB Notification: Performance of pre-optimization done (n=28): time 2.745e-06/1.45, allocations: 4 kB / 1.279 GB, free: 17.84 MB / 1.014 GB Notification: Performance of matching and sorting (n=28): time 0.001261/1.451, allocations: 456.2 kB / 1.279 GB, free: 17.77 MB / 1.014 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.025e-05/1.451, allocations: 81.56 kB / 1.279 GB, free: 17.68 MB / 1.014 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001093/1.452, allocations: 0.6566 MB / 1.28 GB, free: 17.54 MB / 1.014 GB Notification: Performance of collectPreVariables (initialization): time 4.606e-05/1.452, allocations: 31.61 kB / 1.28 GB, free: 17.51 MB / 1.014 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002806/1.453, allocations: 319.7 kB / 1.28 GB, free: 17.37 MB / 1.014 GB Notification: Performance of collectInitialBindings (initialization): time 9.471e-05/1.453, allocations: 97.92 kB / 1.28 GB, free: 17.31 MB / 1.014 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002081/1.453, allocations: 86.02 kB / 1.28 GB, free: 17.29 MB / 1.014 GB Notification: Performance of setup shared object (initialization): time 0.0002069/1.453, allocations: 369.7 kB / 1.281 GB, free: 16.98 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004629/1.454, allocations: 151 kB / 1.281 GB, free: 16.97 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005738/1.454, allocations: 292.7 kB / 1.281 GB, free: 16.79 MB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007989/1.455, allocations: 416.1 kB / 1.282 GB, free: 16.64 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.12e-06/1.455, allocations: 1.188 kB / 1.282 GB, free: 16.64 MB / 1.014 GB Notification: Performance of matching and sorting (n=47) (initialization): time 0.0012/1.456, allocations: 0.4896 MB / 1.282 GB, free: 16.57 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 2.182e-05/1.456, allocations: 7.062 kB / 1.282 GB, free: 16.57 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.079e-05/1.456, allocations: 3.406 kB / 1.282 GB, free: 16.57 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.08e-05/1.456, allocations: 6.844 kB / 1.282 GB, free: 16.57 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004914/1.457, allocations: 92.44 kB / 1.282 GB, free: 16.57 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.775e-05/1.457, allocations: 11.33 kB / 1.282 GB, free: 16.57 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007387/1.457, allocations: 89.03 kB / 1.282 GB, free: 16.54 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.822e-05/1.458, allocations: 20.97 kB / 1.282 GB, free: 16.54 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0006333/1.458, allocations: 304.7 kB / 1.282 GB, free: 16.45 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0004677/1.459, allocations: 308.8 kB / 1.283 GB, free: 16.27 MB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0006343/1.459, allocations: 395.9 kB / 1.283 GB, free: 16.12 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.905e-06/1.459, allocations: 1.281 kB / 1.283 GB, free: 16.12 MB / 1.014 GB Notification: Performance of matching and sorting (n=47) (initialization_lambda0): time 0.001137/1.46, allocations: 0.4939 MB / 1.284 GB, free: 16.05 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 1.241e-05/1.46, allocations: 7.625 kB / 1.284 GB, free: 16.05 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.042e-06/1.46, allocations: 4.281 kB / 1.284 GB, free: 16.05 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.186e-06/1.461, allocations: 6.359 kB / 1.284 GB, free: 16.05 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004312/1.461, allocations: 91.39 kB / 1.284 GB, free: 16.05 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.153e-05/1.461, allocations: 15.75 kB / 1.284 GB, free: 16.05 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006907/1.462, allocations: 77.61 kB / 1.284 GB, free: 16.03 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.502e-05/1.462, allocations: 20.33 kB / 1.284 GB, free: 16.03 MB / 1.014 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.000216/1.462, allocations: 209.5 kB / 1.284 GB, free: 15.84 MB / 1.014 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.916e-05/1.462, allocations: 61.06 kB / 1.284 GB, free: 15.81 MB / 1.014 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000705/1.463, allocations: 336.5 kB / 1.284 GB, free: 15.75 MB / 1.014 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.272e-06/1.463, allocations: 8.312 kB / 1.284 GB, free: 15.74 MB / 1.014 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.192e-06/1.463, allocations: 0 / 1.284 GB, free: 15.74 MB / 1.014 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.384e-06/1.463, allocations: 4.047 kB / 1.284 GB, free: 15.74 MB / 1.014 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001768/1.465, allocations: 1.118 MB / 1.286 GB, free: 15.27 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.969e-06/1.465, allocations: 2.281 kB / 1.286 GB, free: 15.27 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002384/1.465, allocations: 41.77 kB / 1.286 GB, free: 15.27 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.242e-06/1.465, allocations: 2.625 kB / 1.286 GB, free: 15.27 MB / 1.014 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.9e-05/1.465, allocations: 9.656 kB / 1.286 GB, free: 15.27 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.454e-06/1.465, allocations: 4.812 kB / 1.286 GB, free: 15.27 MB / 1.014 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.869e-06/1.465, allocations: 9.781 kB / 1.286 GB, free: 15.27 MB / 1.014 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000915/1.466, allocations: 0.631 MB / 1.286 GB, free: 15 MB / 1.014 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001984/1.466, allocations: 162.8 kB / 1.286 GB, free: 14.88 MB / 1.014 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.793e-05/1.466, allocations: 10.05 kB / 1.286 GB, free: 14.88 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003818/1.467, allocations: 30.31 kB / 1.286 GB, free: 14.87 MB / 1.014 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.053e-05/1.467, allocations: 27.19 kB / 1.286 GB, free: 14.87 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.868e-05/1.467, allocations: 10.11 kB / 1.286 GB, free: 14.87 MB / 1.014 GB Notification: Performance of sorting global known variables: time 0.0007437/1.467, allocations: 478.3 kB / 1.287 GB, free: 14.77 MB / 1.014 GB Notification: Performance of sort global known variables: time 1.5e-07/1.467, allocations: 0 / 1.287 GB, free: 14.77 MB / 1.014 GB Notification: Performance of remove unused functions: time 0.001093/1.468, allocations: 276.5 kB / 1.287 GB, free: 14.74 MB / 1.014 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.001272/1.47, allocations: 0.5166 MB / 1.288 GB, free: 14.55 MB / 1.014 GB Notification: Performance of simCode: created initialization part: time 0.001381/1.471, allocations: 0.5254 MB / 1.288 GB, free: 14.54 MB / 1.014 GB Notification: Performance of simCode: created event and clocks part: time 3.196e-06/1.471, allocations: 0 / 1.288 GB, free: 14.54 MB / 1.014 GB Notification: Performance of simCode: created simulation system equations: time 0.0002834/1.471, allocations: 138.7 kB / 1.288 GB, free: 14.54 MB / 1.014 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001471/1.473, allocations: 267 kB / 1.289 GB, free: 14.52 MB / 1.014 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002003/1.475, allocations: 1.351 MB / 1.29 GB, free: 13.75 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005154/1.475, allocations: 0.8982 MB / 1.291 GB, free: 13.04 MB / 1.014 GB Notification: Performance of simCode: alias equations: time 0.0007653/1.476, allocations: 167.6 kB / 1.291 GB, free: 13 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001376/1.476, allocations: 46.38 kB / 1.291 GB, free: 12.99 MB / 1.014 GB Notification: Performance of SimCode: time 7.01e-07/1.476, allocations: 0 / 1.291 GB, free: 12.99 MB / 1.014 GB Notification: Performance of Templates: time 0.02136/1.498, allocations: 10.27 MB / 1.301 GB, free: 12.32 MB / 1.014 GB make -j1 -f Buildings_3.0.0_Buildings.Fluid.Humidifiers.Validation.SteamHumidifier_X_dynamic.makefile (rm -f Buildings_3.0.0_Buildings.Fluid.Humidifiers.Validation.SteamHumidifier_X_dynamic.pipe ; mkfifo Buildings_3.0.0_Buildings.Fluid.Humidifiers.Validation.SteamHumidifier_X_dynamic.pipe ; head -c 1048576 < Buildings_3.0.0_Buildings.Fluid.Humidifiers.Validation.SteamHumidifier_X_dynamic.pipe >> ../files/Buildings_3.0.0_Buildings.Fluid.Humidifiers.Validation.SteamHumidifier_X_dynamic.sim & ./Buildings_3.0.0_Buildings.Fluid.Humidifiers.Validation.SteamHumidifier_X_dynamic -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_3.0.0_Buildings.Fluid.Humidifiers.Validation.SteamHumidifier_X_dynamic.pipe 2>&1)