Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Fluid.Humidifiers.Validation.SprayAirWasher_X_dynamic.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_dynamic,fileNamePrefix="Buildings_9_Buildings_Fluid_Humidifiers_Validation_SprayAirWasher_X_dynamic",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Humidifiers.Validation.SprayAirWasher_X_dynamic,fileNamePrefix="Buildings_9_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/Buildings 9.1.1-maint.9.1.x/package.mo): time 2.206/2.206, allocations: 390.3 MB / 405.3 MB, free: 13.48 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.001109/0.001109, allocations: 171.4 kB / 498.1 MB, free: 5.754 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.458/1.458, allocations: 223.2 MB / 0.7948 GB, free: 17.89 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.0009842/0.0009842, allocations: 92.33 kB / 0.9346 GB, free: 6.195 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.000373/0.0003729, allocations: 6.938 kB / 1.084 GB, free: 221.5 MB / 0.823 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2549/0.2553, allocations: 142.3 MB / 1.223 GB, free: 114.2 MB / 0.823 GB Notification: Performance of FrontEnd - scodeFlatten: time 3.909/4.164, allocations: 1.887 GB / 3.11 GB, free: 127.2 MB / 1.167 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002918/4.164, allocations: 93.03 kB / 3.11 GB, free: 127.1 MB / 1.167 GB Notification: Performance of FrontEnd - DAE generated: time 3.143/7.308, allocations: 0.9749 GB / 4.085 GB, free: 41.27 MB / 1.167 GB Notification: Performance of FrontEnd: time 2.675e-06/7.308, allocations: 0 / 4.085 GB, free: 41.27 MB / 1.167 GB Notification: Performance of Transformations before backend: time 0.0001271/7.308, allocations: 27.92 kB / 4.085 GB, free: 41.24 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.004472/7.312, allocations: 1.154 MB / 4.086 GB, free: 40.03 MB / 1.167 GB Notification: Performance of prepare preOptimizeDAE: time 5.87e-05/7.312, allocations: 8.031 kB / 4.086 GB, free: 40.02 MB / 1.167 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002474/7.313, allocations: 78.52 kB / 4.086 GB, free: 39.94 MB / 1.167 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001499/7.314, allocations: 218.9 kB / 4.086 GB, free: 39.72 MB / 1.167 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002894/7.317, allocations: 0.8976 MB / 4.087 GB, free: 38.79 MB / 1.167 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.573e-05/7.317, allocations: 33 kB / 4.087 GB, free: 38.75 MB / 1.167 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001156/7.317, allocations: 36 kB / 4.087 GB, free: 38.72 MB / 1.167 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009593/7.318, allocations: 0.5083 MB / 4.088 GB, free: 38.19 MB / 1.167 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.611e-05/7.318, allocations: 8 kB / 4.088 GB, free: 38.18 MB / 1.167 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.361e-05/7.318, allocations: 12 kB / 4.088 GB, free: 38.17 MB / 1.167 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.284e-05/7.318, allocations: 17 kB / 4.088 GB, free: 38.15 MB / 1.167 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008589/7.319, allocations: 411.6 kB / 4.088 GB, free: 37.75 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.002803/7.322, allocations: 2.157 MB / 4.09 GB, free: 35.43 MB / 1.167 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005406/7.323, allocations: 266.7 kB / 4.091 GB, free: 35.16 MB / 1.167 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000899/7.323, allocations: 0.8299 MB / 4.091 GB, free: 34.16 MB / 1.167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002668/7.324, allocations: 199.9 kB / 4.092 GB, free: 33.94 MB / 1.167 GB Notification: Performance of pre-optimization done (n=27): time 2.465e-06/7.324, allocations: 0 / 4.092 GB, free: 33.94 MB / 1.167 GB Notification: Performance of matching and sorting (n=27): time 0.0009974/7.325, allocations: 462.5 kB / 4.092 GB, free: 33.48 MB / 1.167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.598e-05/7.325, allocations: 110.8 kB / 4.092 GB, free: 33.35 MB / 1.167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006185/7.325, allocations: 0.5502 MB / 4.093 GB, free: 32.8 MB / 1.167 GB Notification: Performance of collectPreVariables (initialization): time 3.919e-05/7.325, allocations: 33.7 kB / 4.093 GB, free: 32.76 MB / 1.167 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001893/7.326, allocations: 327.6 kB / 4.093 GB, free: 32.43 MB / 1.167 GB Notification: Performance of collectInitialBindings (initialization): time 6.995e-05/7.326, allocations: 94.64 kB / 4.093 GB, free: 32.34 MB / 1.167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.869e-05/7.326, allocations: 12.12 kB / 4.093 GB, free: 32.33 MB / 1.167 GB Notification: Performance of setup shared object (initialization): time 9.183e-05/7.326, allocations: 370.8 kB / 4.093 GB, free: 31.96 MB / 1.167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001893/7.326, allocations: 116.8 kB / 4.094 GB, free: 31.84 MB / 1.167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002546/7.326, allocations: 305.5 kB / 4.094 GB, free: 31.46 MB / 1.167 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000236/7.327, allocations: 165.8 kB / 4.094 GB, free: 31.3 MB / 1.167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.607e-06/7.327, allocations: 0 / 4.094 GB, free: 31.3 MB / 1.167 GB Notification: Performance of matching and sorting (n=49) (initialization): time 0.0006998/7.327, allocations: 478.5 kB / 4.094 GB, free: 30.83 MB / 1.167 GB Notification: Performance of prepare postOptimizeDAE: time 0.0003121/7.328, allocations: 1.833 MB / 4.096 GB, free: 28.86 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.108e-05/7.328, allocations: 4 kB / 4.096 GB, free: 28.85 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.839e-05/7.328, allocations: 11.94 kB / 4.096 GB, free: 28.84 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003458/7.328, allocations: 87.89 kB / 4.096 GB, free: 28.75 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.152e-05/7.328, allocations: 8.031 kB / 4.096 GB, free: 28.75 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004555/7.329, allocations: 63.45 kB / 4.096 GB, free: 28.68 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.211e-05/7.329, allocations: 27.98 kB / 4.096 GB, free: 28.66 MB / 1.167 GB Notification: Performance of prepare postOptimizeDAE: time 9.398e-06/7.329, allocations: 5.25 kB / 4.096 GB, free: 28.65 MB / 1.167 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0005428/7.329, allocations: 387.2 kB / 4.097 GB, free: 28.27 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.243e-06/7.329, allocations: 4 kB / 4.097 GB, free: 28.27 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.925e-06/7.329, allocations: 8 kB / 4.097 GB, free: 28.26 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003151/7.329, allocations: 88.39 kB / 4.097 GB, free: 28.18 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.125e-06/7.33, allocations: 11.94 kB / 4.097 GB, free: 28.16 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003759/7.33, allocations: 59.58 kB / 4.097 GB, free: 28.11 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.806e-05/7.33, allocations: 23.98 kB / 4.097 GB, free: 28.08 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 (49): * Single equations (assignments): 49 * 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.0002683/7.33, allocations: 285 kB / 4.097 GB, free: 27.79 MB / 1.167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.559e-05/7.33, allocations: 63.2 kB / 4.097 GB, free: 27.73 MB / 1.167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005554/7.331, allocations: 340.5 kB / 4.098 GB, free: 27.39 MB / 1.167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.989e-06/7.331, allocations: 4 kB / 4.098 GB, free: 27.39 MB / 1.167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.48e-06/7.331, allocations: 4 kB / 4.098 GB, free: 27.38 MB / 1.167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.348e-06/7.331, allocations: 0 / 4.098 GB, free: 27.38 MB / 1.167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001439/7.332, allocations: 1.18 MB / 4.099 GB, free: 26.12 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.178e-06/7.332, allocations: 4 kB / 4.099 GB, free: 26.11 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002446/7.333, allocations: 51.91 kB / 4.099 GB, free: 26.06 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.192e-06/7.333, allocations: 4.281 kB / 4.099 GB, free: 26.06 MB / 1.167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.592e-05/7.333, allocations: 12 kB / 4.099 GB, free: 26.05 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.396e-06/7.333, allocations: 4 kB / 4.099 GB, free: 26.04 MB / 1.167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.346e-06/7.333, allocations: 7.938 kB / 4.099 GB, free: 26.04 MB / 1.167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000724/7.333, allocations: 0.7337 MB / 4.1 GB, free: 25.2 MB / 1.167 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002209/7.334, allocations: 172.2 kB / 4.1 GB, free: 25.02 MB / 1.167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.444e-05/7.334, allocations: 15.95 kB / 4.1 GB, free: 25 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002809/7.334, allocations: 15.92 kB / 4.1 GB, free: 24.98 MB / 1.167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.867e-05/7.334, allocations: 27.97 kB / 4.1 GB, free: 24.96 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.294e-05/7.334, allocations: 16 kB / 4.1 GB, free: 24.94 MB / 1.167 GB Notification: Performance of sorting global known variables: time 0.000403/7.335, allocations: 439 kB / 4.1 GB, free: 24.52 MB / 1.167 GB Notification: Performance of sort global known variables: time 2.1e-07/7.335, allocations: 4 kB / 4.1 GB, free: 24.51 MB / 1.167 GB Notification: Performance of remove unused functions: time 0.001311/7.336, allocations: 415.5 kB / 4.101 GB, free: 24.11 MB / 1.167 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 10 * 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 (28): * Single equations (assignments): 26 * 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.003581/7.339, allocations: 3.525 MB / 4.104 GB, free: 20.61 MB / 1.167 GB Notification: Performance of simCode: created initialization part: time 0.0008606/7.34, allocations: 0.4919 MB / 4.105 GB, free: 20.12 MB / 1.167 GB Notification: Performance of simCode: created event and clocks part: time 4.679e-06/7.34, allocations: 4 kB / 4.105 GB, free: 20.12 MB / 1.167 GB Notification: Performance of simCode: created simulation system equations: time 0.0002093/7.341, allocations: 137.9 kB / 4.105 GB, free: 19.99 MB / 1.167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001178/7.342, allocations: 259 kB / 4.105 GB, free: 19.74 MB / 1.167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007811/7.35, allocations: 7.269 MB / 4.112 GB, free: 12.3 MB / 1.167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003109/7.35, allocations: 0.914 MB / 4.113 GB, free: 11.36 MB / 1.167 GB Notification: Performance of simCode: alias equations: time 0.0007385/7.351, allocations: 172.9 kB / 4.113 GB, free: 11.19 MB / 1.167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002713/7.351, allocations: 207.4 kB / 4.113 GB, free: 10.98 MB / 1.167 GB Notification: Performance of SimCode: time 1.052e-06/7.351, allocations: 0 / 4.113 GB, free: 10.98 MB / 1.167 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.6624/8.013, allocations: 36.62 MB / 4.149 GB, free: 312.3 MB / 1.167 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001981/8.014, allocations: 231.7 kB / 4.149 GB, free: 312 MB / 1.167 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.274/11.29, allocations: 0 / 4.149 GB, free: 312 MB / 1.167 GB (rm -f Buildings_9_Buildings.Fluid.Humidifiers.Validation.SprayAirWasher_X_dynamic.pipe ; mkfifo Buildings_9_Buildings.Fluid.Humidifiers.Validation.SprayAirWasher_X_dynamic.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.Humidifiers.Validation.SprayAirWasher_X_dynamic.pipe >> ../files/Buildings_9_Buildings.Fluid.Humidifiers.Validation.SprayAirWasher_X_dynamic.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_9_Buildings.Fluid.Humidifiers.Validation.SprayAirWasher_X_dynamic_res.mat --tempDir=temp_Buildings_9_Buildings_Fluid_Humidifiers_Validation_SprayAirWasher_X_dynamic_fmu --startTime=0 --stopTime=1080 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Fluid_Humidifiers_Validation_SprayAirWasher_X_dynamic.fmu > Buildings_9_Buildings.Fluid.Humidifiers.Validation.SprayAirWasher_X_dynamic.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_9_Buildings.Fluid.Humidifiers.Validation.SprayAirWasher_X_dynamic_res.mat does not exist to compare? outputFormat=mat