Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Fluid.Humidifiers.Validation.SprayAirWasher_X.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.SprayAirWasher_X,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.Humidifiers.Validation.SprayAirWasher_X") translateModel(BuildingSystems.Fluid.Humidifiers.Validation.SprayAirWasher_X,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.Humidifiers.Validation.SprayAirWasher_X") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001537/0.001537, allocations: 109.6 kB / 16.41 MB, free: 6.406 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.001554/0.001555, allocations: 190.1 kB / 17.34 MB, free: 5.695 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.373/1.373, allocations: 222.9 MB / 241 MB, free: 15.08 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002084/0.002084, allocations: 289.7 kB / 291.5 MB, free: 14.44 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9511/0.9511, allocations: 169.2 MB / 0.499 GB, free: 4.441 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001951/0.001951, allocations: 91.86 kB / 0.6821 GB, free: 7 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5072/0.5092, allocations: 86.98 MB / 0.767 GB, free: 3.957 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Humidifiers.Validation.SprayAirWasher_X): time 0.1864/0.6956, allocations: 180.3 MB / 0.9431 GB, free: 14.97 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.006506/0.7022, allocations: 3.743 MB / 0.9468 GB, free: 11.22 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001001/0.7032, allocations: 27.81 kB / 0.9468 GB, free: 11.19 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.001403/0.7047, allocations: 429.6 kB / 0.9472 GB, free: 10.77 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.003392/0.7081, allocations: 1.26 MB / 0.9484 GB, free: 9.504 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.002232/0.7104, allocations: 0.7479 MB / 0.9491 GB, free: 8.762 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.002021/0.7124, allocations: 1.348 MB / 0.9505 GB, free: 7.41 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008556/0.7133, allocations: 477.3 kB / 0.9509 GB, free: 6.938 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002678/0.716, allocations: 0.9983 MB / 0.9519 GB, free: 5.941 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0008618/0.7168, allocations: 458.1 kB / 0.9523 GB, free: 5.492 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 0.000126/0.717, allocations: 44 kB / 0.9524 GB, free: 5.449 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002335/0.7193, allocations: 1.189 MB / 0.9535 GB, free: 4.258 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 0.0002458/0.7196, allocations: 199.4 kB / 0.9537 GB, free: 4.062 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.0004742/0.7201, allocations: 322.2 kB / 0.954 GB, free: 3.746 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.002262/0.7223, allocations: 1.206 MB / 0.9552 GB, free: 2.539 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 4.418e-06/0.7223, allocations: 0 / 0.9552 GB, free: 2.539 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.433e-06/0.7223, allocations: 4 kB / 0.9552 GB, free: 2.535 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 2.328e-05/0.7224, allocations: 4 kB / 0.9552 GB, free: 2.531 MB / 0.7169 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 97 * Number of variables: 97 Notification: Performance of Generate backend data structure: time 0.002259/0.7246, allocations: 1.044 MB / 0.9562 GB, free: 1.438 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 3.935e-05/0.7247, allocations: 11.97 kB / 0.9562 GB, free: 1.426 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001344/0.726, allocations: 215 kB / 0.9565 GB, free: 1.215 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009481/0.727, allocations: 0.5693 MB / 0.957 GB, free: 0.6016 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.295e-05/0.727, allocations: 29 kB / 0.957 GB, free: 0.5742 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.566e-05/0.7271, allocations: 40 kB / 0.9571 GB, free: 0.5352 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.3862/1.113, allocations: 0.531 MB / 0.9576 GB, free: 192.4 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.549e-05/1.113, allocations: 0 / 0.9576 GB, free: 192.4 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001257/1.114, allocations: 14.22 kB / 0.9576 GB, free: 192.4 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.078e-05/1.114, allocations: 18.88 kB / 0.9576 GB, free: 192.4 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001513/1.115, allocations: 0.5031 MB / 0.9581 GB, free: 192.3 MB / 0.7169 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.003649/1.119, allocations: 2.213 MB / 0.9603 GB, free: 190.8 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008243/1.12, allocations: 353.1 kB / 0.9606 GB, free: 190.6 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002945/1.12, allocations: 137.9 kB / 0.9607 GB, free: 190.6 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001217/1.121, allocations: 0.8407 MB / 0.9616 GB, free: 189.7 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003614/1.122, allocations: 196 kB / 0.9618 GB, free: 189.6 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=26): time 2.134e-06/1.122, allocations: 0 / 0.9618 GB, free: 189.6 MB / 0.7169 GB Notification: Performance of matching and sorting (n=26): time 0.001037/1.123, allocations: 439.9 kB / 0.9622 GB, free: 189.5 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.913e-05/1.123, allocations: 84.66 kB / 0.9623 GB, free: 189.4 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008779/1.123, allocations: 0.6561 MB / 0.9629 GB, free: 189.1 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 2.962e-05/1.124, allocations: 32.08 kB / 0.9629 GB, free: 189.1 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002052/1.124, allocations: 320.1 kB / 0.9632 GB, free: 188.8 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 6.162e-05/1.124, allocations: 85.66 kB / 0.9633 GB, free: 188.8 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001324/1.124, allocations: 77.31 kB / 0.9634 GB, free: 188.7 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 0.0001049/1.124, allocations: 372.9 kB / 0.9637 GB, free: 188.4 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003514/1.124, allocations: 137.4 kB / 0.9639 GB, free: 188.3 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004242/1.125, allocations: 279.9 kB / 0.9641 GB, free: 188.1 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000573/1.125, allocations: 388.6 kB / 0.9645 GB, free: 187.9 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.298e-06/1.125, allocations: 5.188 kB / 0.9645 GB, free: 187.9 MB / 0.7169 GB Notification: Performance of matching and sorting (n=43) (initialization): time 0.0009582/1.126, allocations: 473.2 kB / 0.965 GB, free: 187.7 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 2.453e-05/1.126, allocations: 8.109 kB / 0.965 GB, free: 187.7 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.033e-05/1.126, allocations: 3.281 kB / 0.965 GB, free: 187.7 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.244e-05/1.127, allocations: 13.59 kB / 0.965 GB, free: 187.7 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004099/1.127, allocations: 81.89 kB / 0.9651 GB, free: 187.7 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.473e-05/1.127, allocations: 10.53 kB / 0.9651 GB, free: 187.7 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005878/1.128, allocations: 80.95 kB / 0.9652 GB, free: 187.7 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.427e-05/1.128, allocations: 23.45 kB / 0.9652 GB, free: 187.7 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0004961/1.128, allocations: 289.1 kB / 0.9655 GB, free: 187.5 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0004026/1.129, allocations: 283 kB / 0.9657 GB, free: 187.3 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0005438/1.129, allocations: 397.6 kB / 0.9661 GB, free: 187 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 3.095e-06/1.129, allocations: 3.938 kB / 0.9661 GB, free: 187 MB / 0.7169 GB Notification: Performance of matching and sorting (n=43) (initialization_lambda0): time 0.0009317/1.13, allocations: 473 kB / 0.9666 GB, free: 186.8 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.221e-05/1.13, allocations: 6.219 kB / 0.9666 GB, free: 186.8 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.671e-06/1.13, allocations: 4.656 kB / 0.9666 GB, free: 186.8 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.306e-06/1.13, allocations: 6.688 kB / 0.9666 GB, free: 186.8 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003909/1.13, allocations: 89.17 kB / 0.9667 GB, free: 186.8 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.388e-06/1.13, allocations: 6.75 kB / 0.9667 GB, free: 186.8 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005735/1.131, allocations: 62.06 kB / 0.9667 GB, free: 186.8 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.563e-05/1.131, allocations: 21.77 kB / 0.9667 GB, free: 186.8 MB / 0.7169 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 (43): * Single equations (assignments): 43 * 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.000137/1.131, allocations: 208.8 kB / 0.9669 GB, free: 186.6 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.586e-05/1.131, allocations: 67.94 kB / 0.967 GB, free: 186.6 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005953/1.132, allocations: 317.7 kB / 0.9673 GB, free: 186.4 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.651e-06/1.132, allocations: 2.75 kB / 0.9673 GB, free: 186.4 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.272e-06/1.132, allocations: 1.375 kB / 0.9673 GB, free: 186.4 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.773e-06/1.132, allocations: 2.734 kB / 0.9673 GB, free: 186.4 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001445/1.133, allocations: 1.089 MB / 0.9684 GB, free: 185.7 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.977e-06/1.133, allocations: 3.531 kB / 0.9684 GB, free: 185.7 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001825/1.134, allocations: 46.22 kB / 0.9684 GB, free: 185.7 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.656e-06/1.134, allocations: 4.625 kB / 0.9684 GB, free: 185.7 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.33e-05/1.134, allocations: 10.86 kB / 0.9684 GB, free: 185.7 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.641e-06/1.134, allocations: 4.625 kB / 0.9684 GB, free: 185.7 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.778e-06/1.134, allocations: 2.688 kB / 0.9685 GB, free: 185.7 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005205/1.134, allocations: 479.9 kB / 0.9689 GB, free: 185.4 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001487/1.134, allocations: 164.4 kB / 0.9691 GB, free: 185.2 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.167e-05/1.134, allocations: 13.88 kB / 0.9691 GB, free: 185.2 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003198/1.135, allocations: 18.73 kB / 0.9691 GB, free: 185.2 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.333e-05/1.135, allocations: 23.61 kB / 0.9691 GB, free: 185.2 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.341e-05/1.135, allocations: 15.95 kB / 0.9691 GB, free: 185.2 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 0.0006456/1.136, allocations: 479 kB / 0.9696 GB, free: 185 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.5e-07/1.136, allocations: 0 / 0.9696 GB, free: 185 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.000803/1.136, allocations: 266.9 kB / 0.9698 GB, free: 185 MB / 0.7169 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 11 * Number of states: 0 () * 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 (25): * Single equations (assignments): 23 * 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.001119/1.137, allocations: 0.5094 MB / 0.9703 GB, free: 184.8 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.001083/1.139, allocations: 0.4993 MB / 0.9708 GB, free: 184.6 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 2.595e-06/1.139, allocations: 0 / 0.9708 GB, free: 184.6 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.0001915/1.139, allocations: 130.6 kB / 0.971 GB, free: 184.6 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001264/1.14, allocations: 277.5 kB / 0.9712 GB, free: 184.5 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001465/1.142, allocations: 1.051 MB / 0.9722 GB, free: 183.9 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002766/1.142, allocations: 0.8998 MB / 0.9731 GB, free: 183.2 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001429/1.142, allocations: 42.75 kB / 0.9732 GB, free: 183.2 MB / 0.7169 GB Notification: Performance of SimCode: time 2.2e-07/1.142, allocations: 3.906 kB / 0.9732 GB, free: 183.2 MB / 0.7169 GB Notification: Performance of Templates: time 0.01027/1.152, allocations: 9.829 MB / 0.9828 GB, free: 173.7 MB / 0.7169 GB make -j1 -f BuildingSystems_BuildingSystems.Fluid.Humidifiers.Validation.SprayAirWasher_X.makefile (rm -f BuildingSystems_BuildingSystems.Fluid.Humidifiers.Validation.SprayAirWasher_X.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.Humidifiers.Validation.SprayAirWasher_X.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.Humidifiers.Validation.SprayAirWasher_X.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.Humidifiers.Validation.SprayAirWasher_X.sim & ./BuildingSystems_BuildingSystems.Fluid.Humidifiers.Validation.SprayAirWasher_X -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Fluid.Humidifiers.Validation.SprayAirWasher_X.pipe 2>&1)