Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Fluid.Humidifiers.Validation.SprayAirWasher_X.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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 Buildings with version 9.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.Humidifiers.Validation.SprayAirWasher_X,fileNamePrefix="Buildings_9_Buildings_Fluid_Humidifiers_Validation_SprayAirWasher_X",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Humidifiers.Validation.SprayAirWasher_X,fileNamePrefix="Buildings_9_Buildings_Fluid_Humidifiers_Validation_SprayAirWasher_X",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo): time 2.153/2.153, allocations: 390.3 MB / 405.3 MB, free: 13.43 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001009/0.001009, allocations: 175.3 kB / 498.1 MB, free: 5.672 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.447/1.447, allocations: 223.1 MB / 0.7948 GB, free: 18.82 MB / 0.5573 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00107/0.00107, allocations: 97.73 kB / 0.9346 GB, free: 7.137 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.0004203/0.0004203, allocations: 12.16 kB / 1.084 GB, free: 212.9 MB / 0.8073 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2706/0.2711, allocations: 142.4 MB / 1.223 GB, free: 89.48 MB / 0.8073 GB Notification: Performance of FrontEnd - scodeFlatten: time 3.603/3.874, allocations: 1.887 GB / 3.11 GB, free: 93.12 MB / 1.167 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000234/3.875, allocations: 91.95 kB / 3.11 GB, free: 93.03 MB / 1.167 GB Notification: Performance of FrontEnd - DAE generated: time 2.222/6.096, allocations: 0.6049 GB / 3.715 GB, free: 308.2 MB / 1.167 GB Notification: Performance of FrontEnd: time 1.603e-06/6.096, allocations: 0 / 3.715 GB, free: 308.2 MB / 1.167 GB Notification: Performance of Transformations before backend: time 8.429e-05/6.097, allocations: 17.48 kB / 3.715 GB, free: 308.2 MB / 1.167 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.003598/6.1, allocations: 1.152 MB / 3.716 GB, free: 307.7 MB / 1.167 GB Notification: Performance of prepare preOptimizeDAE: time 4.507e-05/6.1, allocations: 10 kB / 3.716 GB, free: 307.7 MB / 1.167 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001768/6.1, allocations: 76.56 kB / 3.716 GB, free: 307.7 MB / 1.167 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001396/6.102, allocations: 215.3 kB / 3.716 GB, free: 307.7 MB / 1.167 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002709/6.104, allocations: 0.9002 MB / 3.717 GB, free: 307.4 MB / 1.167 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.871e-05/6.105, allocations: 31.19 kB / 3.717 GB, free: 307.4 MB / 1.167 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.348e-05/6.105, allocations: 40.09 kB / 3.717 GB, free: 307.4 MB / 1.167 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009597/6.106, allocations: 0.4999 MB / 3.718 GB, free: 307.3 MB / 1.167 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.657e-05/6.106, allocations: 7.391 kB / 3.718 GB, free: 307.3 MB / 1.167 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.472e-05/6.106, allocations: 17.78 kB / 3.718 GB, free: 307.3 MB / 1.167 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.441e-05/6.106, allocations: 12.75 kB / 3.718 GB, free: 307.3 MB / 1.167 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008242/6.107, allocations: 416.1 kB / 3.718 GB, free: 307.3 MB / 1.167 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.002871/6.109, allocations: 2.134 MB / 3.72 GB, free: 306.2 MB / 1.167 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005233/6.11, allocations: 260.7 kB / 3.72 GB, free: 306.1 MB / 1.167 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008924/6.111, allocations: 0.8212 MB / 3.721 GB, free: 305.3 MB / 1.167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002636/6.111, allocations: 190.4 kB / 3.721 GB, free: 305.2 MB / 1.167 GB Notification: Performance of pre-optimization done (n=25): time 3.086e-06/6.111, allocations: 0 / 3.721 GB, free: 305.2 MB / 1.167 GB Notification: Performance of matching and sorting (n=25): time 0.0009534/6.112, allocations: 436.7 kB / 3.722 GB, free: 305.1 MB / 1.167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.832e-05/6.112, allocations: 112 kB / 3.722 GB, free: 305 MB / 1.167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005919/6.113, allocations: 0.5433 MB / 3.722 GB, free: 304.9 MB / 1.167 GB Notification: Performance of collectPreVariables (initialization): time 3.612e-05/6.113, allocations: 32.42 kB / 3.722 GB, free: 304.9 MB / 1.167 GB Notification: Performance of collectInitialEqns (initialization): time 0.000191/6.113, allocations: 333.3 kB / 3.723 GB, free: 304.7 MB / 1.167 GB Notification: Performance of collectInitialBindings (initialization): time 8.884e-05/6.113, allocations: 84.08 kB / 3.723 GB, free: 304.7 MB / 1.167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.932e-05/6.113, allocations: 7.812 kB / 3.723 GB, free: 304.7 MB / 1.167 GB Notification: Performance of setup shared object (initialization): time 9.341e-05/6.113, allocations: 380.2 kB / 3.723 GB, free: 304.4 MB / 1.167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001751/6.113, allocations: 109.1 kB / 3.723 GB, free: 304.4 MB / 1.167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002489/6.114, allocations: 289.4 kB / 3.724 GB, free: 304.2 MB / 1.167 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002244/6.114, allocations: 153.7 kB / 3.724 GB, free: 304.2 MB / 1.167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.398e-06/6.114, allocations: 3.781 kB / 3.724 GB, free: 304.2 MB / 1.167 GB Notification: Performance of matching and sorting (n=45) (initialization): time 0.0006284/6.115, allocations: 446 kB / 3.724 GB, free: 304.1 MB / 1.167 GB Notification: Performance of prepare postOptimizeDAE: time 0.0003748/6.115, allocations: 1.835 MB / 3.726 GB, free: 302.2 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.056e-05/6.115, allocations: 3.938 kB / 3.726 GB, free: 302.2 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.583e-05/6.115, allocations: 7.125 kB / 3.726 GB, free: 302.2 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003166/6.115, allocations: 86.45 kB / 3.726 GB, free: 302.2 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.333e-05/6.115, allocations: 11.33 kB / 3.726 GB, free: 302.2 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004692/6.116, allocations: 58.22 kB / 3.726 GB, free: 302.2 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.963e-05/6.116, allocations: 20.08 kB / 3.726 GB, free: 302.2 MB / 1.167 GB Notification: Performance of prepare postOptimizeDAE: time 9.468e-06/6.116, allocations: 7.062 kB / 3.726 GB, free: 302.2 MB / 1.167 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0005185/6.116, allocations: 362.4 kB / 3.726 GB, free: 302.2 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.773e-06/6.116, allocations: 6.516 kB / 3.726 GB, free: 302.2 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.735e-06/6.116, allocations: 6.719 kB / 3.726 GB, free: 302.2 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002903/6.117, allocations: 88.14 kB / 3.727 GB, free: 302.2 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.744e-06/6.117, allocations: 7.688 kB / 3.727 GB, free: 302.2 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000397/6.117, allocations: 52.34 kB / 3.727 GB, free: 302.2 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.134e-05/6.117, allocations: 23.75 kB / 3.727 GB, free: 302.2 MB / 1.167 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 21 * 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.0002746/6.118, allocations: 301.2 kB / 3.727 GB, free: 302 MB / 1.167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.46e-05/6.118, allocations: 60.75 kB / 3.727 GB, free: 301.9 MB / 1.167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005325/6.118, allocations: 317.5 kB / 3.727 GB, free: 301.9 MB / 1.167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.41e-06/6.118, allocations: 3.188 kB / 3.727 GB, free: 301.9 MB / 1.167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.582e-06/6.118, allocations: 0 / 3.727 GB, free: 301.9 MB / 1.167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.46e-06/6.118, allocations: 7.422 kB / 3.727 GB, free: 301.9 MB / 1.167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001365/6.12, allocations: 1.158 MB / 3.728 GB, free: 301.4 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.956e-06/6.12, allocations: 0 / 3.728 GB, free: 301.4 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001969/6.12, allocations: 45.64 kB / 3.728 GB, free: 301.4 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.292e-06/6.12, allocations: 11.08 kB / 3.728 GB, free: 301.4 MB / 1.167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.38e-05/6.12, allocations: 10.7 kB / 3.728 GB, free: 301.4 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.587e-06/6.12, allocations: 6.562 kB / 3.728 GB, free: 301.4 MB / 1.167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.162e-06/6.12, allocations: 11.19 kB / 3.729 GB, free: 301.4 MB / 1.167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005133/6.12, allocations: 0.5761 MB / 3.729 GB, free: 301 MB / 1.167 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002163/6.121, allocations: 174.2 kB / 3.729 GB, free: 300.8 MB / 1.167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.747e-05/6.121, allocations: 13.47 kB / 3.729 GB, free: 300.8 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002582/6.121, allocations: 7.188 kB / 3.729 GB, free: 300.8 MB / 1.167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.23e-05/6.121, allocations: 26.97 kB / 3.729 GB, free: 300.8 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.092e-05/6.121, allocations: 15.5 kB / 3.729 GB, free: 300.8 MB / 1.167 GB Notification: Performance of sorting global known variables: time 0.0004279/6.121, allocations: 445.2 kB / 3.73 GB, free: 300.7 MB / 1.167 GB Notification: Performance of sort global known variables: time 2.2e-07/6.121, allocations: 0 / 3.73 GB, free: 300.7 MB / 1.167 GB Notification: Performance of remove unused functions: time 0.001304/6.123, allocations: 419.5 kB / 3.73 GB, free: 300.7 MB / 1.167 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 10 * 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 (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.002984/6.126, allocations: 3.344 MB / 3.733 GB, free: 298.9 MB / 1.167 GB Notification: Performance of simCode: created initialization part: time 0.0006983/6.126, allocations: 476.1 kB / 3.734 GB, free: 298.9 MB / 1.167 GB Notification: Performance of simCode: created event and clocks part: time 2.455e-06/6.126, allocations: 0 / 3.734 GB, free: 298.9 MB / 1.167 GB Notification: Performance of simCode: created simulation system equations: time 0.0001715/6.127, allocations: 128.8 kB / 3.734 GB, free: 298.9 MB / 1.167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001028/6.128, allocations: 258.1 kB / 3.734 GB, free: 298.9 MB / 1.167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007232/6.135, allocations: 7.053 MB / 3.741 GB, free: 294.6 MB / 1.167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003707/6.135, allocations: 0.9091 MB / 3.742 GB, free: 293.9 MB / 1.167 GB Notification: Performance of simCode: alias equations: time 0.0007028/6.136, allocations: 175.8 kB / 3.742 GB, free: 293.9 MB / 1.167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002575/6.136, allocations: 204.2 kB / 3.742 GB, free: 293.9 MB / 1.167 GB Notification: Performance of SimCode: time 7.81e-07/6.136, allocations: 0 / 3.742 GB, free: 293.9 MB / 1.167 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05955/6.196, allocations: 36.28 MB / 3.778 GB, free: 293 MB / 1.167 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000173/6.196, allocations: 230.2 kB / 3.778 GB, free: 292.8 MB / 1.167 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.21/9.406, allocations: 0 / 3.778 GB, free: 292.8 MB / 1.167 GB (rm -f Buildings_9_Buildings.Fluid.Humidifiers.Validation.SprayAirWasher_X.pipe ; mkfifo Buildings_9_Buildings.Fluid.Humidifiers.Validation.SprayAirWasher_X.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.Humidifiers.Validation.SprayAirWasher_X.pipe >> ../files/Buildings_9_Buildings.Fluid.Humidifiers.Validation.SprayAirWasher_X.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_9_Buildings.Fluid.Humidifiers.Validation.SprayAirWasher_X_res.mat --tempDir=temp_Buildings_9_Buildings_Fluid_Humidifiers_Validation_SprayAirWasher_X_fmu --startTime=0 --stopTime=1080 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Fluid_Humidifiers_Validation_SprayAirWasher_X.fmu > Buildings_9_Buildings.Fluid.Humidifiers.Validation.SprayAirWasher_X.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_9_Buildings.Fluid.Humidifiers.Validation.SprayAirWasher_X_res.mat does not exist to compare? outputFormat=mat