Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Fluid.Humidifiers.Examples.Humidifier_u.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.Humidifiers.Examples.Humidifier_u,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Fluid_Humidifiers_Examples_Humidifier_u",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Humidifiers.Examples.Humidifier_u,fileNamePrefix="Buildings_maint_7_0_x_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 7.0.3-maint.7.0.x/package.mo): time 1.391/1.391, allocations: 251.9 MB / 266.9 MB, free: 11.02 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.00163/0.00163, allocations: 182.9 kB / 326.5 MB, free: 2.238 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.919/1.919, allocations: 205.4 MB / 0.5775 GB, free: 20.26 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009236/0.0009236, allocations: 91 kB / 0.6821 GB, free: 12.89 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003464/0.0003464, allocations: 16.3 kB / 0.7963 GB, free: 135.2 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.232/0.2323, allocations: 106.3 MB / 0.9001 GB, free: 63.84 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Humidifiers.Examples.Humidifier_u): time 0.8951/1.127, allocations: 209.7 MB / 1.105 GB, free: 3.203 MB / 0.698 GB Notification: Performance of NFInst.instExpressions: time 0.01605/1.144, allocations: 9.668 MB / 1.114 GB, free: 3.055 MB / 0.698 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003574/1.147, allocations: 61.78 kB / 1.114 GB, free: 3.055 MB / 0.698 GB Notification: Performance of NFTyping.typeComponents: time 0.004721/1.152, allocations: 0.8677 MB / 1.115 GB, free: 3.055 MB / 0.698 GB Notification: Performance of NFTyping.typeBindings: time 0.01409/1.166, allocations: 2.764 MB / 1.118 GB, free: 3.016 MB / 0.698 GB Notification: Performance of NFTyping.typeClassSections: time 0.009698/1.176, allocations: 1.844 MB / 1.12 GB, free: 2.98 MB / 0.698 GB Notification: Performance of NFFlatten.flatten: time 0.008249/1.184, allocations: 2.451 MB / 1.122 GB, free: 2.973 MB / 0.698 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003301/1.187, allocations: 1.188 MB / 1.123 GB, free: 2.812 MB / 0.698 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005606/1.193, allocations: 1.473 MB / 1.125 GB, free: 2.805 MB / 0.698 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00271/1.196, allocations: 0.8592 MB / 1.126 GB, free: 2.801 MB / 0.698 GB Notification: Performance of NFPackage.collectConstants: time 0.0004534/1.196, allocations: 63.59 kB / 1.126 GB, free: 2.801 MB / 0.698 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005364/1.202, allocations: 1.51 MB / 1.127 GB, free: 2.801 MB / 0.698 GB Notification: Performance of NFScalarize.scalarize: time 0.0008948/1.203, allocations: 448.2 kB / 1.128 GB, free: 2.801 MB / 0.698 GB Notification: Performance of NFVerifyModel.verify: time 0.001186/1.204, allocations: 398.6 kB / 1.128 GB, free: 2.77 MB / 0.698 GB Notification: Performance of NFConvertDAE.convert: time 0.004656/1.209, allocations: 2.348 MB / 1.13 GB, free: 2.586 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 3.657e-06/1.209, allocations: 2.438 kB / 1.13 GB, free: 2.586 MB / 0.698 GB Notification: Performance of FrontEnd: time 2.074e-06/1.209, allocations: 3.125 kB / 1.13 GB, free: 2.586 MB / 0.698 GB Notification: Performance of Transformations before backend: time 6.708e-05/1.209, allocations: 0 / 1.13 GB, free: 2.586 MB / 0.698 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 302 * Number of variables: 302 Notification: Performance of Generate backend data structure: time 0.004894/1.214, allocations: 2.095 MB / 1.132 GB, free: 17.38 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 5.115e-05/1.214, allocations: 9.281 kB / 1.132 GB, free: 17.38 MB / 0.7136 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002717/1.214, allocations: 182.1 kB / 1.132 GB, free: 17.34 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003463/1.217, allocations: 0.6285 MB / 1.133 GB, free: 17.21 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003096/1.22, allocations: 1.312 MB / 1.134 GB, free: 16.63 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003707/1.221, allocations: 171.9 kB / 1.135 GB, free: 16.6 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002097/1.221, allocations: 126.9 kB / 1.135 GB, free: 16.59 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003186/1.224, allocations: 1.445 MB / 1.136 GB, free: 16.14 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.94e-05/1.224, allocations: 3.984 kB / 1.136 GB, free: 16.14 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001253/1.224, allocations: 52.12 kB / 1.136 GB, free: 16.14 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.041e-05/1.225, allocations: 40.53 kB / 1.136 GB, free: 16.13 MB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003154/1.228, allocations: 1.21 MB / 1.137 GB, free: 15.93 MB / 0.7136 GB Warning: The model contains alias variables with redundant start and/or conflicting 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.01003/1.238, allocations: 5.903 MB / 1.143 GB, free: 12.4 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001772/1.24, allocations: 0.9784 MB / 1.144 GB, free: 12.07 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00043/1.24, allocations: 151.3 kB / 1.144 GB, free: 11.95 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001184/1.241, allocations: 0.5541 MB / 1.145 GB, free: 11.76 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=79): time 5.21e-06/1.241, allocations: 0 / 1.145 GB, free: 11.76 MB / 0.7136 GB Notification: Performance of matching and sorting (n=79): time 0.004465/1.246, allocations: 1.723 MB / 1.146 GB, free: 11.17 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.815e-05/1.246, allocations: 89.8 kB / 1.146 GB, free: 11.07 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002145/1.248, allocations: 1.327 MB / 1.148 GB, free: 10.69 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 0.0001472/1.248, allocations: 41.92 kB / 1.148 GB, free: 10.66 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007679/1.249, allocations: 0.7415 MB / 1.149 GB, free: 10.33 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003311/1.249, allocations: 279.8 kB / 1.149 GB, free: 10.13 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.372e-05/1.249, allocations: 18.19 kB / 1.149 GB, free: 10.13 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.0001808/1.249, allocations: 342.1 kB / 1.149 GB, free: 9.812 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009458/1.25, allocations: 419.2 kB / 1.15 GB, free: 9.746 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001163/1.252, allocations: 0.6541 MB / 1.15 GB, free: 9.406 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001053/1.253, allocations: 0.5015 MB / 1.151 GB, free: 9.312 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.632e-06/1.253, allocations: 2.375 kB / 1.151 GB, free: 9.312 MB / 0.7136 GB Notification: Performance of matching and sorting (n=119) (initialization): time 0.003156/1.256, allocations: 1.366 MB / 1.152 GB, free: 8.98 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 0.00114/1.257, allocations: 2.103 MB / 1.154 GB, free: 6.738 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.839e-05/1.257, allocations: 5.938 kB / 1.154 GB, free: 6.738 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004356/1.257, allocations: 68.33 kB / 1.154 GB, free: 6.715 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009513/1.258, allocations: 208.1 kB / 1.154 GB, free: 6.684 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005547/1.259, allocations: 0.5996 MB / 1.155 GB, free: 6.148 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001871/1.261, allocations: 198.4 kB / 1.155 GB, free: 6.059 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.448e-05/1.261, allocations: 45.75 kB / 1.155 GB, free: 6.051 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 1.142e-05/1.261, allocations: 2.875 kB / 1.155 GB, free: 6.051 MB / 0.7136 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002411/1.263, allocations: 1.193 MB / 1.156 GB, free: 5.848 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.13e-05/1.263, allocations: 5.969 kB / 1.156 GB, free: 5.848 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001479/1.264, allocations: 59.84 kB / 1.156 GB, free: 5.828 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008366/1.264, allocations: 211 kB / 1.157 GB, free: 5.793 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001738/1.266, allocations: 1.612 MB / 1.158 GB, free: 4.328 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001768/1.268, allocations: 189.7 kB / 1.158 GB, free: 4.242 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.53e-05/1.268, allocations: 37.12 kB / 1.158 GB, free: 4.242 MB / 0.7136 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 23 * 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 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (108): * Single equations (assignments): 104 * Array equations: 2 * 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.001125/1.269, allocations: 0.5082 MB / 1.159 GB, free: 3.988 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002865/1.269, allocations: 166 kB / 1.159 GB, free: 3.898 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002597/1.272, allocations: 1.187 MB / 1.16 GB, free: 3.594 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.798e-06/1.272, allocations: 9 kB / 1.16 GB, free: 3.594 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.787e-06/1.272, allocations: 0 / 1.16 GB, free: 3.594 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002054/1.274, allocations: 1.072 MB / 1.161 GB, free: 3.25 MB / 0.7136 GB Warning: The model contains alias variables with redundant start and/or conflicting 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.005249/1.279, allocations: 2.797 MB / 1.164 GB, free: 2.176 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.397e-05/1.279, allocations: 10.56 kB / 1.164 GB, free: 2.168 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009016/1.28, allocations: 168.4 kB / 1.164 GB, free: 2.141 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000167/1.281, allocations: 53.8 kB / 1.164 GB, free: 2.121 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.156e-05/1.281, allocations: 24.48 kB / 1.164 GB, free: 2.117 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004747/1.281, allocations: 0.5779 MB / 1.165 GB, free: 1.59 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.3e-06/1.281, allocations: 6.062 kB / 1.165 GB, free: 1.59 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003731/1.285, allocations: 2.014 MB / 1.167 GB, free: 0.8203 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008541/1.286, allocations: 339.7 kB / 1.167 GB, free: 0.6016 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001936/1.286, allocations: 17.19 kB / 1.167 GB, free: 0.6016 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001101/1.287, allocations: 119.2 kB / 1.167 GB, free: 0.5586 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001085/1.287, allocations: 50.05 kB / 1.167 GB, free: 0.5391 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.344e-05/1.287, allocations: 33.2 kB / 1.167 GB, free: 0.5352 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 0.001451/1.289, allocations: 0.8966 MB / 1.168 GB, free: 288 kB / 0.7136 GB Notification: Performance of sort global known variables: time 4.01e-07/1.289, allocations: 2.906 kB / 1.168 GB, free: 288 kB / 0.7136 GB Notification: Performance of remove unused functions: time 0.002362/1.291, allocations: 0.7857 MB / 1.169 GB, free: 176 kB / 0.7136 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 10 * Number of states: 6 (senTem1.T,con1.I.y,humDyn.vol.dynBal.U,humDyn.vol.dynBal.mXi[1],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) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (70): * Single equations (assignments): 68 * 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.004967/1.296, allocations: 3.298 MB / 1.172 GB, free: 14.27 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 0.004012/1.3, allocations: 1.899 MB / 1.174 GB, free: 13.11 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 8.747e-06/1.3, allocations: 8.062 kB / 1.174 GB, free: 13.1 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 0.001124/1.301, allocations: 0.5698 MB / 1.175 GB, free: 12.68 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004076/1.305, allocations: 0.7707 MB / 1.175 GB, free: 12.04 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01375/1.319, allocations: 8.092 MB / 1.183 GB, free: 4.195 MB / 0.7292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001322/1.32, allocations: 1.368 MB / 1.185 GB, free: 2.84 MB / 0.7292 GB Notification: Performance of simCode: alias equations: time 0.002207/1.323, allocations: 360.4 kB / 1.185 GB, free: 2.484 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008934/1.324, allocations: 0.6305 MB / 1.186 GB, free: 2.332 MB / 0.7292 GB Notification: Performance of SimCode: time 1.963e-06/1.324, allocations: 0 / 1.186 GB, free: 2.332 MB / 0.7292 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07853/1.402, allocations: 39.88 MB / 1.224 GB, free: 10.93 MB / 0.7761 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002151/1.402, allocations: 263.4 kB / 1.225 GB, free: 10.57 MB / 0.7761 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.698/5.1, allocations: 0 / 1.225 GB, free: 10.57 MB / 0.7761 GB (rm -f Buildings_maint.7.0.x_Buildings.Fluid.Humidifiers.Examples.Humidifier_u.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Fluid.Humidifiers.Examples.Humidifier_u.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Fluid.Humidifiers.Examples.Humidifier_u.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Fluid.Humidifiers.Examples.Humidifier_u.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_Fluid_Humidifiers_Examples_Humidifier_u_fmu --startTime=0 --stopTime=1200 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_Fluid_Humidifiers_Examples_Humidifier_u.fmu > Buildings_maint.7.0.x_Buildings.Fluid.Humidifiers.Examples.Humidifier_u.pipe 2>&1)