Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.Fluid.Humidifiers.Validation.SprayAirWasher_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/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_dynamic,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.Humidifiers.Validation.SprayAirWasher_X_dynamic") translateModel(BuildingSystems.Fluid.Humidifiers.Validation.SprayAirWasher_X_dynamic,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.Humidifiers.Validation.SprayAirWasher_X_dynamic") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008032/0.0008032, allocations: 86.33 kB / 15.06 MB, free: 1.09 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.001028/0.001028, allocations: 168.7 kB / 15.95 MB, free: 204 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.317/1.317, allocations: 223.3 MB / 240 MB, free: 5.395 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.00176/0.001761, allocations: 262.8 kB / 291.3 MB, free: 1.953 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9442/0.9442, allocations: 169.5 MB / 0.5 GB, free: 14.21 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003926/0.0003926, allocations: 14.12 kB / 0.598 GB, free: 28.37 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1333/0.1337, allocations: 88.54 MB / 0.6845 GB, free: 15.51 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Humidifiers.Validation.SprayAirWasher_X_dynamic): time 0.423/0.5567, allocations: 164 MB / 0.8446 GB, free: 2.879 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.005524/0.5622, allocations: 3.509 MB / 0.848 GB, free: 56 kB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004861/0.5628, allocations: 23.53 kB / 0.848 GB, free: 44 kB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.0008858/0.5636, allocations: 316.3 kB / 0.8483 GB, free: 15.81 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.002322/0.566, allocations: 0.929 MB / 0.8492 GB, free: 15.11 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.001451/0.5674, allocations: 0.5803 MB / 0.8498 GB, free: 14.71 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.001526/0.569, allocations: 1.558 MB / 0.8513 GB, free: 13.78 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005308/0.5695, allocations: 388.5 kB / 0.8517 GB, free: 13.55 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001544/0.5711, allocations: 0.7799 MB / 0.8525 GB, free: 13.1 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005319/0.5716, allocations: 436 kB / 0.8529 GB, free: 12.87 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 5.399e-05/0.5717, allocations: 20.41 kB / 0.8529 GB, free: 12.87 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001486/0.5732, allocations: 0.8141 MB / 0.8537 GB, free: 12.43 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.0001797/0.5734, allocations: 171.3 kB / 0.8539 GB, free: 12.32 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.0001269/0.5735, allocations: 146.4 kB / 0.854 GB, free: 12.23 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.0008412/0.5744, allocations: 0.7961 MB / 0.8548 GB, free: 11.74 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 5.24e-06/0.5744, allocations: 5.766 kB / 0.8548 GB, free: 11.74 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.082e-06/0.5744, allocations: 0 / 0.8548 GB, free: 11.74 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 9.067e-06/0.5744, allocations: 0 / 0.8548 GB, free: 11.74 MB / 0.5762 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.00179/0.5762, allocations: 0.9426 MB / 0.8557 GB, free: 10.95 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 2.991e-05/0.5762, allocations: 8.719 kB / 0.8557 GB, free: 10.95 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001195/0.5774, allocations: 234.9 kB / 0.8559 GB, free: 10.86 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008056/0.5782, allocations: 0.5163 MB / 0.8564 GB, free: 10.41 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.222e-05/0.5783, allocations: 37.69 kB / 0.8565 GB, free: 10.39 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.673e-05/0.5784, allocations: 39.5 kB / 0.8565 GB, free: 10.38 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001015/0.5794, allocations: 0.5515 MB / 0.8571 GB, free: 10.03 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.233e-05/0.5794, allocations: 0 / 0.8571 GB, free: 10.03 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.594e-05/0.5795, allocations: 14.62 kB / 0.8571 GB, free: 10.02 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.378e-05/0.5795, allocations: 17.94 kB / 0.8571 GB, free: 10.02 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001119/0.5806, allocations: 0.5076 MB / 0.8576 GB, free: 9.773 MB / 0.5762 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.002836/0.5835, allocations: 2.221 MB / 0.8597 GB, free: 7.844 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005956/0.5841, allocations: 356.7 kB / 0.8601 GB, free: 7.605 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002224/0.5843, allocations: 149.9 kB / 0.8602 GB, free: 7.531 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001355/0.5857, allocations: 0.859 MB / 0.8611 GB, free: 6.621 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003217/0.586, allocations: 207 kB / 0.8613 GB, free: 6.469 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=28): time 1.623e-06/0.586, allocations: 4 kB / 0.8613 GB, free: 6.465 MB / 0.5762 GB Notification: Performance of matching and sorting (n=28): time 0.0009282/0.5869, allocations: 457.4 kB / 0.8617 GB, free: 6.238 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.788e-05/0.587, allocations: 87.94 kB / 0.8618 GB, free: 6.137 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007713/0.5878, allocations: 0.6449 MB / 0.8624 GB, free: 5.77 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 3.279e-05/0.5878, allocations: 36.14 kB / 0.8625 GB, free: 5.73 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002826/0.5881, allocations: 315.5 kB / 0.8628 GB, free: 5.453 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 8.321e-05/0.5882, allocations: 100.3 kB / 0.8629 GB, free: 5.367 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.397e-05/0.5882, allocations: 4 kB / 0.8629 GB, free: 5.363 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001924/0.5884, allocations: 374.8 kB / 0.8632 GB, free: 5.004 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003853/0.5888, allocations: 143.7 kB / 0.8634 GB, free: 4.934 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004247/0.5893, allocations: 297.3 kB / 0.8636 GB, free: 4.676 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003609/0.5896, allocations: 173.1 kB / 0.8638 GB, free: 4.594 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.497e-06/0.5897, allocations: 2.594 kB / 0.8638 GB, free: 4.594 MB / 0.5762 GB Notification: Performance of matching and sorting (n=47) (initialization): time 0.0009289/0.5906, allocations: 0.4896 MB / 0.8643 GB, free: 4.336 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 0.000124/0.5907, allocations: 209 kB / 0.8645 GB, free: 4.086 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.717e-06/0.5907, allocations: 6.453 kB / 0.8645 GB, free: 4.082 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.476e-05/0.5908, allocations: 8.844 kB / 0.8645 GB, free: 4.082 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004095/0.5912, allocations: 87.77 kB / 0.8646 GB, free: 4.062 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.19e-05/0.5912, allocations: 10 kB / 0.8646 GB, free: 4.059 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005842/0.5918, allocations: 92.28 kB / 0.8647 GB, free: 4.008 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.916e-05/0.5918, allocations: 16.03 kB / 0.8647 GB, free: 4.008 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 5.36e-06/0.5918, allocations: 6.875 kB / 0.8647 GB, free: 4.004 MB / 0.5762 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0008125/0.5927, allocations: 409 kB / 0.8651 GB, free: 3.812 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.409e-06/0.5927, allocations: 2.562 kB / 0.8651 GB, free: 3.812 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.551e-06/0.5927, allocations: 12.72 kB / 0.8651 GB, free: 3.809 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004368/0.5931, allocations: 92.11 kB / 0.8652 GB, free: 3.785 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.667e-06/0.5932, allocations: 11.77 kB / 0.8652 GB, free: 3.781 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004467/0.5936, allocations: 72.56 kB / 0.8653 GB, free: 3.742 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.586e-05/0.5936, allocations: 24.17 kB / 0.8653 GB, free: 3.734 MB / 0.5762 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 ($whenCondition1,$PRE.XSet.nextTimeEvent,XSet.nextTimeEvent,$PRE.XSet.nextTimeEventScaled,XSet.nextTimeEventScaled) * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002538/0.5939, allocations: 284.9 kB / 0.8656 GB, free: 3.488 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.82e-05/0.594, allocations: 61.53 kB / 0.8656 GB, free: 3.457 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005974/0.5946, allocations: 342.3 kB / 0.866 GB, free: 3.238 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.207e-06/0.5946, allocations: 3.281 kB / 0.866 GB, free: 3.238 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.969e-06/0.5946, allocations: 2.125 kB / 0.866 GB, free: 3.238 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.08e-06/0.5946, allocations: 0 / 0.866 GB, free: 3.238 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001421/0.596, allocations: 1.113 MB / 0.867 GB, free: 2.359 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.21e-06/0.5961, allocations: 6.703 kB / 0.867 GB, free: 2.355 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002159/0.5963, allocations: 45.58 kB / 0.8671 GB, free: 2.344 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.594e-06/0.5963, allocations: 9.172 kB / 0.8671 GB, free: 2.34 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.443e-05/0.5963, allocations: 13.53 kB / 0.8671 GB, free: 2.332 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.517e-06/0.5963, allocations: 2.562 kB / 0.8671 GB, free: 2.332 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.045e-06/0.5963, allocations: 4.438 kB / 0.8671 GB, free: 2.332 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007607/0.5971, allocations: 0.6159 MB / 0.8677 GB, free: 1.895 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001737/0.5973, allocations: 167.7 kB / 0.8679 GB, free: 1.738 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.974e-05/0.5974, allocations: 17.02 kB / 0.8679 GB, free: 1.727 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003496/0.5977, allocations: 32.75 kB / 0.8679 GB, free: 1.711 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.584e-05/0.5978, allocations: 26.75 kB / 0.868 GB, free: 1.695 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.143e-05/0.5978, allocations: 10.88 kB / 0.868 GB, free: 1.695 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0005978/0.5985, allocations: 475.2 kB / 0.8684 GB, free: 1.43 MB / 0.5762 GB Notification: Performance of sort global known variables: time 2e-07/0.5985, allocations: 0 / 0.8684 GB, free: 1.43 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0007945/0.5993, allocations: 271.3 kB / 0.8687 GB, free: 1.379 MB / 0.5762 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001161/0.6004, allocations: 0.5144 MB / 0.8692 GB, free: 1.121 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.001021/0.6015, allocations: 0.5234 MB / 0.8697 GB, free: 0.8906 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 4.328e-06/0.6015, allocations: 2.906 kB / 0.8697 GB, free: 0.8906 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.0002026/0.6017, allocations: 134.8 kB / 0.8698 GB, free: 0.8281 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001203/0.6029, allocations: 271.7 kB / 0.8701 GB, free: 0.6992 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001821/0.6047, allocations: 1.373 MB / 0.8714 GB, free: 15.71 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004181/0.6052, allocations: 0.8933 MB / 0.8723 GB, free: 14.91 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.000672/0.6058, allocations: 170 kB / 0.8725 GB, free: 14.83 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001165/0.606, allocations: 51.67 kB / 0.8725 GB, free: 14.82 MB / 0.5919 GB Notification: Performance of SimCode: time 2.21e-07/0.606, allocations: 0 / 0.8725 GB, free: 14.82 MB / 0.5919 GB Notification: Performance of Templates: time 0.01622/0.6222, allocations: 9.971 MB / 0.8822 GB, free: 5.297 MB / 0.5919 GB make -j1 -f BuildingSystems_BuildingSystems.Fluid.Humidifiers.Validation.SprayAirWasher_X_dynamic.makefile (rm -f BuildingSystems_BuildingSystems.Fluid.Humidifiers.Validation.SprayAirWasher_X_dynamic.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.Humidifiers.Validation.SprayAirWasher_X_dynamic.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.Humidifiers.Validation.SprayAirWasher_X_dynamic.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.Humidifiers.Validation.SprayAirWasher_X_dynamic.sim & ./BuildingSystems_BuildingSystems.Fluid.Humidifiers.Validation.SprayAirWasher_X_dynamic -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Fluid.Humidifiers.Validation.SprayAirWasher_X_dynamic.pipe 2>&1)