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.266/2.266, allocations: 387.1 MB / 399.7 MB, free: 9.488 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.00101/0.00101, allocations: 188.7 kB / 492.3 MB, free: 0.5977 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.538/1.538, allocations: 221.3 MB / 0.7871 GB, free: 12.88 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.0008796/0.0008796, allocations: 91.92 kB / 0.9267 GB, free: 13.96 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 3.025e-05/3.028e-05, allocations: 4 kB / 1.073 GB, free: 180.3 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2645/0.2646, allocations: 142.3 MB / 1.212 GB, free: 38.44 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 6.544/6.809, allocations: 1.888 GB / 3.1 GB, free: 353.9 MB / 1.151 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002389/6.809, allocations: 88.16 kB / 3.101 GB, free: 353.9 MB / 1.151 GB Notification: Performance of FrontEnd - DAE generated: time 2.017/8.827, allocations: 0.6052 GB / 3.706 GB, free: 220.1 MB / 1.151 GB Notification: Performance of FrontEnd: time 1.433e-06/8.827, allocations: 0 / 3.706 GB, free: 220.1 MB / 1.151 GB Notification: Performance of Transformations before backend: time 6.166e-05/8.827, allocations: 23.92 kB / 3.706 GB, free: 220.1 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.002956/8.83, allocations: 1.042 MB / 3.707 GB, free: 219 MB / 1.151 GB Notification: Performance of prepare preOptimizeDAE: time 5.093e-05/8.83, allocations: 8.031 kB / 3.707 GB, free: 219 MB / 1.151 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001004/8.83, allocations: 78.52 kB / 3.707 GB, free: 218.9 MB / 1.151 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001203/8.831, allocations: 214.9 kB / 3.707 GB, free: 218.7 MB / 1.151 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00239/8.833, allocations: 0.8855 MB / 3.708 GB, free: 217.8 MB / 1.151 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.024e-05/8.834, allocations: 39.53 kB / 3.708 GB, free: 217.8 MB / 1.151 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.002e-05/8.834, allocations: 43.94 kB / 3.708 GB, free: 217.7 MB / 1.151 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007506/8.834, allocations: 497.4 kB / 3.708 GB, free: 217.2 MB / 1.151 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.408e-05/8.834, allocations: 0 / 3.708 GB, free: 217.2 MB / 1.151 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.29e-05/8.834, allocations: 20 kB / 3.708 GB, free: 217.2 MB / 1.151 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.58e-05/8.834, allocations: 16.77 kB / 3.709 GB, free: 217.2 MB / 1.151 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005504/8.835, allocations: 386.9 kB / 3.709 GB, free: 216.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.002559/8.838, allocations: 2.166 MB / 3.711 GB, free: 214.5 MB / 1.151 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004877/8.838, allocations: 270.6 kB / 3.711 GB, free: 214.2 MB / 1.151 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001712/8.838, allocations: 129.7 kB / 3.711 GB, free: 214.1 MB / 1.151 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009487/8.839, allocations: 0.8183 MB / 3.712 GB, free: 213.1 MB / 1.151 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002707/8.84, allocations: 207.9 kB / 3.712 GB, free: 212.8 MB / 1.151 GB Notification: Performance of pre-optimization done (n=27): time 2.124e-06/8.84, allocations: 0 / 3.712 GB, free: 212.8 MB / 1.151 GB Notification: Performance of matching and sorting (n=27): time 0.0008674/8.84, allocations: 353.4 kB / 3.713 GB, free: 212.5 MB / 1.151 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.434e-05/8.84, allocations: 107 kB / 3.713 GB, free: 212.4 MB / 1.151 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000623/8.841, allocations: 0.5502 MB / 3.713 GB, free: 211.8 MB / 1.151 GB Notification: Performance of collectPreVariables (initialization): time 3.554e-05/8.841, allocations: 33.7 kB / 3.713 GB, free: 211.8 MB / 1.151 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002098/8.841, allocations: 323.7 kB / 3.714 GB, free: 211.4 MB / 1.151 GB Notification: Performance of collectInitialBindings (initialization): time 6.731e-05/8.841, allocations: 98.73 kB / 3.714 GB, free: 211.4 MB / 1.151 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.907e-05/8.841, allocations: 4 kB / 3.714 GB, free: 211.3 MB / 1.151 GB Notification: Performance of setup shared object (initialization): time 0.0001088/8.842, allocations: 378.7 kB / 3.714 GB, free: 211 MB / 1.151 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001582/8.842, allocations: 104.8 kB / 3.714 GB, free: 210.9 MB / 1.151 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000262/8.842, allocations: 309.5 kB / 3.715 GB, free: 210.5 MB / 1.151 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002144/8.842, allocations: 158.1 kB / 3.715 GB, free: 210.3 MB / 1.151 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.158e-06/8.842, allocations: 8 kB / 3.715 GB, free: 210.3 MB / 1.151 GB Notification: Performance of matching and sorting (n=49) (initialization): time 0.0005865/8.843, allocations: 452.8 kB / 3.715 GB, free: 209.9 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 0.0004559/8.843, allocations: 1.841 MB / 3.717 GB, free: 207.9 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.29e-05/8.843, allocations: 4.094 kB / 3.717 GB, free: 207.9 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.624e-05/8.843, allocations: 11.94 kB / 3.717 GB, free: 207.9 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003832/8.844, allocations: 87.89 kB / 3.717 GB, free: 207.8 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.582e-05/8.844, allocations: 7.938 kB / 3.717 GB, free: 207.8 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004686/8.844, allocations: 63.52 kB / 3.717 GB, free: 207.7 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.45e-05/8.844, allocations: 27.98 kB / 3.717 GB, free: 207.7 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 1.075e-05/8.844, allocations: 8.578 kB / 3.717 GB, free: 207.7 MB / 1.151 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0005142/8.845, allocations: 369.5 kB / 3.717 GB, free: 207.3 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.214e-06/8.845, allocations: 11.98 kB / 3.717 GB, free: 207.3 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.243e-06/8.845, allocations: 4 kB / 3.717 GB, free: 207.3 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002947/8.845, allocations: 83.91 kB / 3.718 GB, free: 207.2 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.196e-06/8.845, allocations: 15.92 kB / 3.718 GB, free: 207.2 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000328/8.846, allocations: 59.7 kB / 3.718 GB, free: 207.2 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.481e-05/8.846, allocations: 16 kB / 3.718 GB, free: 207.1 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.0001302/8.846, allocations: 140.8 kB / 3.718 GB, free: 207 MB / 1.151 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.406e-05/8.846, allocations: 67.2 kB / 3.718 GB, free: 206.9 MB / 1.151 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005677/8.846, allocations: 321.2 kB / 3.718 GB, free: 206.6 MB / 1.151 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.002e-06/8.846, allocations: 4 kB / 3.718 GB, free: 206.6 MB / 1.151 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.793e-06/8.846, allocations: 0 / 3.718 GB, free: 206.6 MB / 1.151 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.841e-06/8.846, allocations: 4 kB / 3.718 GB, free: 206.6 MB / 1.151 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001372/8.848, allocations: 1.18 MB / 3.719 GB, free: 205.3 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.395e-06/8.848, allocations: 4 kB / 3.719 GB, free: 205.3 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002256/8.848, allocations: 47.91 kB / 3.719 GB, free: 205.3 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.499e-06/8.848, allocations: 4 kB / 3.719 GB, free: 205.3 MB / 1.151 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.851e-05/8.848, allocations: 15.98 kB / 3.719 GB, free: 205.3 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.262e-06/8.848, allocations: 7.938 kB / 3.719 GB, free: 205.3 MB / 1.151 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.495e-06/8.848, allocations: 7.938 kB / 3.719 GB, free: 205.2 MB / 1.151 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007035/8.849, allocations: 0.7309 MB / 3.72 GB, free: 204.4 MB / 1.151 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001882/8.849, allocations: 172.3 kB / 3.72 GB, free: 204.2 MB / 1.151 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.92e-05/8.849, allocations: 15.95 kB / 3.72 GB, free: 204.2 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002481/8.849, allocations: 15.98 kB / 3.72 GB, free: 204.2 MB / 1.151 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.952e-05/8.849, allocations: 19.98 kB / 3.72 GB, free: 204.2 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.152e-05/8.849, allocations: 11.98 kB / 3.72 GB, free: 204.2 MB / 1.151 GB Notification: Performance of sorting global known variables: time 0.0004151/8.85, allocations: 439.1 kB / 3.721 GB, free: 203.7 MB / 1.151 GB Notification: Performance of sort global known variables: time 1.41e-07/8.85, allocations: 4 kB / 3.721 GB, free: 203.7 MB / 1.151 GB Notification: Performance of remove unused functions: time 0.001435/8.851, allocations: 423.4 kB / 3.721 GB, free: 203.3 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.003698/8.855, allocations: 3.459 MB / 3.725 GB, free: 199.9 MB / 1.151 GB Notification: Performance of simCode: created initialization part: time 0.0008525/8.856, allocations: 0.4973 MB / 3.725 GB, free: 199.4 MB / 1.151 GB Notification: Performance of simCode: created event and clocks part: time 3.817e-06/8.856, allocations: 4.125 kB / 3.725 GB, free: 199.4 MB / 1.151 GB Notification: Performance of simCode: created simulation system equations: time 0.0001815/8.856, allocations: 131.8 kB / 3.725 GB, free: 199.2 MB / 1.151 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001205/8.857, allocations: 252.5 kB / 3.725 GB, free: 199 MB / 1.151 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004548/8.862, allocations: 1.857 MB / 3.727 GB, free: 197.1 MB / 1.151 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003294/8.862, allocations: 0.9152 MB / 3.728 GB, free: 196.1 MB / 1.151 GB Notification: Performance of simCode: alias equations: time 0.0008174/8.863, allocations: 236.8 kB / 3.728 GB, free: 195.9 MB / 1.151 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002278/8.863, allocations: 199.4 kB / 3.729 GB, free: 195.7 MB / 1.151 GB Notification: Performance of SimCode: time 9.81e-07/8.863, allocations: 0 / 3.729 GB, free: 195.7 MB / 1.151 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06575/8.929, allocations: 41.26 MB / 3.769 GB, free: 154.7 MB / 1.151 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001828/8.929, allocations: 220.7 kB / 3.769 GB, free: 154.4 MB / 1.151 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.449/12.38, allocations: 4 kB / 3.769 GB, free: 154.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