Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.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 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: "" <> buildModelFMU(Buildings.Fluid.Humidifiers.Validation.SprayAirWasher_X_dynamic,fileNamePrefix="Buildings_8_Buildings_Fluid_Humidifiers_Validation_SprayAirWasher_X_dynamic",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Humidifiers.Validation.SprayAirWasher_X_dynamic,fileNamePrefix="Buildings_8_Buildings_Fluid_Humidifiers_Validation_SprayAirWasher_X_dynamic",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001257/0.001257, allocations: 99.86 kB / 15.05 MB, free: 1.105 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.001383/0.001383, allocations: 177.3 kB / 15.94 MB, free: 228 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.805/1.805, allocations: 205.4 MB / 222.1 MB, free: 5.539 MB / 174.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.669/1.669, allocations: 292.6 MB / 0.5497 GB, free: 14.62 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.0005256/0.0005259, allocations: 14.81 kB / 0.6737 GB, free: 26.1 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2376/0.2381, allocations: 116.3 MB / 0.7872 GB, free: 11.9 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Humidifiers.Validation.SprayAirWasher_X_dynamic): time 0.5755/0.8136, allocations: 150.3 MB / 0.934 GB, free: 5.551 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.005029/0.8187, allocations: 3.516 MB / 0.9375 GB, free: 5.5 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006605/0.8194, allocations: 24.16 kB / 0.9375 GB, free: 5.5 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.001145/0.8205, allocations: 424.9 kB / 0.9379 GB, free: 5.496 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.002641/0.8232, allocations: 0.9778 MB / 0.9388 GB, free: 5.488 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.001986/0.8252, allocations: 0.654 MB / 0.9395 GB, free: 5.477 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.001353/0.8266, allocations: 0.8143 MB / 0.9403 GB, free: 5.477 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006245/0.8272, allocations: 389.4 kB / 0.9407 GB, free: 5.441 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001618/0.8288, allocations: 0.7534 MB / 0.9414 GB, free: 5.438 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004464/0.8293, allocations: 316.2 kB / 0.9417 GB, free: 5.434 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 5.649e-05/0.8293, allocations: 21.72 kB / 0.9417 GB, free: 5.434 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001416/0.8308, allocations: 0.5987 MB / 0.9423 GB, free: 5.434 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 0.0002184/0.831, allocations: 162.3 kB / 0.9424 GB, free: 5.434 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.0004183/0.8314, allocations: 144.5 kB / 0.9426 GB, free: 21.4 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.001056/0.8325, allocations: 0.7326 MB / 0.9433 GB, free: 21.34 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 2.645e-06/0.8325, allocations: 0.75 kB / 0.9433 GB, free: 21.34 MB / 0.7325 GB Notification: Performance of FrontEnd: time 1.503e-06/0.8325, allocations: 4 kB / 0.9433 GB, free: 21.34 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 1.169e-05/0.8325, allocations: 0.5 kB / 0.9433 GB, free: 21.34 MB / 0.7325 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.001893/0.8344, allocations: 0.9079 MB / 0.9442 GB, free: 20.72 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 4.646e-05/0.8345, allocations: 9.125 kB / 0.9442 GB, free: 20.72 MB / 0.7325 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.772e-05/0.8346, allocations: 78.3 kB / 0.9443 GB, free: 20.68 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001203/0.8358, allocations: 236.3 kB / 0.9445 GB, free: 20.64 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007474/0.8365, allocations: 0.5145 MB / 0.945 GB, free: 20.37 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.164e-05/0.8366, allocations: 34.41 kB / 0.945 GB, free: 20.36 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.076e-05/0.8367, allocations: 40.16 kB / 0.9451 GB, free: 20.36 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009897/0.8377, allocations: 0.5362 MB / 0.9456 GB, free: 20.28 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.398e-05/0.8377, allocations: 6.906 kB / 0.9456 GB, free: 20.28 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.341e-05/0.8377, allocations: 18.69 kB / 0.9456 GB, free: 20.28 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.688e-05/0.8378, allocations: 19.97 kB / 0.9456 GB, free: 20.28 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001075/0.8388, allocations: 0.5069 MB / 0.9461 GB, free: 20.27 MB / 0.7325 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.003006/0.8419, allocations: 2.239 MB / 0.9483 GB, free: 19.02 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005125/0.8424, allocations: 355 kB / 0.9487 GB, free: 18.9 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009936/0.8434, allocations: 0.6012 MB / 0.9492 GB, free: 18.33 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002688/0.8437, allocations: 209.3 kB / 0.9494 GB, free: 18.25 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=27): time 1.613e-06/0.8437, allocations: 0 / 0.9494 GB, free: 18.25 MB / 0.7325 GB Notification: Performance of matching and sorting (n=27): time 0.0008843/0.8446, allocations: 439 kB / 0.9499 GB, free: 18.18 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.697e-05/0.8446, allocations: 115.6 kB / 0.95 GB, free: 18.05 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008101/0.8454, allocations: 0.6513 MB / 0.9506 GB, free: 17.92 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 3.357e-05/0.8455, allocations: 32.05 kB / 0.9506 GB, free: 17.89 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001825/0.8457, allocations: 317.3 kB / 0.9509 GB, free: 17.75 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 5.73e-05/0.8457, allocations: 91.81 kB / 0.951 GB, free: 17.7 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.97e-05/0.8458, allocations: 6.812 kB / 0.951 GB, free: 17.7 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001338/0.8459, allocations: 378.1 kB / 0.9514 GB, free: 17.38 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003062/0.8462, allocations: 132.5 kB / 0.9515 GB, free: 17.38 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003593/0.8466, allocations: 289.7 kB / 0.9518 GB, free: 17.21 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003419/0.8469, allocations: 170.2 kB / 0.952 GB, free: 17.2 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.026e-06/0.847, allocations: 0 / 0.952 GB, free: 17.2 MB / 0.7325 GB Notification: Performance of matching and sorting (n=45) (initialization): time 0.000842/0.8478, allocations: 485.7 kB / 0.9524 GB, free: 17.12 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 0.00047/0.8483, allocations: 1.475 MB / 0.9539 GB, free: 15.57 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.588e-06/0.8483, allocations: 11.5 kB / 0.9539 GB, free: 15.57 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.732e-05/0.8483, allocations: 5.75 kB / 0.9539 GB, free: 15.57 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000385/0.8487, allocations: 94.17 kB / 0.954 GB, free: 15.57 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.141e-05/0.8487, allocations: 10.11 kB / 0.954 GB, free: 15.57 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006269/0.8494, allocations: 85.94 kB / 0.9541 GB, free: 15.54 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.333e-05/0.8494, allocations: 23.97 kB / 0.9541 GB, free: 15.54 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 7.664e-06/0.8494, allocations: 3.406 kB / 0.9541 GB, free: 15.54 MB / 0.7325 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0007653/0.8502, allocations: 395.3 kB / 0.9545 GB, free: 15.53 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.542e-06/0.8502, allocations: 6.469 kB / 0.9545 GB, free: 15.53 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.554e-06/0.8502, allocations: 10.09 kB / 0.9545 GB, free: 15.53 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000368/0.8506, allocations: 87.81 kB / 0.9546 GB, free: 15.53 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.552e-06/0.8506, allocations: 9.875 kB / 0.9546 GB, free: 15.52 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004455/0.8511, allocations: 71.28 kB / 0.9546 GB, free: 15.5 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.477e-05/0.8511, allocations: 22.25 kB / 0.9547 GB, free: 15.5 MB / 0.7325 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 17 * 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 (45): * Single equations (assignments): 45 * 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.0002707/0.8514, allocations: 290 kB / 0.9549 GB, free: 15.3 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.277e-05/0.8515, allocations: 59.22 kB / 0.955 GB, free: 15.27 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005595/0.852, allocations: 327.3 kB / 0.9553 GB, free: 15.21 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.52e-06/0.8521, allocations: 2.375 kB / 0.9553 GB, free: 15.21 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.442e-06/0.8521, allocations: 5.375 kB / 0.9553 GB, free: 15.21 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.881e-06/0.8521, allocations: 2.766 kB / 0.9553 GB, free: 15.21 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001384/0.8535, allocations: 1.172 MB / 0.9565 GB, free: 14.66 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.809e-06/0.8535, allocations: 4.25 kB / 0.9565 GB, free: 14.66 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001943/0.8537, allocations: 41.28 kB / 0.9565 GB, free: 14.66 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.12e-06/0.8537, allocations: 3.312 kB / 0.9565 GB, free: 14.66 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.241e-05/0.8537, allocations: 8.219 kB / 0.9565 GB, free: 14.66 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.23e-06/0.8537, allocations: 3.938 kB / 0.9565 GB, free: 14.66 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.496e-06/0.8537, allocations: 6.562 kB / 0.9565 GB, free: 14.66 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007124/0.8545, allocations: 0.7275 MB / 0.9572 GB, free: 14.23 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001983/0.8547, allocations: 173.3 kB / 0.9574 GB, free: 14.11 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.706e-05/0.8548, allocations: 8.312 kB / 0.9574 GB, free: 14.11 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003398/0.8551, allocations: 30.31 kB / 0.9574 GB, free: 14.1 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.612e-05/0.8552, allocations: 22.73 kB / 0.9575 GB, free: 14.1 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.255e-05/0.8552, allocations: 12.59 kB / 0.9575 GB, free: 14.1 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.0005662/0.8558, allocations: 478.5 kB / 0.9579 GB, free: 14 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.5e-07/0.8558, allocations: 1.859 kB / 0.9579 GB, free: 14 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.0009117/0.8567, allocations: 273.5 kB / 0.9582 GB, free: 13.97 MB / 0.7325 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 11 * Number of states: 1 (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 (26): * Single equations (assignments): 24 * 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.002172/0.8589, allocations: 2.353 MB / 0.9605 GB, free: 12.24 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.001004/0.8599, allocations: 0.5068 MB / 0.961 GB, free: 12.23 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 2.434e-06/0.8599, allocations: 0 / 0.961 GB, free: 12.23 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.0001773/0.8601, allocations: 127.2 kB / 0.9611 GB, free: 12.23 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001088/0.8612, allocations: 271.2 kB / 0.9614 GB, free: 12.21 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005207/0.8664, allocations: 5.79 MB / 0.967 GB, free: 8.512 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004156/0.8668, allocations: 0.9061 MB / 0.9679 GB, free: 7.809 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 0.0006503/0.8675, allocations: 169.2 kB / 0.9681 GB, free: 7.762 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002196/0.8677, allocations: 202.3 kB / 0.9683 GB, free: 7.758 MB / 0.7325 GB Notification: Performance of SimCode: time 6.62e-07/0.8677, allocations: 0 / 0.9683 GB, free: 7.758 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 4.358/5.225, allocations: 15.77 MB / 0.9837 GB, free: 2.164 MB / 0.7325 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003239/5.226, allocations: 226.8 kB / 0.9839 GB, free: 1.93 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.261/7.487, allocations: 0 / 0.9839 GB, free: 1.93 MB / 0.7325 GB (rm -f Buildings_8_Buildings.Fluid.Humidifiers.Validation.SprayAirWasher_X_dynamic.pipe ; mkfifo Buildings_8_Buildings.Fluid.Humidifiers.Validation.SprayAirWasher_X_dynamic.pipe ; head -c 1048576 < Buildings_8_Buildings.Fluid.Humidifiers.Validation.SprayAirWasher_X_dynamic.pipe >> ../files/Buildings_8_Buildings.Fluid.Humidifiers.Validation.SprayAirWasher_X_dynamic.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Fluid_Humidifiers_Validation_SprayAirWasher_X_dynamic_fmu --startTime=0 --stopTime=1080 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Fluid_Humidifiers_Validation_SprayAirWasher_X_dynamic.fmu > Buildings_8_Buildings.Fluid.Humidifiers.Validation.SprayAirWasher_X_dynamic.pipe 2>&1) Environment - environmentSimulation: