Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.Humidifiers.Validation.SteamHumidifier_X_dynamic.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/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 10.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.Humidifiers.Validation.SteamHumidifier_X_dynamic,fileNamePrefix="Buildings_latest_Buildings_Fluid_Humidifiers_Validation_SteamHumidifier_X_dynamic",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Humidifiers.Validation.SteamHumidifier_X_dynamic,fileNamePrefix="Buildings_latest_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 10.0.0-master/package.mo): time 2.542/2.542, allocations: 390.5 MB / 398 MB, free: 10.9 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.001055/0.001054, allocations: 180.8 kB / 491.2 MB, free: 1.555 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.506/1.506, allocations: 221.5 MB / 0.7868 GB, free: 13.25 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.001102/0.001102, allocations: 91.88 kB / 0.9269 GB, free: 13.75 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 2.396e-05/2.392e-05, allocations: 4 kB / 1.073 GB, free: 181.9 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2817/0.2818, allocations: 143 MB / 1.212 GB, free: 39.42 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 5.883/6.165, allocations: 1.888 GB / 3.101 GB, free: 352.4 MB / 1.151 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002664/6.165, allocations: 86.12 kB / 3.101 GB, free: 352.4 MB / 1.151 GB Notification: Performance of FrontEnd - DAE generated: time 2.019/8.184, allocations: 0.5985 GB / 3.699 GB, free: 223.9 MB / 1.151 GB Notification: Performance of FrontEnd: time 1.803e-06/8.185, allocations: 0 / 3.699 GB, free: 223.9 MB / 1.151 GB Notification: Performance of Transformations before backend: time 6.109e-05/8.185, allocations: 20 kB / 3.699 GB, free: 223.8 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.002909/8.188, allocations: 1.042 MB / 3.7 GB, free: 222.8 MB / 1.151 GB Notification: Performance of prepare preOptimizeDAE: time 4.749e-05/8.188, allocations: 12.03 kB / 3.7 GB, free: 222.7 MB / 1.151 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001244/8.189, allocations: 218.9 kB / 3.7 GB, free: 222.5 MB / 1.151 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002242/8.191, allocations: 0.8842 MB / 3.701 GB, free: 221.6 MB / 1.151 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.952e-05/8.191, allocations: 15.94 kB / 3.701 GB, free: 221.6 MB / 1.151 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.251e-05/8.191, allocations: 24 kB / 3.701 GB, free: 221.6 MB / 1.151 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0005493/8.192, allocations: 333.5 kB / 3.702 GB, free: 221.3 MB / 1.151 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006069/8.192, allocations: 443.9 kB / 3.702 GB, free: 220.8 MB / 1.151 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.538e-05/8.192, allocations: 3.938 kB / 3.702 GB, free: 220.8 MB / 1.151 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.102e-05/8.192, allocations: 4 kB / 3.702 GB, free: 220.8 MB / 1.151 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.345e-05/8.192, allocations: 16.78 kB / 3.702 GB, free: 220.8 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.002448/8.195, allocations: 2.067 MB / 3.704 GB, free: 218.6 MB / 1.151 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004352/8.195, allocations: 254.6 kB / 3.704 GB, free: 218.3 MB / 1.151 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001514/8.196, allocations: 125.7 kB / 3.704 GB, free: 218.2 MB / 1.151 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009364/8.197, allocations: 0.8219 MB / 3.705 GB, free: 217.2 MB / 1.151 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002419/8.197, allocations: 188.6 kB / 3.705 GB, free: 217 MB / 1.151 GB Notification: Performance of pre-optimization done (n=27): time 2.865e-06/8.197, allocations: 4 kB / 3.705 GB, free: 217 MB / 1.151 GB Notification: Performance of matching and sorting (n=27): time 0.003687/8.2, allocations: 0.8251 MB / 3.706 GB, free: 216.2 MB / 1.151 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.622e-05/8.201, allocations: 107 kB / 3.706 GB, free: 216.1 MB / 1.151 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005331/8.201, allocations: 454.1 kB / 3.707 GB, free: 215.6 MB / 1.151 GB Notification: Performance of collectPreVariables (initialization): time 4.355e-05/8.201, allocations: 37.67 kB / 3.707 GB, free: 215.6 MB / 1.151 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002151/8.201, allocations: 327.7 kB / 3.707 GB, free: 215.2 MB / 1.151 GB Notification: Performance of collectInitialBindings (initialization): time 6.321e-05/8.201, allocations: 98.64 kB / 3.707 GB, free: 215.1 MB / 1.151 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.803e-05/8.201, allocations: 0 / 3.707 GB, free: 215.1 MB / 1.151 GB Notification: Performance of setup shared object (initialization): time 0.000107/8.202, allocations: 366.7 kB / 3.708 GB, free: 214.8 MB / 1.151 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001428/8.202, allocations: 104.8 kB / 3.708 GB, free: 214.7 MB / 1.151 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002253/8.202, allocations: 287.3 kB / 3.708 GB, free: 214.3 MB / 1.151 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00296/8.205, allocations: 0.6447 MB / 3.709 GB, free: 213.7 MB / 1.151 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.39e-06/8.205, allocations: 4 kB / 3.709 GB, free: 213.6 MB / 1.151 GB Notification: Performance of matching and sorting (n=49) (initialization): time 0.00349/8.208, allocations: 0.8973 MB / 3.709 GB, free: 212.7 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 0.0004408/8.209, allocations: 1.84 MB / 3.711 GB, free: 210.8 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.153e-05/8.209, allocations: 4 kB / 3.711 GB, free: 210.8 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.969e-05/8.209, allocations: 8 kB / 3.711 GB, free: 210.8 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003853/8.209, allocations: 91.83 kB / 3.711 GB, free: 210.7 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.148e-05/8.209, allocations: 11.98 kB / 3.711 GB, free: 210.7 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004499/8.21, allocations: 47.58 kB / 3.711 GB, free: 210.6 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.112e-05/8.21, allocations: 16 kB / 3.711 GB, free: 210.6 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 9.077e-06/8.21, allocations: 4 kB / 3.711 GB, free: 210.6 MB / 1.151 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003146/8.213, allocations: 0.8211 MB / 3.712 GB, free: 209.8 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.312e-06/8.213, allocations: 7.953 kB / 3.712 GB, free: 209.8 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.987e-06/8.213, allocations: 8 kB / 3.712 GB, free: 209.8 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003103/8.213, allocations: 92.39 kB / 3.712 GB, free: 209.7 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.061e-06/8.213, allocations: 11.98 kB / 3.712 GB, free: 209.7 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000389/8.214, allocations: 39.67 kB / 3.712 GB, free: 209.6 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.647e-05/8.214, allocations: 16 kB / 3.712 GB, free: 209.6 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.0001341/8.214, allocations: 116.9 kB / 3.712 GB, free: 209.5 MB / 1.151 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.003163/8.217, allocations: 0.7991 MB / 3.713 GB, free: 208.7 MB / 1.151 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.828e-05/8.217, allocations: 59.3 kB / 3.713 GB, free: 208.6 MB / 1.151 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003227/8.22, allocations: 0.7905 MB / 3.714 GB, free: 207.8 MB / 1.151 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.614e-06/8.22, allocations: 4 kB / 3.714 GB, free: 207.8 MB / 1.151 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.033e-06/8.22, allocations: 4 kB / 3.714 GB, free: 207.8 MB / 1.151 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.01e-05/8.221, allocations: 11.97 kB / 3.714 GB, free: 207.8 MB / 1.151 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004081/8.225, allocations: 1.594 MB / 3.716 GB, free: 206.1 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.72e-06/8.225, allocations: 4 kB / 3.716 GB, free: 206.1 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002407/8.225, allocations: 51.91 kB / 3.716 GB, free: 206.1 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.846e-06/8.225, allocations: 0 / 3.716 GB, free: 206.1 MB / 1.151 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.827e-05/8.225, allocations: 12.28 kB / 3.716 GB, free: 206.1 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.172e-06/8.225, allocations: 8 kB / 3.716 GB, free: 206.1 MB / 1.151 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.43e-06/8.225, allocations: 3.938 kB / 3.716 GB, free: 206.1 MB / 1.151 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003482/8.228, allocations: 1.194 MB / 3.717 GB, free: 204.8 MB / 1.151 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002609/8.229, allocations: 172.2 kB / 3.717 GB, free: 204.6 MB / 1.151 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.661e-05/8.229, allocations: 7.938 kB / 3.717 GB, free: 204.6 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002625/8.229, allocations: 16.05 kB / 3.717 GB, free: 204.6 MB / 1.151 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.903e-05/8.229, allocations: 15.98 kB / 3.717 GB, free: 204.5 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.844e-05/8.229, allocations: 19.98 kB / 3.717 GB, free: 204.5 MB / 1.151 GB Notification: Performance of sorting global known variables: time 0.0004033/8.23, allocations: 339 kB / 3.717 GB, free: 204.2 MB / 1.151 GB Notification: Performance of sort global known variables: time 1.61e-07/8.23, allocations: 3.938 kB / 3.717 GB, free: 204.2 MB / 1.151 GB Notification: Performance of remove unused functions: time 0.001389/8.231, allocations: 383.2 kB / 3.718 GB, free: 203.8 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.006704/8.238, allocations: 4.067 MB / 3.722 GB, free: 199.9 MB / 1.151 GB Notification: Performance of simCode: created initialization part: time 0.0008619/8.239, allocations: 475.6 kB / 3.722 GB, free: 199.4 MB / 1.151 GB Notification: Performance of simCode: created event and clocks part: time 6.362e-06/8.239, allocations: 0 / 3.722 GB, free: 199.4 MB / 1.151 GB Notification: Performance of simCode: created simulation system equations: time 0.0001658/8.239, allocations: 128.5 kB / 3.722 GB, free: 199.3 MB / 1.151 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001141/8.24, allocations: 198.1 kB / 3.723 GB, free: 199.1 MB / 1.151 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004601/8.245, allocations: 1.802 MB / 3.724 GB, free: 197.3 MB / 1.151 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003669/8.245, allocations: 0.9144 MB / 3.725 GB, free: 196.3 MB / 1.151 GB Notification: Performance of simCode: alias equations: time 0.0008284/8.246, allocations: 216.5 kB / 3.725 GB, free: 196.1 MB / 1.151 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002305/8.246, allocations: 199.4 kB / 3.726 GB, free: 195.9 MB / 1.151 GB Notification: Performance of SimCode: time 9.71e-07/8.246, allocations: 0 / 3.726 GB, free: 195.9 MB / 1.151 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05173/8.298, allocations: 24.46 MB / 3.749 GB, free: 171.6 MB / 1.151 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001704/8.298, allocations: 204.2 kB / 3.75 GB, free: 171.4 MB / 1.151 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.881/11.18, allocations: 1.406 kB / 3.75 GB, free: 171.4 MB / 1.151 GB (rm -f Buildings_latest_Buildings.Fluid.Humidifiers.Validation.SteamHumidifier_X_dynamic.pipe ; mkfifo Buildings_latest_Buildings.Fluid.Humidifiers.Validation.SteamHumidifier_X_dynamic.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.Humidifiers.Validation.SteamHumidifier_X_dynamic.pipe >> ../files/Buildings_latest_Buildings.Fluid.Humidifiers.Validation.SteamHumidifier_X_dynamic.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_latest_Buildings.Fluid.Humidifiers.Validation.SteamHumidifier_X_dynamic_res.mat --tempDir=temp_Buildings_latest_Buildings_Fluid_Humidifiers_Validation_SteamHumidifier_X_dynamic_fmu --startTime=0 --stopTime=1080 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Fluid_Humidifiers_Validation_SteamHumidifier_X_dynamic.fmu > Buildings_latest_Buildings.Fluid.Humidifiers.Validation.SteamHumidifier_X_dynamic.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_latest_Buildings.Fluid.Humidifiers.Validation.SteamHumidifier_X_dynamic_res.mat does not exist to compare? outputFormat=mat