Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.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 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.SprayAirWasher_X,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.Humidifiers.Validation.SprayAirWasher_X") translateModel(Buildings.Fluid.Humidifiers.Validation.SprayAirWasher_X,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.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.001317/0.001317, allocations: 104.7 kB / 16.27 MB, free: 5.977 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.001591/0.001591, allocations: 189.9 kB / 17.2 MB, free: 5.602 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.441/1.441, allocations: 205.1 MB / 223.1 MB, free: 12.29 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.764/1.764, allocations: 292.3 MB / 0.5495 GB, free: 17.46 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.001413/0.001413, allocations: 70.39 kB / 0.6722 GB, free: 6.582 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2249/0.2263, allocations: 114.6 MB / 0.784 GB, free: 3.906 MB / 0.6544 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Humidifiers.Validation.SprayAirWasher_X): time 0.6116/0.8379, allocations: 180.3 MB / 0.9601 GB, free: 6.215 MB / 0.7481 GB Notification: Performance of NFInst.instExpressions: time 0.006477/0.8445, allocations: 3.601 MB / 0.9636 GB, free: 2.613 MB / 0.7481 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008665/0.8454, allocations: 27.81 kB / 0.9637 GB, free: 2.586 MB / 0.7481 GB Notification: Performance of NFTyping.typeComponents: time 0.001216/0.8466, allocations: 433.6 kB / 0.9641 GB, free: 2.16 MB / 0.7481 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.003264/0.8499, allocations: 1.249 MB / 0.9653 GB, free: 0.9062 MB / 0.7481 GB Notification: Performance of NFTyping.typeClassSections: time 0.002008/0.8519, allocations: 0.7245 MB / 0.966 GB, free: 192 kB / 0.7481 GB Notification: Performance of NFFlatten.flatten: time 0.00172/0.8537, allocations: 1.34 MB / 0.9673 GB, free: 14.84 MB / 0.7637 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006977/0.8544, allocations: 487.5 kB / 0.9678 GB, free: 14.37 MB / 0.7637 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002543/0.8569, allocations: 0.9715 MB / 0.9687 GB, free: 13.4 MB / 0.7637 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006439/0.8576, allocations: 466.1 kB / 0.9692 GB, free: 12.94 MB / 0.7637 GB Notification: Performance of NFPackage.collectConstants: time 6.502e-05/0.8577, allocations: 40 kB / 0.9692 GB, free: 12.9 MB / 0.7637 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002186/0.8599, allocations: 1.181 MB / 0.9704 GB, free: 11.72 MB / 0.7637 GB Notification: Performance of NFScalarize.scalarize: time 0.0002007/0.8601, allocations: 199.4 kB / 0.9706 GB, free: 11.52 MB / 0.7637 GB Notification: Performance of NFVerifyModel.verify: time 0.000323/0.8604, allocations: 322.3 kB / 0.9709 GB, free: 11.21 MB / 0.7637 GB Notification: Performance of NFConvertDAE.convert: time 0.001744/0.8622, allocations: 1.192 MB / 0.972 GB, free: 10.01 MB / 0.7637 GB Notification: Performance of FrontEnd - DAE generated: time 4.689e-06/0.8622, allocations: 4 kB / 0.972 GB, free: 10.01 MB / 0.7637 GB Notification: Performance of FrontEnd: time 1.253e-06/0.8622, allocations: 0 / 0.972 GB, free: 10.01 MB / 0.7637 GB Notification: Performance of Transformations before backend: time 9.397e-06/0.8622, allocations: 0 / 0.972 GB, free: 10.01 MB / 0.7637 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.002038/0.8642, allocations: 1.047 MB / 0.9731 GB, free: 8.91 MB / 0.7637 GB Notification: Performance of prepare preOptimizeDAE: time 4.551e-05/0.8643, allocations: 12.03 kB / 0.9731 GB, free: 8.898 MB / 0.7637 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001268/0.8656, allocations: 218.9 kB / 0.9733 GB, free: 8.684 MB / 0.7637 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007223/0.8663, allocations: 0.5381 MB / 0.9738 GB, free: 8.102 MB / 0.7637 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.306e-05/0.8663, allocations: 29.5 kB / 0.9738 GB, free: 8.074 MB / 0.7637 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.351e-05/0.8664, allocations: 43.98 kB / 0.9739 GB, free: 8.031 MB / 0.7637 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009712/0.8674, allocations: 0.5349 MB / 0.9744 GB, free: 7.48 MB / 0.7637 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.259e-05/0.8674, allocations: 0 / 0.9744 GB, free: 7.48 MB / 0.7637 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.624e-05/0.8675, allocations: 16 kB / 0.9744 GB, free: 7.465 MB / 0.7637 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.752e-05/0.8675, allocations: 18.5 kB / 0.9744 GB, free: 7.445 MB / 0.7637 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001113/0.8686, allocations: 0.5074 MB / 0.9749 GB, free: 6.938 MB / 0.7637 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.003089/0.8717, allocations: 2.226 MB / 0.9771 GB, free: 4.527 MB / 0.7637 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007156/0.8724, allocations: 351.7 kB / 0.9774 GB, free: 4.156 MB / 0.7637 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002279/0.8727, allocations: 145.5 kB / 0.9776 GB, free: 4.012 MB / 0.7637 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00127/0.874, allocations: 0.8377 MB / 0.9784 GB, free: 3.008 MB / 0.7637 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003117/0.8743, allocations: 193.8 kB / 0.9786 GB, free: 2.801 MB / 0.7637 GB Notification: Performance of pre-optimization done (n=26): time 1.703e-06/0.8743, allocations: 0 / 0.9786 GB, free: 2.801 MB / 0.7637 GB Notification: Performance of matching and sorting (n=26): time 0.001013/0.8753, allocations: 428.7 kB / 0.979 GB, free: 2.375 MB / 0.7637 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.961e-05/0.8754, allocations: 85.05 kB / 0.9791 GB, free: 2.273 MB / 0.7637 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008274/0.8762, allocations: 0.6559 MB / 0.9797 GB, free: 1.613 MB / 0.7637 GB Notification: Performance of collectPreVariables (initialization): time 2.942e-05/0.8763, allocations: 29.7 kB / 0.9797 GB, free: 1.578 MB / 0.7637 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002597/0.8765, allocations: 327.7 kB / 0.98 GB, free: 1.254 MB / 0.7637 GB Notification: Performance of collectInitialBindings (initialization): time 6.977e-05/0.8766, allocations: 86.75 kB / 0.9801 GB, free: 1.168 MB / 0.7637 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001326/0.8767, allocations: 77.59 kB / 0.9802 GB, free: 1.086 MB / 0.7637 GB Notification: Performance of setup shared object (initialization): time 0.0001524/0.8769, allocations: 378.7 kB / 0.9806 GB, free: 0.707 MB / 0.7637 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003425/0.8773, allocations: 136.8 kB / 0.9807 GB, free: 0.5703 MB / 0.7637 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004346/0.8777, allocations: 278.5 kB / 0.981 GB, free: 244 kB / 0.7637 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006112/0.8783, allocations: 386.8 kB / 0.9813 GB, free: 15.81 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.214e-06/0.8783, allocations: 4 kB / 0.9813 GB, free: 15.8 MB / 0.7794 GB Notification: Performance of matching and sorting (n=43) (initialization): time 0.0009519/0.8793, allocations: 476.6 kB / 0.9818 GB, free: 15.33 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 2.015e-05/0.8793, allocations: 8 kB / 0.9818 GB, free: 15.32 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.288e-06/0.8793, allocations: 4 kB / 0.9818 GB, free: 15.32 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.028e-05/0.8794, allocations: 4 kB / 0.9818 GB, free: 15.32 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003995/0.8798, allocations: 87.83 kB / 0.9819 GB, free: 15.23 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.34e-05/0.8798, allocations: 16.08 kB / 0.9819 GB, free: 15.21 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000582/0.8804, allocations: 75.55 kB / 0.982 GB, free: 15.14 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.509e-05/0.8804, allocations: 12 kB / 0.982 GB, free: 15.13 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.000512/0.881, allocations: 303.9 kB / 0.9823 GB, free: 14.83 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0004217/0.8814, allocations: 269.1 kB / 0.9825 GB, free: 14.5 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.00059/0.882, allocations: 388.4 kB / 0.9829 GB, free: 14.07 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.944e-06/0.882, allocations: 0 / 0.9829 GB, free: 14.07 MB / 0.7794 GB Notification: Performance of matching and sorting (n=43) (initialization_lambda0): time 0.000929/0.8829, allocations: 479.2 kB / 0.9834 GB, free: 13.6 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.235e-05/0.883, allocations: 4 kB / 0.9834 GB, free: 13.59 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.991e-06/0.883, allocations: 7.984 kB / 0.9834 GB, free: 13.59 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.506e-06/0.883, allocations: 8 kB / 0.9834 GB, free: 13.58 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003734/0.8834, allocations: 91.7 kB / 0.9835 GB, free: 13.49 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.416e-06/0.8834, allocations: 8 kB / 0.9835 GB, free: 13.48 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005357/0.8839, allocations: 63.89 kB / 0.9835 GB, free: 13.42 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.518e-05/0.884, allocations: 20 kB / 0.9836 GB, free: 13.4 MB / 0.7794 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.0001542/0.8841, allocations: 204.7 kB / 0.9837 GB, free: 13.19 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.232e-05/0.8842, allocations: 65.31 kB / 0.9838 GB, free: 13.13 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005906/0.8848, allocations: 327.6 kB / 0.9841 GB, free: 12.8 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.011e-06/0.8848, allocations: 4 kB / 0.9841 GB, free: 12.79 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.843e-06/0.8848, allocations: 3.938 kB / 0.9841 GB, free: 12.79 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.258e-06/0.8848, allocations: 0 / 0.9841 GB, free: 12.79 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00137/0.8862, allocations: 1.1 MB / 0.9852 GB, free: 11.61 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.428e-06/0.8862, allocations: 4 kB / 0.9852 GB, free: 11.6 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001716/0.8864, allocations: 31.98 kB / 0.9852 GB, free: 11.57 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.709e-06/0.8864, allocations: 7.938 kB / 0.9852 GB, free: 11.56 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.369e-05/0.8865, allocations: 12 kB / 0.9853 GB, free: 11.55 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.953e-06/0.8865, allocations: 5.734 kB / 0.9853 GB, free: 11.55 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.775e-06/0.8865, allocations: 4 kB / 0.9853 GB, free: 11.54 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005425/0.887, allocations: 480.3 kB / 0.9857 GB, free: 11.03 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001623/0.8872, allocations: 156.3 kB / 0.9859 GB, free: 10.86 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.902e-05/0.8873, allocations: 8 kB / 0.9859 GB, free: 10.85 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003179/0.8876, allocations: 19.98 kB / 0.9859 GB, free: 10.83 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.153e-05/0.8877, allocations: 27.84 kB / 0.9859 GB, free: 10.8 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.3e-05/0.8877, allocations: 16 kB / 0.9859 GB, free: 10.79 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 0.0006293/0.8883, allocations: 475 kB / 0.9864 GB, free: 10.32 MB / 0.7794 GB Notification: Performance of sort global known variables: time 2.71e-07/0.8884, allocations: 0 / 0.9864 GB, free: 10.32 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0008859/0.8892, allocations: 267.6 kB / 0.9867 GB, free: 10.06 MB / 0.7794 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.001256/0.8905, allocations: 0.5177 MB / 0.9872 GB, free: 9.758 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.001136/0.8917, allocations: 0.5136 MB / 0.9877 GB, free: 9.25 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 2.895e-06/0.8917, allocations: 0 / 0.9877 GB, free: 9.25 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 0.0002031/0.8919, allocations: 123.8 kB / 0.9878 GB, free: 9.129 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0013/0.8932, allocations: 291.6 kB / 0.9881 GB, free: 8.867 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001785/0.895, allocations: 1.081 MB / 0.9891 GB, free: 7.723 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004312/0.8954, allocations: 0.886 MB / 0.99 GB, free: 6.809 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000156/0.8956, allocations: 55.42 kB / 0.99 GB, free: 6.754 MB / 0.7794 GB Notification: Performance of SimCode: time 4.31e-07/0.8956, allocations: 0 / 0.99 GB, free: 6.754 MB / 0.7794 GB Notification: Performance of Templates: time 0.01394/0.9095, allocations: 9.824 MB / 0.9996 GB, free: 13.11 MB / 0.795 GB make -j1 -f Buildings_8_Buildings.Fluid.Humidifiers.Validation.SprayAirWasher_X.makefile (rm -f Buildings_8_Buildings.Fluid.Humidifiers.Validation.SprayAirWasher_X.pipe ; mkfifo Buildings_8_Buildings.Fluid.Humidifiers.Validation.SprayAirWasher_X.pipe ; head -c 1048576 < Buildings_8_Buildings.Fluid.Humidifiers.Validation.SprayAirWasher_X.pipe >> ../files/Buildings_8_Buildings.Fluid.Humidifiers.Validation.SprayAirWasher_X.sim & ./Buildings_8_Buildings.Fluid.Humidifiers.Validation.SprayAirWasher_X -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Fluid.Humidifiers.Validation.SprayAirWasher_X.pipe 2>&1)