Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Fluid.Humidifiers.Examples.Humidifier_u.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) 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) Running command: translateModel(Buildings.Fluid.Humidifiers.Examples.Humidifier_u,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.Humidifiers.Examples.Humidifier_u") translateModel(Buildings.Fluid.Humidifiers.Examples.Humidifier_u,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.Humidifiers.Examples.Humidifier_u") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.71/1.71, allocations: 292.3 MB / 308.1 MB, free: 4.312 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001214/0.001214, allocations: 184.5 kB / 376.9 MB, free: 1.82 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.593/1.593, allocations: 205 MB / 0.6354 GB, free: 9.805 MB / 474.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009568/0.0009567, allocations: 99.06 kB / 0.748 GB, free: 61.29 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.001139/0.001139, allocations: 56.16 kB / 0.8703 GB, free: 13.12 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2192/0.2204, allocations: 114.5 MB / 0.9822 GB, free: 10.41 MB / 0.7136 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Humidifiers.Examples.Humidifier_u): time 0.6517/0.8721, allocations: 253.7 MB / 1.23 GB, free: 14.46 MB / 0.823 GB Notification: Performance of NFInst.instExpressions: time 0.02469/0.8968, allocations: 9.643 MB / 1.239 GB, free: 7.641 MB / 0.823 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00408/0.9009, allocations: 74.06 kB / 1.239 GB, free: 7.609 MB / 0.823 GB Notification: Performance of NFTyping.typeComponents: time 0.004143/0.9051, allocations: 0.8087 MB / 1.24 GB, free: 7.172 MB / 0.823 GB Notification: Performance of NFTyping.typeBindings: time 0.01137/0.9166, allocations: 2.485 MB / 1.243 GB, free: 5.793 MB / 0.823 GB Notification: Performance of NFTyping.typeClassSections: time 0.009716/0.9263, allocations: 1.933 MB / 1.245 GB, free: 4.734 MB / 0.823 GB Notification: Performance of NFFlatten.flatten: time 0.01181/0.9381, allocations: 5.462 MB / 1.25 GB, free: 2.719 MB / 0.823 GB Notification: Performance of NFFlatten.resolveConnections: time 0.004038/0.9422, allocations: 1.439 MB / 1.251 GB, free: 2.082 MB / 0.823 GB Notification: Performance of NFEvalConstants.evaluate: time 0.007137/0.9494, allocations: 1.774 MB / 1.253 GB, free: 1.312 MB / 0.823 GB Notification: Performance of NFSimplifyModel.simplify: time 0.006444/0.9559, allocations: 1.332 MB / 1.254 GB, free: 0.7656 MB / 0.823 GB Notification: Performance of NFPackage.collectConstants: time 0.0008214/0.9567, allocations: 87.16 kB / 1.254 GB, free: 0.7656 MB / 0.823 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01189/0.9686, allocations: 3.453 MB / 1.258 GB, free: 15.52 MB / 0.8386 GB Notification: Performance of NFScalarize.scalarize: time 0.001557/0.9703, allocations: 0.5083 MB / 1.258 GB, free: 15.31 MB / 0.8386 GB Notification: Performance of NFVerifyModel.verify: time 0.002589/0.9729, allocations: 0.9337 MB / 1.259 GB, free: 14.77 MB / 0.8386 GB Notification: Performance of NFConvertDAE.convert: time 0.01245/0.9853, allocations: 3.723 MB / 1.263 GB, free: 13.42 MB / 0.8386 GB Notification: Performance of FrontEnd - DAE generated: time 1.045e-05/0.9854, allocations: 1.562 kB / 1.263 GB, free: 13.42 MB / 0.8386 GB Notification: Performance of FrontEnd: time 5.129e-06/0.9854, allocations: 0 / 1.263 GB, free: 13.42 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 0.0001373/0.9856, allocations: 3.938 kB / 1.263 GB, free: 13.41 MB / 0.8386 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 300 * Number of variables: 300 Notification: Performance of Generate backend data structure: time 0.007625/0.9932, allocations: 2.47 MB / 1.265 GB, free: 11.8 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 5.735e-05/0.9933, allocations: 8.688 kB / 1.265 GB, free: 11.8 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006671/1, allocations: 0.6103 MB / 1.266 GB, free: 11.65 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005053/1.005, allocations: 1.364 MB / 1.267 GB, free: 10.85 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.00064/1.006, allocations: 152.9 kB / 1.267 GB, free: 10.8 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003121/1.006, allocations: 137 kB / 1.267 GB, free: 10.75 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004037/1.01, allocations: 1.444 MB / 1.269 GB, free: 10.1 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.611e-05/1.01, allocations: 1.875 kB / 1.269 GB, free: 10.1 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001608/1.01, allocations: 46.66 kB / 1.269 GB, free: 10.06 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.704e-05/1.01, allocations: 44.98 kB / 1.269 GB, free: 10.06 MB / 0.8386 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003317/1.014, allocations: 1.207 MB / 1.27 GB, free: 9.629 MB / 0.8386 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.01039/1.024, allocations: 5.766 MB / 1.276 GB, free: 5.703 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001984/1.026, allocations: 0.9835 MB / 1.277 GB, free: 5.086 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001042/1.027, allocations: 0.5119 MB / 1.277 GB, free: 4.836 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006259/1.028, allocations: 322.1 kB / 1.277 GB, free: 4.516 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001207/1.029, allocations: 0.5421 MB / 1.278 GB, free: 4.172 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=79): time 3.407e-06/1.029, allocations: 0 / 1.278 GB, free: 4.172 MB / 0.8386 GB Notification: Performance of matching and sorting (n=79): time 0.004523/1.034, allocations: 1.627 MB / 1.28 GB, free: 2.512 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.121e-05/1.034, allocations: 97.64 kB / 1.28 GB, free: 2.398 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002181/1.036, allocations: 1.322 MB / 1.281 GB, free: 1.066 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 0.0001156/1.036, allocations: 49.69 kB / 1.281 GB, free: 1.012 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006805/1.037, allocations: 0.7478 MB / 1.282 GB, free: 260 kB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003256/1.037, allocations: 268.2 kB / 1.282 GB, free: 15.98 MB / 0.8542 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004113/1.038, allocations: 190.5 kB / 1.282 GB, free: 15.79 MB / 0.8542 GB Notification: Performance of setup shared object (initialization): time 0.0001472/1.038, allocations: 341.9 kB / 1.283 GB, free: 15.45 MB / 0.8542 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001023/1.039, allocations: 424.6 kB / 1.283 GB, free: 15.04 MB / 0.8542 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001236/1.04, allocations: 0.6692 MB / 1.284 GB, free: 14.27 MB / 0.8542 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002181/1.042, allocations: 1.079 MB / 1.285 GB, free: 13.12 MB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.31e-06/1.042, allocations: 0 / 1.285 GB, free: 13.12 MB / 0.8542 GB Notification: Performance of matching and sorting (n=119) (initialization): time 0.003216/1.045, allocations: 1.362 MB / 1.286 GB, free: 11.74 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 4.559e-05/1.045, allocations: 41.75 kB / 1.286 GB, free: 11.7 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.921e-05/1.045, allocations: 8 kB / 1.286 GB, free: 11.69 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004205/1.046, allocations: 78.59 kB / 1.286 GB, free: 11.61 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009413/1.047, allocations: 203.6 kB / 1.286 GB, free: 11.41 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004672/1.047, allocations: 0.596 MB / 1.287 GB, free: 10.79 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001741/1.049, allocations: 199.8 kB / 1.287 GB, free: 10.59 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001169/1.049, allocations: 43.98 kB / 1.287 GB, free: 10.55 MB / 0.8542 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001637/1.051, allocations: 0.7205 MB / 1.288 GB, free: 9.828 MB / 0.8542 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.00116/1.052, allocations: 0.6536 MB / 1.288 GB, free: 9.082 MB / 0.8542 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.002153/1.054, allocations: 1.08 MB / 1.289 GB, free: 7.918 MB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 7.625e-06/1.054, allocations: 4 kB / 1.29 GB, free: 7.914 MB / 0.8542 GB Notification: Performance of matching and sorting (n=119) (initialization_lambda0): time 0.003028/1.057, allocations: 1.33 MB / 1.291 GB, free: 6.562 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 4.194e-05/1.057, allocations: 37.64 kB / 1.291 GB, free: 6.52 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.626e-06/1.057, allocations: 4 kB / 1.291 GB, free: 6.516 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001867/1.058, allocations: 57.3 kB / 1.291 GB, free: 6.457 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009361/1.058, allocations: 207.6 kB / 1.291 GB, free: 6.254 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001907/1.06, allocations: 1.597 MB / 1.293 GB, free: 4.512 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002019/1.062, allocations: 179.2 kB / 1.293 GB, free: 4.336 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001124/1.063, allocations: 43.98 kB / 1.293 GB, free: 4.293 MB / 0.8542 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 23 * Number of states: 0 () * Number of discrete variables: 9 (TSet.nextEventScaled,TSet.nextEvent,$PRE.TSet.nextEvent,TSet.last,TSet.b,TSet.a,$whenCondition1,con2.I.trigger_internal,con1.I.trigger_internal) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (108): * Single equations (assignments): 104 * Array equations: 2 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,4)} Notification: Performance of prepare postOptimizeDAE: time 0.0003701/1.063, allocations: 271.5 kB / 1.293 GB, free: 4.016 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005889/1.064, allocations: 158.1 kB / 1.293 GB, free: 3.859 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00305/1.067, allocations: 1.176 MB / 1.294 GB, free: 2.668 MB / 0.8542 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.736e-06/1.067, allocations: 8 kB / 1.294 GB, free: 2.66 MB / 0.8542 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.378e-06/1.067, allocations: 3.984 kB / 1.294 GB, free: 2.656 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002127/1.069, allocations: 1.069 MB / 1.295 GB, free: 1.551 MB / 0.8542 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 postOpt removeSimpleEquations (simulation): time 0.005946/1.075, allocations: 2.792 MB / 1.298 GB, free: 14.66 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.795e-06/1.075, allocations: 3.984 kB / 1.298 GB, free: 14.65 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009233/1.076, allocations: 176 kB / 1.298 GB, free: 14.48 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000157/1.076, allocations: 55.42 kB / 1.298 GB, free: 14.43 MB / 0.8698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.101e-05/1.076, allocations: 27.92 kB / 1.298 GB, free: 14.4 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.000391/1.076, allocations: 0.5758 MB / 1.299 GB, free: 13.8 MB / 0.8698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.699e-06/1.076, allocations: 4 kB / 1.299 GB, free: 13.79 MB / 0.8698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.03064/1.107, allocations: 12.22 MB / 1.311 GB, free: 1.184 MB / 0.8698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001014/1.108, allocations: 338.9 kB / 1.311 GB, free: 0.832 MB / 0.8698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004/1.108, allocations: 20 kB / 1.311 GB, free: 0.8125 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001436/1.11, allocations: 116.9 kB / 1.311 GB, free: 0.6992 MB / 0.8698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000141/1.11, allocations: 48.44 kB / 1.311 GB, free: 0.6523 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.23e-05/1.11, allocations: 35.98 kB / 1.311 GB, free: 0.6172 MB / 0.8698 GB Notification: Performance of sorting global known variables: time 0.001663/1.112, allocations: 0.8979 MB / 1.312 GB, free: 15.72 MB / 0.8855 GB Notification: Performance of sort global known variables: time 3.3e-07/1.112, allocations: 0 / 1.312 GB, free: 15.72 MB / 0.8855 GB Notification: Performance of remove unused functions: time 0.005058/1.117, allocations: 1.252 MB / 1.314 GB, free: 14.47 MB / 0.8855 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 10 * Number of states: 6 (senTem1.T,con1.I.y,humDyn.vol.dynBal.U,humDyn.vol.dynBal.mXi[1],senTem2.T,con2.I.y) * Number of discrete variables: 6 ($whenCondition1,TSet.a,TSet.b,TSet.last,TSet.nextEvent,TSet.nextEventScaled) * Number of discrete states: 6 (TSet.nextEvent,TSet.last,TSet.nextEventScaled,TSet.b,TSet.a,$whenCondition1) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (70): * Single equations (assignments): 68 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,4)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0009071/1.118, allocations: 309.5 kB / 1.314 GB, free: 14.16 MB / 0.8855 GB Notification: Performance of simCode: created initialization part: time 0.004214/1.122, allocations: 1.883 MB / 1.316 GB, free: 12.25 MB / 0.8855 GB Notification: Performance of simCode: created event and clocks part: time 5.701e-06/1.122, allocations: 0 / 1.316 GB, free: 12.25 MB / 0.8855 GB Notification: Performance of simCode: created simulation system equations: time 0.001147/1.123, allocations: 0.5618 MB / 1.316 GB, free: 11.68 MB / 0.8855 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004616/1.128, allocations: 0.7816 MB / 1.317 GB, free: 10.9 MB / 0.8855 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009818/1.138, allocations: 4.462 MB / 1.321 GB, free: 6.336 MB / 0.8855 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001277/1.139, allocations: 1.357 MB / 1.323 GB, free: 4.949 MB / 0.8855 GB Notification: Performance of simCode: alias equations: time 0.002135/1.141, allocations: 388.3 kB / 1.323 GB, free: 4.566 MB / 0.8855 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006111/1.142, allocations: 119.4 kB / 1.323 GB, free: 4.449 MB / 0.8855 GB Notification: Performance of SimCode: time 2.505e-06/1.142, allocations: 0 / 1.323 GB, free: 4.449 MB / 0.8855 GB Notification: Performance of Templates: time 0.05367/1.196, allocations: 32.08 MB / 1.355 GB, free: 4.594 MB / 0.9167 GB make -j1 -f Buildings_8_Buildings.Fluid.Humidifiers.Examples.Humidifier_u.makefile (rm -f Buildings_8_Buildings.Fluid.Humidifiers.Examples.Humidifier_u.pipe ; mkfifo Buildings_8_Buildings.Fluid.Humidifiers.Examples.Humidifier_u.pipe ; head -c 1048576 < Buildings_8_Buildings.Fluid.Humidifiers.Examples.Humidifier_u.pipe >> ../files/Buildings_8_Buildings.Fluid.Humidifiers.Examples.Humidifier_u.sim & ./Buildings_8_Buildings.Fluid.Humidifiers.Examples.Humidifier_u -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Fluid.Humidifiers.Examples.Humidifier_u.pipe 2>&1)