Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Fluid.Humidifiers.Validation.SteamHumidifier_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.SteamHumidifier_X_dynamic,fileNamePrefix="Buildings_9_Buildings_Fluid_Humidifiers_Validation_SteamHumidifier_X_dynamic",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Humidifiers.Validation.SteamHumidifier_X_dynamic,fileNamePrefix="Buildings_9_Buildings_Fluid_Humidifiers_Validation_SteamHumidifier_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.283/2.283, allocations: 387.4 MB / 394.9 MB, free: 13.36 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.001238/0.001238, allocations: 188.8 kB / 487.4 MB, free: 5.039 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.59/1.59, allocations: 221.5 MB / 0.7824 GB, free: 0.9336 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.001015/0.001015, allocations: 106 kB / 0.9219 GB, free: 2.164 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 2.239e-05/2.211e-05, allocations: 1.062 kB / 1.067 GB, free: 185.6 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3043/0.3043, allocations: 142.4 MB / 1.206 GB, free: 43.88 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 5.293/5.597, allocations: 1.887 GB / 3.093 GB, free: 437 MB / 1.151 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003405/5.598, allocations: 86.19 kB / 3.093 GB, free: 437 MB / 1.151 GB Notification: Performance of FrontEnd - DAE generated: time 1.934/7.532, allocations: 0.5985 GB / 3.692 GB, free: 288 MB / 1.151 GB Notification: Performance of FrontEnd: time 1.953e-06/7.532, allocations: 0 / 3.692 GB, free: 288 MB / 1.151 GB Notification: Performance of Transformations before backend: time 5.925e-05/7.532, allocations: 19.83 kB / 3.692 GB, free: 288 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: 98 * Number of variables: 98 Notification: Performance of Generate backend data structure: time 0.002783/7.535, allocations: 1.04 MB / 3.693 GB, free: 287 MB / 1.151 GB Notification: Performance of prepare preOptimizeDAE: time 4.344e-05/7.535, allocations: 16.02 kB / 3.693 GB, free: 287 MB / 1.151 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001153/7.536, allocations: 221.2 kB / 3.693 GB, free: 286.8 MB / 1.151 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002033/7.538, allocations: 0.8785 MB / 3.694 GB, free: 285.9 MB / 1.151 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.768e-05/7.538, allocations: 12 kB / 3.694 GB, free: 285.9 MB / 1.151 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.969e-05/7.538, allocations: 27.61 kB / 3.694 GB, free: 285.9 MB / 1.151 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0005083/7.539, allocations: 329.5 kB / 3.694 GB, free: 285.6 MB / 1.151 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005977/7.539, allocations: 458.6 kB / 3.695 GB, free: 285.1 MB / 1.151 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.472e-05/7.539, allocations: 0 / 3.695 GB, free: 285.1 MB / 1.151 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.874e-05/7.539, allocations: 0 / 3.695 GB, free: 285.1 MB / 1.151 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.072e-05/7.539, allocations: 16.77 kB / 3.695 GB, free: 285.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.002249/7.542, allocations: 2.069 MB / 3.697 GB, free: 282.9 MB / 1.151 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004339/7.542, allocations: 246.8 kB / 3.697 GB, free: 282.7 MB / 1.151 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001503/7.542, allocations: 125.2 kB / 3.697 GB, free: 282.5 MB / 1.151 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008678/7.543, allocations: 0.8198 MB / 3.698 GB, free: 281.6 MB / 1.151 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002374/7.543, allocations: 195.8 kB / 3.698 GB, free: 281.3 MB / 1.151 GB Notification: Performance of pre-optimization done (n=27): time 1.673e-06/7.543, allocations: 0 / 3.698 GB, free: 281.3 MB / 1.151 GB Notification: Performance of matching and sorting (n=27): time 0.003568/7.547, allocations: 0.8264 MB / 3.699 GB, free: 280.5 MB / 1.151 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.301e-05/7.547, allocations: 110.5 kB / 3.699 GB, free: 280.4 MB / 1.151 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004222/7.547, allocations: 453.3 kB / 3.7 GB, free: 280 MB / 1.151 GB Notification: Performance of collectPreVariables (initialization): time 2.847e-05/7.547, allocations: 32.36 kB / 3.7 GB, free: 279.9 MB / 1.151 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001701/7.548, allocations: 333.5 kB / 3.7 GB, free: 279.6 MB / 1.151 GB Notification: Performance of collectInitialBindings (initialization): time 5.92e-05/7.548, allocations: 84.64 kB / 3.7 GB, free: 279.6 MB / 1.151 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.839e-05/7.548, allocations: 0 / 3.7 GB, free: 279.6 MB / 1.151 GB Notification: Performance of setup shared object (initialization): time 9.248e-05/7.548, allocations: 374.7 kB / 3.7 GB, free: 279.2 MB / 1.151 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001443/7.548, allocations: 107.4 kB / 3.701 GB, free: 279.1 MB / 1.151 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002201/7.548, allocations: 288 kB / 3.701 GB, free: 278.7 MB / 1.151 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002955/7.551, allocations: 0.6403 MB / 3.701 GB, free: 278.1 MB / 1.151 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.308e-06/7.551, allocations: 4 kB / 3.701 GB, free: 278.1 MB / 1.151 GB Notification: Performance of matching and sorting (n=49) (initialization): time 0.003375/7.554, allocations: 0.9002 MB / 3.702 GB, free: 277.2 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 0.0003697/7.555, allocations: 1.836 MB / 3.704 GB, free: 275.3 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.748e-06/7.555, allocations: 4 kB / 3.704 GB, free: 275.3 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.315e-05/7.555, allocations: 8 kB / 3.704 GB, free: 275.3 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003265/7.555, allocations: 91.83 kB / 3.704 GB, free: 275.2 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.278e-06/7.555, allocations: 7.938 kB / 3.704 GB, free: 275.2 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003961/7.556, allocations: 52.45 kB / 3.704 GB, free: 275.1 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.113e-05/7.556, allocations: 27.98 kB / 3.704 GB, free: 275.1 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 7.995e-06/7.556, allocations: 4 kB / 3.704 GB, free: 275.1 MB / 1.151 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003225/7.559, allocations: 0.8157 MB / 3.705 GB, free: 274.3 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.31e-06/7.559, allocations: 7 kB / 3.705 GB, free: 274.3 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.045e-06/7.559, allocations: 8 kB / 3.705 GB, free: 274.3 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002938/7.559, allocations: 83.89 kB / 3.705 GB, free: 274.2 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.923e-06/7.559, allocations: 11.94 kB / 3.705 GB, free: 274.2 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003258/7.56, allocations: 43.47 kB / 3.705 GB, free: 274.2 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.687e-05/7.56, allocations: 28.08 kB / 3.705 GB, free: 274.2 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.0001225/7.56, allocations: 123.6 kB / 3.705 GB, free: 274 MB / 1.151 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.003212/7.563, allocations: 0.7963 MB / 3.706 GB, free: 273.3 MB / 1.151 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.63e-05/7.563, allocations: 55 kB / 3.706 GB, free: 273.2 MB / 1.151 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003251/7.566, allocations: 0.7961 MB / 3.707 GB, free: 272.4 MB / 1.151 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.014e-06/7.566, allocations: 7.953 kB / 3.707 GB, free: 272.4 MB / 1.151 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.731e-06/7.566, allocations: 2.953 kB / 3.707 GB, free: 272.4 MB / 1.151 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.211e-06/7.566, allocations: 0 / 3.707 GB, free: 272.4 MB / 1.151 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003997/7.57, allocations: 1.592 MB / 3.709 GB, free: 270.8 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.619e-06/7.57, allocations: 0 / 3.709 GB, free: 270.8 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002389/7.571, allocations: 55.86 kB / 3.709 GB, free: 270.8 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.376e-06/7.571, allocations: 4 kB / 3.709 GB, free: 270.7 MB / 1.151 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.809e-05/7.571, allocations: 11.98 kB / 3.709 GB, free: 270.7 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.426e-06/7.571, allocations: 0 / 3.709 GB, free: 270.7 MB / 1.151 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.948e-06/7.571, allocations: 7.125 kB / 3.709 GB, free: 270.7 MB / 1.151 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003501/7.574, allocations: 1.195 MB / 3.71 GB, free: 269.5 MB / 1.151 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001941/7.574, allocations: 167.3 kB / 3.71 GB, free: 269.3 MB / 1.151 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.412e-05/7.575, allocations: 11.98 kB / 3.71 GB, free: 269.3 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002525/7.575, allocations: 14.61 kB / 3.71 GB, free: 269.3 MB / 1.151 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.333e-05/7.575, allocations: 23.86 kB / 3.71 GB, free: 269.3 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.553e-05/7.575, allocations: 16 kB / 3.71 GB, free: 269.2 MB / 1.151 GB Notification: Performance of sorting global known variables: time 0.000352/7.575, allocations: 350.9 kB / 3.71 GB, free: 268.9 MB / 1.151 GB Notification: Performance of sort global known variables: time 2.91e-07/7.575, allocations: 2.906 kB / 3.71 GB, free: 268.9 MB / 1.151 GB Notification: Performance of remove unused functions: time 0.001261/7.577, allocations: 373.6 kB / 3.711 GB, free: 268.5 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.006425/7.583, allocations: 4.07 MB / 3.715 GB, free: 264.7 MB / 1.151 GB Notification: Performance of simCode: created initialization part: time 0.0008661/7.584, allocations: 471.1 kB / 3.715 GB, free: 264.3 MB / 1.151 GB Notification: Performance of simCode: created event and clocks part: time 4.949e-06/7.584, allocations: 0 / 3.715 GB, free: 264.3 MB / 1.151 GB Notification: Performance of simCode: created simulation system equations: time 0.000167/7.584, allocations: 130.9 kB / 3.715 GB, free: 264.2 MB / 1.151 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001081/7.585, allocations: 201.1 kB / 3.715 GB, free: 264 MB / 1.151 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005422/7.591, allocations: 1.821 MB / 3.717 GB, free: 262.1 MB / 1.151 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004911/7.591, allocations: 0.9145 MB / 3.718 GB, free: 261.2 MB / 1.151 GB Notification: Performance of simCode: alias equations: time 0.0009785/7.592, allocations: 196.5 kB / 3.718 GB, free: 261 MB / 1.151 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002856/7.592, allocations: 199.4 kB / 3.718 GB, free: 260.8 MB / 1.151 GB Notification: Performance of SimCode: time 1.623e-06/7.592, allocations: 0 / 3.718 GB, free: 260.8 MB / 1.151 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0457/7.638, allocations: 24.47 MB / 3.742 GB, free: 236.6 MB / 1.151 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000162/7.638, allocations: 192 kB / 3.743 GB, free: 236.4 MB / 1.151 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.864/10.5, allocations: 2.109 kB / 3.743 GB, free: 236.4 MB / 1.151 GB (rm -f Buildings_9_Buildings.Fluid.Humidifiers.Validation.SteamHumidifier_X_dynamic.pipe ; mkfifo Buildings_9_Buildings.Fluid.Humidifiers.Validation.SteamHumidifier_X_dynamic.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.Humidifiers.Validation.SteamHumidifier_X_dynamic.pipe >> ../files/Buildings_9_Buildings.Fluid.Humidifiers.Validation.SteamHumidifier_X_dynamic.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_9_Buildings.Fluid.Humidifiers.Validation.SteamHumidifier_X_dynamic_res.mat --tempDir=temp_Buildings_9_Buildings_Fluid_Humidifiers_Validation_SteamHumidifier_X_dynamic_fmu --startTime=0 --stopTime=1080 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Fluid_Humidifiers_Validation_SteamHumidifier_X_dynamic.fmu > Buildings_9_Buildings.Fluid.Humidifiers.Validation.SteamHumidifier_X_dynamic.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_9_Buildings.Fluid.Humidifiers.Validation.SteamHumidifier_X_dynamic_res.mat does not exist to compare? outputFormat=mat