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.0009312/0.0009312, allocations: 86.72 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.001191/0.001191, 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.326/1.326, allocations: 223.3 MB / 240 MB, free: 5.398 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001798/0.001798, allocations: 270.5 kB / 291.4 MB, free: 1.945 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9481/0.9481, allocations: 169.5 MB / 0.5 GB, free: 14.21 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0004008/0.000401, allocations: 16.72 kB / 0.598 GB, free: 28.45 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1348/0.1352, allocations: 88.55 MB / 0.6845 GB, free: 15.44 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Humidifiers.Validation.SprayAirWasher_X): time 0.4282/0.5634, allocations: 163.9 MB / 0.8446 GB, free: 2.809 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.005519/0.569, allocations: 3.517 MB / 0.848 GB, free: 15.98 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005398/0.5696, allocations: 22.59 kB / 0.848 GB, free: 15.96 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.0008934/0.5705, allocations: 312.8 kB / 0.8483 GB, free: 15.74 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.002275/0.5727, allocations: 0.9225 MB / 0.8492 GB, free: 15.04 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.001531/0.5743, allocations: 0.5756 MB / 0.8498 GB, free: 14.64 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.001616/0.5759, allocations: 1.565 MB / 0.8513 GB, free: 13.71 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005685/0.5765, allocations: 382.2 kB / 0.8517 GB, free: 13.48 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001615/0.5781, allocations: 0.7742 MB / 0.8524 GB, free: 13.04 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005468/0.5787, allocations: 442.5 kB / 0.8529 GB, free: 12.8 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 5.352e-05/0.5788, allocations: 22.19 kB / 0.8529 GB, free: 12.8 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001515/0.5803, allocations: 0.806 MB / 0.8537 GB, free: 12.37 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.0001753/0.5805, allocations: 175.9 kB / 0.8538 GB, free: 12.26 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.0001509/0.5806, allocations: 145.1 kB / 0.854 GB, free: 12.17 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.0008727/0.5815, allocations: 0.7874 MB / 0.8547 GB, free: 11.68 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 3.807e-06/0.5815, allocations: 3.938 kB / 0.8548 GB, free: 11.68 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.343e-06/0.5815, allocations: 0 / 0.8548 GB, free: 11.68 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 8.405e-06/0.5815, allocations: 0 / 0.8548 GB, free: 11.68 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.001772/0.5833, allocations: 0.941 MB / 0.8557 GB, free: 10.89 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 3.242e-05/0.5834, allocations: 7.938 kB / 0.8557 GB, free: 10.89 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001233/0.5846, allocations: 232.9 kB / 0.8559 GB, free: 10.79 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007492/0.5854, allocations: 0.5154 MB / 0.8564 GB, free: 10.35 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.499e-05/0.5854, allocations: 35.48 kB / 0.8564 GB, free: 10.34 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.158e-05/0.5855, allocations: 36.69 kB / 0.8565 GB, free: 10.32 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009974/0.5865, allocations: 0.5319 MB / 0.857 GB, free: 9.996 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.207e-05/0.5865, allocations: 0 / 0.857 GB, free: 9.996 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.474e-05/0.5866, allocations: 18.94 kB / 0.857 GB, free: 9.98 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.866e-05/0.5866, allocations: 25.17 kB / 0.857 GB, free: 9.973 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001129/0.5877, allocations: 0.5073 MB / 0.8575 GB, free: 9.73 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.003028/0.5908, allocations: 2.228 MB / 0.8597 GB, free: 7.785 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006927/0.5915, allocations: 346.5 kB / 0.86 GB, free: 7.551 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002177/0.5917, allocations: 147.6 kB / 0.8602 GB, free: 7.477 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001262/0.593, allocations: 0.8632 MB / 0.861 GB, free: 6.562 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003097/0.5933, allocations: 195.4 kB / 0.8612 GB, free: 6.418 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=26): time 1.763e-06/0.5933, allocations: 0 / 0.8612 GB, free: 6.418 MB / 0.5762 GB Notification: Performance of matching and sorting (n=26): time 0.0009212/0.5942, allocations: 427.4 kB / 0.8616 GB, free: 6.207 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.566e-05/0.5943, allocations: 97.91 kB / 0.8617 GB, free: 6.098 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007867/0.5951, allocations: 0.6407 MB / 0.8623 GB, free: 5.734 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 2.938e-05/0.5951, allocations: 32.58 kB / 0.8624 GB, free: 5.699 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.000231/0.5954, allocations: 323.2 kB / 0.8627 GB, free: 5.414 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 6.881e-05/0.5955, allocations: 81.72 kB / 0.8627 GB, free: 5.344 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.391e-05/0.5955, allocations: 14.91 kB / 0.8628 GB, free: 5.332 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001346/0.5956, allocations: 368.6 kB / 0.8631 GB, free: 4.977 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003387/0.596, allocations: 127.9 kB / 0.8632 GB, free: 4.918 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004128/0.5964, allocations: 275.7 kB / 0.8635 GB, free: 4.676 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003596/0.5968, allocations: 163 kB / 0.8637 GB, free: 4.598 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.056e-06/0.5968, allocations: 6.938 kB / 0.8637 GB, free: 4.594 MB / 0.5762 GB Notification: Performance of matching and sorting (n=43) (initialization): time 0.0009029/0.5977, allocations: 467.7 kB / 0.8641 GB, free: 4.355 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001141/0.5978, allocations: 213.2 kB / 0.8643 GB, free: 4.102 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.725e-06/0.5978, allocations: 4.938 kB / 0.8643 GB, free: 4.102 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.645e-05/0.5978, allocations: 8.125 kB / 0.8643 GB, free: 4.102 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003906/0.5982, allocations: 89.14 kB / 0.8644 GB, free: 4.078 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.248e-05/0.5983, allocations: 10.81 kB / 0.8644 GB, free: 4.074 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005921/0.5989, allocations: 81.95 kB / 0.8645 GB, free: 4.031 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.08e-05/0.5989, allocations: 20.2 kB / 0.8645 GB, free: 4.027 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 5.981e-06/0.5989, allocations: 6.5 kB / 0.8645 GB, free: 4.023 MB / 0.5762 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0008009/0.5997, allocations: 391.8 kB / 0.8649 GB, free: 3.836 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.125e-05/0.5998, allocations: 5.844 kB / 0.8649 GB, free: 3.836 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.925e-06/0.5998, allocations: 5.031 kB / 0.8649 GB, free: 3.836 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003716/0.6001, allocations: 86.52 kB / 0.865 GB, free: 3.816 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.914e-06/0.6002, allocations: 8.578 kB / 0.865 GB, free: 3.812 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004494/0.6006, allocations: 78.47 kB / 0.8651 GB, free: 3.766 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.111e-05/0.6007, allocations: 16.72 kB / 0.8651 GB, free: 3.766 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 (43): * Single equations (assignments): 43 * 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.0002614/0.6009, allocations: 293.4 kB / 0.8654 GB, free: 3.512 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.762e-05/0.601, allocations: 62.8 kB / 0.8654 GB, free: 3.477 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005682/0.6016, allocations: 318.1 kB / 0.8657 GB, free: 3.277 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.01e-06/0.6016, allocations: 3 kB / 0.8657 GB, free: 3.277 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.474e-06/0.6016, allocations: 2.875 kB / 0.8657 GB, free: 3.277 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.624e-06/0.6016, allocations: 11.88 kB / 0.8657 GB, free: 3.266 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001364/0.603, allocations: 1.089 MB / 0.8668 GB, free: 2.402 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.078e-06/0.603, allocations: 1.75 kB / 0.8668 GB, free: 2.402 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00018/0.6032, allocations: 44.27 kB / 0.8669 GB, free: 2.391 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.47e-06/0.6032, allocations: 5.188 kB / 0.8669 GB, free: 2.391 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.419e-05/0.6032, allocations: 13.64 kB / 0.8669 GB, free: 2.383 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.027e-06/0.6032, allocations: 2.938 kB / 0.8669 GB, free: 2.383 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.887e-06/0.6032, allocations: 6.75 kB / 0.8669 GB, free: 2.379 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005334/0.6038, allocations: 473.6 kB / 0.8673 GB, free: 2.02 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001755/0.604, allocations: 167.4 kB / 0.8675 GB, free: 1.863 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.573e-05/0.6041, allocations: 9.844 kB / 0.8675 GB, free: 1.859 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003433/0.6044, allocations: 24.41 kB / 0.8675 GB, free: 1.852 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.209e-05/0.6045, allocations: 26.98 kB / 0.8676 GB, free: 1.836 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.337e-05/0.6045, allocations: 16.86 kB / 0.8676 GB, free: 1.828 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.000585/0.6051, allocations: 470.8 kB / 0.868 GB, free: 1.566 MB / 0.5762 GB Notification: Performance of sort global known variables: time 1.8e-07/0.6051, allocations: 4 kB / 0.868 GB, free: 1.562 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0008168/0.6059, allocations: 271.4 kB / 0.8683 GB, free: 1.508 MB / 0.5762 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 (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.001165/0.6071, allocations: 0.5154 MB / 0.8688 GB, free: 1.246 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.001047/0.6081, allocations: 0.489 MB / 0.8693 GB, free: 1.031 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 2.484e-06/0.6082, allocations: 0 / 0.8693 GB, free: 1.031 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.0002004/0.6084, allocations: 125.8 kB / 0.8694 GB, free: 0.9727 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001224/0.6096, allocations: 266.4 kB / 0.8696 GB, free: 0.8477 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001667/0.6113, allocations: 1.22 MB / 0.8708 GB, free: 15.98 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004024/0.6117, allocations: 0.8835 MB / 0.8717 GB, free: 15.2 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.0006798/0.6124, allocations: 173.9 kB / 0.8719 GB, free: 15.11 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001177/0.6125, allocations: 50.92 kB / 0.8719 GB, free: 15.1 MB / 0.5919 GB Notification: Performance of SimCode: time 5.51e-07/0.6125, allocations: 0 / 0.8719 GB, free: 15.1 MB / 0.5919 GB Notification: Performance of Templates: time 0.01607/0.6286, allocations: 9.732 MB / 0.8814 GB, free: 6.047 MB / 0.5919 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)