Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.Humidifiers.Examples.Humidifier_u.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.Examples.Humidifier_u,fileNamePrefix="Buildings_latest_Buildings_Fluid_Humidifiers_Examples_Humidifier_u",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Humidifiers.Examples.Humidifier_u,fileNamePrefix="Buildings_latest_Buildings_Fluid_Humidifiers_Examples_Humidifier_u",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.22/2.22, allocations: 390.3 MB / 402.8 MB, free: 6.672 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.001301/0.001301, allocations: 184.9 kB / 496.1 MB, free: 12.86 MB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.505/1.505, allocations: 221.3 MB / 0.7915 GB, free: 5.445 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.001128/0.001128, allocations: 99.5 kB / 0.9318 GB, free: 5.754 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 2.813e-05/2.818e-05, allocations: 5.016 kB / 1.079 GB, free: 140.5 MB / 0.7292 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2802/0.2802, allocations: 143 MB / 1.219 GB, free: 13.45 MB / 0.7448 GB Notification: Performance of FrontEnd - scodeFlatten: time 5.527/5.808, allocations: 1.933 GB / 3.152 GB, free: 325.2 MB / 1.167 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002184/5.808, allocations: 85.64 kB / 3.152 GB, free: 325.2 MB / 1.167 GB Notification: Performance of FrontEnd - DAE generated: time 3.478/9.286, allocations: 1.052 GB / 4.204 GB, free: 158.6 MB / 1.167 GB Notification: Performance of FrontEnd: time 2.034e-06/9.286, allocations: 0 / 4.204 GB, free: 158.6 MB / 1.167 GB Notification: Performance of Transformations before backend: time 0.0001507/9.286, allocations: 47.94 kB / 4.204 GB, free: 158.5 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: 300 * Number of variables: 300 Notification: Performance of Generate backend data structure: time 0.004121/9.291, allocations: 2.071 MB / 4.206 GB, free: 156.4 MB / 1.167 GB Notification: Performance of prepare preOptimizeDAE: time 4.29e-05/9.291, allocations: 12.03 kB / 4.206 GB, free: 156.4 MB / 1.167 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002187/9.291, allocations: 180.8 kB / 4.206 GB, free: 156.2 MB / 1.167 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003668/9.295, allocations: 0.6298 MB / 4.207 GB, free: 155.6 MB / 1.167 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003153/9.298, allocations: 1.441 MB / 4.208 GB, free: 154.1 MB / 1.167 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003522/9.298, allocations: 162.2 kB / 4.208 GB, free: 153.9 MB / 1.167 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001958/9.298, allocations: 124 kB / 4.208 GB, free: 153.8 MB / 1.167 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002124/9.3, allocations: 1.365 MB / 4.21 GB, free: 152.4 MB / 1.167 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.884e-05/9.3, allocations: 0 / 4.21 GB, free: 152.4 MB / 1.167 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001189/9.301, allocations: 55.98 kB / 4.21 GB, free: 152.3 MB / 1.167 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.14e-05/9.301, allocations: 46.25 kB / 4.21 GB, free: 152.3 MB / 1.167 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001552/9.302, allocations: 1.048 MB / 4.211 GB, free: 151.2 MB / 1.167 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.008194/9.31, allocations: 6.004 MB / 4.217 GB, free: 144.9 MB / 1.167 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001731/9.312, allocations: 0.9577 MB / 4.218 GB, free: 143.8 MB / 1.167 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009487/9.313, allocations: 476.2 kB / 4.218 GB, free: 143.4 MB / 1.167 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006881/9.314, allocations: 318.8 kB / 4.218 GB, free: 143 MB / 1.167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001085/9.315, allocations: 0.5146 MB / 4.219 GB, free: 142.5 MB / 1.167 GB Notification: Performance of pre-optimization done (n=85): time 4.228e-06/9.315, allocations: 4 kB / 4.219 GB, free: 142.5 MB / 1.167 GB Notification: Performance of matching and sorting (n=87): time 0.006446/9.321, allocations: 2.453 MB / 4.221 GB, free: 139.9 MB / 1.167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.774e-05/9.322, allocations: 204.7 kB / 4.222 GB, free: 139.7 MB / 1.167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002127/9.324, allocations: 1.11 MB / 4.223 GB, free: 138.6 MB / 1.167 GB Notification: Performance of collectPreVariables (initialization): time 0.0001165/9.324, allocations: 41.7 kB / 4.223 GB, free: 138.5 MB / 1.167 GB Notification: Performance of collectInitialEqns (initialization): time 0.000652/9.324, allocations: 0.7328 MB / 4.223 GB, free: 137.8 MB / 1.167 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002708/9.325, allocations: 299.7 kB / 4.224 GB, free: 137.5 MB / 1.167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.32e-05/9.325, allocations: 16 kB / 4.224 GB, free: 137.5 MB / 1.167 GB Notification: Performance of setup shared object (initialization): time 7.524e-05/9.325, allocations: 338 kB / 4.224 GB, free: 137.1 MB / 1.167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008016/9.326, allocations: 353.9 kB / 4.224 GB, free: 136.8 MB / 1.167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000987/9.327, allocations: 0.5863 MB / 4.225 GB, free: 136.1 MB / 1.167 GB Warning: It was not possible to determine if the initialization problem is consistent, because of not evaluable parameters/start values during compile time: humDyn.vol.dynBal.medium.p = humDyn.vol.dynBal.p_start (sin.p = humDyn.vol.dynBal.p_start) Notification: Performance of analyzeInitialSystem (initialization): time 0.01586/9.343, allocations: 2.59 MB / 4.227 GB, free: 133.5 MB / 1.167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.933e-06/9.343, allocations: 8 kB / 4.227 GB, free: 133.5 MB / 1.167 GB Notification: Performance of matching and sorting (n=108) (initialization): time 0.002964/9.346, allocations: 1.176 MB / 4.229 GB, free: 132.3 MB / 1.167 GB Notification: Performance of prepare postOptimizeDAE: time 0.0003685/9.346, allocations: 1.467 MB / 4.23 GB, free: 130.7 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.55e-05/9.346, allocations: 11.94 kB / 4.23 GB, free: 130.7 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002538/9.346, allocations: 56.83 kB / 4.23 GB, free: 130.6 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001451/9.348, allocations: 211.7 kB / 4.23 GB, free: 130.4 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004899/9.348, allocations: 0.5953 MB / 4.231 GB, free: 129.8 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002903/9.351, allocations: 147.8 kB / 4.231 GB, free: 129.7 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001804/9.351, allocations: 36 kB / 4.231 GB, free: 129.6 MB / 1.167 GB Notification: Performance of prepare postOptimizeDAE: time 2.092e-05/9.351, allocations: 4 kB / 4.231 GB, free: 129.6 MB / 1.167 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002555/9.354, allocations: 1.024 MB / 4.232 GB, free: 128.6 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.112e-05/9.354, allocations: 4.031 kB / 4.232 GB, free: 128.6 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002151/9.354, allocations: 52.83 kB / 4.232 GB, free: 128.5 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001381/9.356, allocations: 211.7 kB / 4.232 GB, free: 128.3 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001791/9.357, allocations: 1.592 MB / 4.234 GB, free: 126.6 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00272/9.36, allocations: 156 kB / 4.234 GB, free: 126.4 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001267/9.36, allocations: 43.95 kB / 4.234 GB, free: 126.4 MB / 1.167 GB Warning: The initial conditions are over specified. The following 1 initial equations are redundant, so they are removed from the initialization sytem: humDyn.vol.dynBal.medium.p = humDyn.vol.dynBal.p_start. Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 16 * Number of states: 0 () * Number of discrete variables: 9 ($whenCondition1,TSet.a,TSet.b,TSet.last,$PRE.TSet.nextEvent,TSet.nextEvent,TSet.nextEventScaled,con2.I.trigger_internal,con1.I.trigger_internal) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (99): * Single equations (assignments): 97 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 4} Notification: Performance of prepare postOptimizeDAE: time 0.0004081/9.361, allocations: 195.2 kB / 4.234 GB, free: 126.2 MB / 1.167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003598/9.361, allocations: 162 kB / 4.234 GB, free: 126 MB / 1.167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003025/9.364, allocations: 1.155 MB / 4.236 GB, free: 124.8 MB / 1.167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.019e-05/9.364, allocations: 8 kB / 4.236 GB, free: 124.8 MB / 1.167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.028e-06/9.364, allocations: 0 / 4.236 GB, free: 124.8 MB / 1.167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002101/9.366, allocations: 1.013 MB / 4.237 GB, free: 123.8 MB / 1.167 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 postOpt removeSimpleEquations (simulation): time 0.006806/9.373, allocations: 2.955 MB / 4.239 GB, free: 120.7 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.069e-05/9.373, allocations: 4 kB / 4.239 GB, free: 120.7 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001456/9.375, allocations: 192.1 kB / 4.24 GB, free: 120.5 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002011/9.375, allocations: 52.78 kB / 4.24 GB, free: 120.5 MB / 1.167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001041/9.375, allocations: 27.98 kB / 4.24 GB, free: 120.4 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003928/9.375, allocations: 0.5875 MB / 4.24 GB, free: 119.8 MB / 1.167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.953e-06/9.375, allocations: 11.92 kB / 4.24 GB, free: 119.8 MB / 1.167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00367/9.379, allocations: 2.041 MB / 4.242 GB, free: 117.6 MB / 1.167 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001081/9.38, allocations: 347.1 kB / 4.243 GB, free: 117.2 MB / 1.167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003024/9.381, allocations: 24.19 kB / 4.243 GB, free: 117.2 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001981/9.383, allocations: 139.7 kB / 4.243 GB, free: 117.1 MB / 1.167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001502/9.383, allocations: 60.45 kB / 4.243 GB, free: 117 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001108/9.383, allocations: 39.97 kB / 4.243 GB, free: 117 MB / 1.167 GB Notification: Performance of sorting global known variables: time 0.001683/9.385, allocations: 0.8655 MB / 4.244 GB, free: 116.1 MB / 1.167 GB Notification: Performance of sort global known variables: time 3.4e-07/9.385, allocations: 3.938 kB / 4.244 GB, free: 116.1 MB / 1.167 GB Notification: Performance of remove unused functions: time 0.003975/9.389, allocations: 0.9451 MB / 4.245 GB, free: 115.1 MB / 1.167 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 17 * Number of states: 6 (senTem1.T,con1.I.y,humDyn.vol.dynBal.medium.Xi[1],humDyn.vol.dynBal.U,senTem2.T,con2.I.y) * Number of discrete variables: 6 ($whenCondition1,TSet.a,TSet.b,TSet.last,TSet.nextEvent,TSet.nextEventScaled) * Number of discrete states: 6 (TSet.nextEvent,TSet.last,TSet.nextEventScaled,TSet.b,TSet.a,$whenCondition1) * Top-level inputs: 0 Notification: Strong component statistics for simulation (78): * Single equations (assignments): 76 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 4} Notification: Performance of Backend phase and start with SimCode phase: time 0.007606/9.396, allocations: 5.872 MB / 4.25 GB, free: 108.9 MB / 1.167 GB Notification: Performance of simCode: created initialization part: time 0.003603/9.4, allocations: 1.722 MB / 4.252 GB, free: 107.2 MB / 1.167 GB Notification: Performance of simCode: created event and clocks part: time 7.033e-06/9.4, allocations: 8.312 kB / 4.252 GB, free: 107.2 MB / 1.167 GB Notification: Performance of simCode: created simulation system equations: time 0.001003/9.401, allocations: 0.5259 MB / 4.253 GB, free: 106.6 MB / 1.167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005434/9.406, allocations: 0.8156 MB / 4.253 GB, free: 105.8 MB / 1.167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009942/9.416, allocations: 3 MB / 4.256 GB, free: 102.7 MB / 1.167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009997/9.417, allocations: 1.371 MB / 4.258 GB, free: 101.3 MB / 1.167 GB Notification: Performance of simCode: alias equations: time 0.003312/9.421, allocations: 0.5002 MB / 4.258 GB, free: 100.8 MB / 1.167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009883/9.422, allocations: 0.6086 MB / 4.259 GB, free: 100.2 MB / 1.167 GB Notification: Performance of SimCode: time 5.51e-07/9.422, allocations: 0 / 4.259 GB, free: 100.2 MB / 1.167 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1289/9.551, allocations: 83.76 MB / 4.341 GB, free: 16.72 MB / 1.167 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002294/9.551, allocations: 222.3 kB / 4.341 GB, free: 16.5 MB / 1.167 GB Notification: Performance of buildModelFMU: Generate platform static: time 5.04/14.59, allocations: 0 / 4.341 GB, free: 16.5 MB / 1.167 GB (rm -f Buildings_latest_Buildings.Fluid.Humidifiers.Examples.Humidifier_u.pipe ; mkfifo Buildings_latest_Buildings.Fluid.Humidifiers.Examples.Humidifier_u.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.Humidifiers.Examples.Humidifier_u.pipe >> ../files/Buildings_latest_Buildings.Fluid.Humidifiers.Examples.Humidifier_u.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_latest_Buildings.Fluid.Humidifiers.Examples.Humidifier_u_res.mat --tempDir=temp_Buildings_latest_Buildings_Fluid_Humidifiers_Examples_Humidifier_u_fmu --startTime=0 --stopTime=1200 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Fluid_Humidifiers_Examples_Humidifier_u.fmu > Buildings_latest_Buildings.Fluid.Humidifiers.Examples.Humidifier_u.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_latest_Buildings.Fluid.Humidifiers.Examples.Humidifier_u_res.mat does not exist to compare? outputFormat=mat