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.315/2.315, allocations: 387.4 MB / 394.9 MB, free: 13.41 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.001044/0.001044, allocations: 172.9 kB / 487.4 MB, free: 5.074 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.563/1.563, allocations: 221.5 MB / 0.7824 GB, free: 1.031 MB / 0.5417 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001008/0.001008, allocations: 107.8 kB / 0.9219 GB, free: 2.258 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 2.352e-05/2.354e-05, allocations: 4 kB / 1.067 GB, free: 185.7 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3006/0.3007, allocations: 142.4 MB / 1.206 GB, free: 43.91 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 5.698/5.998, allocations: 1.886 GB / 3.092 GB, free: 436.5 MB / 1.151 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002855/5.999, allocations: 84.55 kB / 3.092 GB, free: 436.5 MB / 1.151 GB Notification: Performance of FrontEnd - DAE generated: time 3.32/9.319, allocations: 0.9638 GB / 4.056 GB, free: 293 MB / 1.151 GB Notification: Performance of FrontEnd: time 3.116e-06/9.319, allocations: 0 / 4.056 GB, free: 293 MB / 1.151 GB Notification: Performance of Transformations before backend: time 0.0001333/9.319, allocations: 16.44 kB / 4.056 GB, free: 293 MB / 1.151 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.003595/9.323, allocations: 1.04 MB / 4.057 GB, free: 292.5 MB / 1.151 GB Notification: Performance of prepare preOptimizeDAE: time 4.435e-05/9.323, allocations: 16.25 kB / 4.057 GB, free: 292.5 MB / 1.151 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001324/9.324, allocations: 218.5 kB / 4.057 GB, free: 292.5 MB / 1.151 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002395/9.327, allocations: 0.8908 MB / 4.058 GB, free: 292.2 MB / 1.151 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.112e-05/9.327, allocations: 14.44 kB / 4.058 GB, free: 292.2 MB / 1.151 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.911e-05/9.327, allocations: 24.47 kB / 4.058 GB, free: 292.2 MB / 1.151 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0006052/9.327, allocations: 330.3 kB / 4.059 GB, free: 292.2 MB / 1.151 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000707/9.328, allocations: 440.8 kB / 4.059 GB, free: 292.1 MB / 1.151 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.701e-05/9.328, allocations: 6 kB / 4.059 GB, free: 292.1 MB / 1.151 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.01e-05/9.328, allocations: 0 / 4.059 GB, free: 292.1 MB / 1.151 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.621e-05/9.328, allocations: 15.78 kB / 4.059 GB, free: 292.1 MB / 1.151 GB Warning: The model contains alias variables with conflicting start and/or 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.00268/9.331, allocations: 2.068 MB / 4.061 GB, free: 291 MB / 1.151 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004537/9.331, allocations: 251.8 kB / 4.061 GB, free: 291 MB / 1.151 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001633/9.332, allocations: 124.1 kB / 4.061 GB, free: 291 MB / 1.151 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009697/9.333, allocations: 0.8206 MB / 4.062 GB, free: 290.1 MB / 1.151 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002534/9.333, allocations: 195.7 kB / 4.062 GB, free: 290 MB / 1.151 GB Notification: Performance of pre-optimization done (n=27): time 2.175e-06/9.333, allocations: 0 / 4.062 GB, free: 290 MB / 1.151 GB Notification: Performance of matching and sorting (n=27): time 0.003696/9.337, allocations: 0.8191 MB / 4.063 GB, free: 290 MB / 1.151 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.538e-05/9.337, allocations: 113.2 kB / 4.063 GB, free: 289.9 MB / 1.151 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005573/9.337, allocations: 455.4 kB / 4.064 GB, free: 289.7 MB / 1.151 GB Notification: Performance of collectPreVariables (initialization): time 3.666e-05/9.337, allocations: 25.7 kB / 4.064 GB, free: 289.7 MB / 1.151 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002422/9.338, allocations: 334 kB / 4.064 GB, free: 289.6 MB / 1.151 GB Notification: Performance of collectInitialBindings (initialization): time 8.769e-05/9.338, allocations: 93.22 kB / 4.064 GB, free: 289.5 MB / 1.151 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.067e-05/9.338, allocations: 3.25 kB / 4.064 GB, free: 289.5 MB / 1.151 GB Notification: Performance of setup shared object (initialization): time 0.0001153/9.338, allocations: 361.1 kB / 4.065 GB, free: 289.2 MB / 1.151 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001613/9.338, allocations: 105.5 kB / 4.065 GB, free: 289.2 MB / 1.151 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002575/9.338, allocations: 286 kB / 4.065 GB, free: 289 MB / 1.151 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002991/9.341, allocations: 0.6446 MB / 4.066 GB, free: 289 MB / 1.151 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.732e-06/9.341, allocations: 3.906 kB / 4.066 GB, free: 289 MB / 1.151 GB Notification: Performance of matching and sorting (n=49) (initialization): time 0.003479/9.345, allocations: 0.9002 MB / 4.066 GB, free: 288.9 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 0.0004526/9.345, allocations: 1.831 MB / 4.068 GB, free: 287 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.32e-05/9.345, allocations: 3.469 kB / 4.068 GB, free: 287 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.551e-05/9.345, allocations: 7.188 kB / 4.068 GB, free: 287 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003533/9.346, allocations: 101.7 kB / 4.068 GB, free: 287 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.24e-05/9.346, allocations: 11.81 kB / 4.068 GB, free: 287 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005438/9.346, allocations: 49.91 kB / 4.068 GB, free: 287 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.513e-05/9.346, allocations: 20.81 kB / 4.068 GB, free: 287 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 1.184e-05/9.346, allocations: 3.781 kB / 4.068 GB, free: 287 MB / 1.151 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003266/9.35, allocations: 0.8166 MB / 4.069 GB, free: 287 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.476e-06/9.35, allocations: 3.656 kB / 4.069 GB, free: 287 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.021e-05/9.35, allocations: 7.438 kB / 4.069 GB, free: 287 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003205/9.35, allocations: 90.56 kB / 4.069 GB, free: 287 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.935e-06/9.35, allocations: 10.94 kB / 4.069 GB, free: 287 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004334/9.35, allocations: 29.97 kB / 4.069 GB, free: 287 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.791e-05/9.35, allocations: 23.84 kB / 4.069 GB, free: 287 MB / 1.151 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 () * 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.0001526/9.351, allocations: 135 kB / 4.069 GB, free: 286.9 MB / 1.151 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.00328/9.354, allocations: 0.7943 MB / 4.07 GB, free: 286.8 MB / 1.151 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001348/9.354, allocations: 52.69 kB / 4.07 GB, free: 286.8 MB / 1.151 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003309/9.357, allocations: 0.7939 MB / 4.071 GB, free: 286.8 MB / 1.151 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.323e-06/9.357, allocations: 3.594 kB / 4.071 GB, free: 286.8 MB / 1.151 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.213e-06/9.357, allocations: 0.8125 kB / 4.071 GB, free: 286.8 MB / 1.151 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.446e-06/9.357, allocations: 3.688 kB / 4.071 GB, free: 286.8 MB / 1.151 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004358/9.362, allocations: 1.603 MB / 4.073 GB, free: 286.3 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.462e-06/9.362, allocations: 3.906 kB / 4.073 GB, free: 286.3 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002501/9.362, allocations: 51.45 kB / 4.073 GB, free: 286.3 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.063e-05/9.362, allocations: 5.75 kB / 4.073 GB, free: 286.3 MB / 1.151 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.678e-05/9.362, allocations: 6.781 kB / 4.073 GB, free: 286.3 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.36e-06/9.362, allocations: 3.844 kB / 4.073 GB, free: 286.3 MB / 1.151 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.156e-06/9.362, allocations: 7.766 kB / 4.073 GB, free: 286.3 MB / 1.151 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003525/9.366, allocations: 1.2 MB / 4.074 GB, free: 285.9 MB / 1.151 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003014/9.366, allocations: 160 kB / 4.074 GB, free: 285.8 MB / 1.151 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001267/9.366, allocations: 11.25 kB / 4.074 GB, free: 285.8 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003293/9.366, allocations: 17.78 kB / 4.074 GB, free: 285.8 MB / 1.151 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.849e-05/9.367, allocations: 28.8 kB / 4.074 GB, free: 285.7 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.482e-05/9.367, allocations: 10.5 kB / 4.074 GB, free: 285.7 MB / 1.151 GB Notification: Performance of sorting global known variables: time 0.0004527/9.367, allocations: 351.1 kB / 4.074 GB, free: 285.7 MB / 1.151 GB Notification: Performance of sort global known variables: time 1.6e-07/9.367, allocations: 0 / 4.074 GB, free: 285.7 MB / 1.151 GB Notification: Performance of remove unused functions: time 0.001591/9.369, allocations: 374.7 kB / 4.075 GB, free: 285.6 MB / 1.151 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) * 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.006833/9.375, allocations: 4.076 MB / 4.079 GB, free: 283.8 MB / 1.151 GB Notification: Performance of simCode: created initialization part: time 0.0009159/9.376, allocations: 475.1 kB / 4.079 GB, free: 283.8 MB / 1.151 GB Notification: Performance of simCode: created event and clocks part: time 5.571e-06/9.376, allocations: 0 / 4.079 GB, free: 283.8 MB / 1.151 GB Notification: Performance of simCode: created simulation system equations: time 0.0001883/9.377, allocations: 137.1 kB / 4.079 GB, free: 283.8 MB / 1.151 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001172/9.378, allocations: 193 kB / 4.08 GB, free: 283.7 MB / 1.151 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005314/9.383, allocations: 1.813 MB / 4.081 GB, free: 283.4 MB / 1.151 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004134/9.384, allocations: 0.9126 MB / 4.082 GB, free: 282.7 MB / 1.151 GB Notification: Performance of simCode: alias equations: time 0.0008723/9.384, allocations: 201.1 kB / 4.082 GB, free: 282.6 MB / 1.151 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002568/9.385, allocations: 198.3 kB / 4.083 GB, free: 282.6 MB / 1.151 GB Notification: Performance of SimCode: time 1.052e-06/9.385, allocations: 0 / 4.083 GB, free: 282.6 MB / 1.151 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0491/9.434, allocations: 24.46 MB / 4.106 GB, free: 281.7 MB / 1.151 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001636/9.434, allocations: 182.7 kB / 4.107 GB, free: 281.5 MB / 1.151 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.907/12.34, allocations: 2.109 kB / 4.107 GB, free: 281.5 MB / 1.151 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