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.414/1.414, allocations: 252 MB / 267.3 MB, free: 10.85 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.001178/0.001178, allocations: 178.1 kB / 327 MB, free: 2.102 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.178/2.178, allocations: 205.4 MB / 0.578 GB, free: 20.14 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.0009887/0.0009888, allocations: 90.34 kB / 0.6826 GB, free: 12.77 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.000376/0.0003761, allocations: 12.66 kB / 0.7971 GB, free: 135.2 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.253/0.2534, allocations: 106.3 MB / 0.9009 GB, free: 63.44 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Humidifiers.Examples.Humidifier_u): time 0.8866/1.14, allocations: 250.7 MB / 1.146 GB, free: 0.6016 MB / 0.698 GB Notification: Performance of NFInst.instExpressions: time 0.01862/1.159, allocations: 9.672 MB / 1.155 GB, free: 328 kB / 0.698 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004462/1.163, allocations: 65.72 kB / 1.155 GB, free: 328 kB / 0.698 GB Notification: Performance of NFTyping.typeComponents: time 0.003665/1.167, allocations: 0.8178 MB / 1.156 GB, free: 308 kB / 0.698 GB Notification: Performance of NFTyping.typeBindings: time 0.01098/1.178, allocations: 2.56 MB / 1.159 GB, free: 176 kB / 0.698 GB Notification: Performance of NFTyping.typeClassSections: time 0.007312/1.185, allocations: 1.97 MB / 1.16 GB, free: 100 kB / 0.698 GB Notification: Performance of NFFlatten.flatten: time 0.009626/1.195, allocations: 5.511 MB / 1.166 GB, free: 14.69 MB / 0.7136 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003172/1.198, allocations: 1.397 MB / 1.167 GB, free: 13.89 MB / 0.7136 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005588/1.204, allocations: 1.664 MB / 1.169 GB, free: 13.25 MB / 0.7136 GB Notification: Performance of NFSimplifyModel.simplify: time 0.004541/1.208, allocations: 1.289 MB / 1.17 GB, free: 12.68 MB / 0.7136 GB Notification: Performance of NFPackage.collectConstants: time 0.0005698/1.209, allocations: 63.38 kB / 1.17 GB, free: 12.68 MB / 0.7136 GB Notification: Performance of NFFlatten.collectFunctions: time 0.009166/1.218, allocations: 3.431 MB / 1.173 GB, free: 11.28 MB / 0.7136 GB Notification: Performance of NFScalarize.scalarize: time 0.001267/1.22, allocations: 492.4 kB / 1.174 GB, free: 10.98 MB / 0.7136 GB Notification: Performance of NFVerifyModel.verify: time 0.00245/1.222, allocations: 0.9105 MB / 1.175 GB, free: 10.4 MB / 0.7136 GB Notification: Performance of NFConvertDAE.convert: time 0.009528/1.232, allocations: 3.678 MB / 1.178 GB, free: 8.285 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 7.464e-06/1.232, allocations: 0 / 1.178 GB, free: 8.285 MB / 0.7136 GB Notification: Performance of FrontEnd: time 3.507e-06/1.232, allocations: 0 / 1.178 GB, free: 8.285 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 7.946e-05/1.232, allocations: 0 / 1.178 GB, free: 8.285 MB / 0.7136 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.004794/1.237, allocations: 2.138 MB / 1.181 GB, free: 6.684 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 5.046e-05/1.237, allocations: 9.406 kB / 1.181 GB, free: 6.684 MB / 0.7136 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003002/1.237, allocations: 185.4 kB / 1.181 GB, free: 6.535 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003543/1.24, allocations: 0.6174 MB / 1.181 GB, free: 6.262 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003387/1.244, allocations: 1.378 MB / 1.183 GB, free: 5.27 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004412/1.244, allocations: 169.3 kB / 1.183 GB, free: 5.195 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003125/1.245, allocations: 129.2 kB / 1.183 GB, free: 5.152 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003058/1.248, allocations: 1.457 MB / 1.184 GB, free: 4.258 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.732e-05/1.248, allocations: 3.094 kB / 1.184 GB, free: 4.258 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001235/1.248, allocations: 51.03 kB / 1.184 GB, free: 4.219 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.003e-05/1.248, allocations: 50.73 kB / 1.184 GB, free: 4.207 MB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002885/1.251, allocations: 1.219 MB / 1.186 GB, free: 3.621 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.01092/1.262, allocations: 5.787 MB / 1.191 GB, free: 14.25 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00185/1.264, allocations: 0.9793 MB / 1.192 GB, free: 13.23 MB / 0.7292 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001013/1.265, allocations: 0.511 MB / 1.193 GB, free: 12.72 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006623/1.265, allocations: 331.1 kB / 1.193 GB, free: 12.34 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001182/1.267, allocations: 0.5624 MB / 1.194 GB, free: 11.77 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=79): time 3.507e-06/1.267, allocations: 0 / 1.194 GB, free: 11.77 MB / 0.7292 GB Notification: Performance of matching and sorting (n=79): time 0.004413/1.271, allocations: 1.65 MB / 1.195 GB, free: 10.08 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.829e-05/1.271, allocations: 88.39 kB / 1.195 GB, free: 9.98 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002109/1.273, allocations: 1.334 MB / 1.197 GB, free: 8.637 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 0.0001406/1.273, allocations: 53.16 kB / 1.197 GB, free: 8.582 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007207/1.274, allocations: 0.7439 MB / 1.197 GB, free: 7.828 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002991/1.274, allocations: 275.2 kB / 1.198 GB, free: 7.562 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.581e-05/1.274, allocations: 20 kB / 1.198 GB, free: 7.543 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 0.0001638/1.275, allocations: 345.9 kB / 1.198 GB, free: 7.199 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009168/1.276, allocations: 421.8 kB / 1.198 GB, free: 6.789 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00112/1.277, allocations: 0.6679 MB / 1.199 GB, free: 6.023 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002016/1.279, allocations: 1.101 MB / 1.2 GB, free: 4.863 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.059e-06/1.279, allocations: 0 / 1.2 GB, free: 4.863 MB / 0.7292 GB Notification: Performance of matching and sorting (n=119) (initialization): time 0.003129/1.282, allocations: 1.377 MB / 1.201 GB, free: 3.508 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002386/1.282, allocations: 278.6 kB / 1.202 GB, free: 3.152 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.361e-05/1.282, allocations: 4 kB / 1.202 GB, free: 3.148 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000452/1.283, allocations: 92.72 kB / 1.202 GB, free: 3.055 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009542/1.284, allocations: 209 kB / 1.202 GB, free: 2.863 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000559/1.284, allocations: 0.5901 MB / 1.203 GB, free: 2.25 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001806/1.286, allocations: 202.9 kB / 1.203 GB, free: 2.051 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.395e-05/1.286, allocations: 39.98 kB / 1.203 GB, free: 2.012 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 9.448e-06/1.286, allocations: 4 kB / 1.203 GB, free: 2.008 MB / 0.7292 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002514/1.289, allocations: 1.206 MB / 1.204 GB, free: 0.832 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.077e-05/1.289, allocations: 7.984 kB / 1.204 GB, free: 0.8242 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000165/1.289, allocations: 44.88 kB / 1.204 GB, free: 0.7773 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009008/1.29, allocations: 215.6 kB / 1.204 GB, free: 0.5781 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00168/1.291, allocations: 1.605 MB / 1.206 GB, free: 14.84 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001756/1.293, allocations: 191.1 kB / 1.206 GB, free: 14.66 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.349e-05/1.293, allocations: 44 kB / 1.206 GB, free: 14.61 MB / 0.7448 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 (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,4)} Notification: Performance of prepare postOptimizeDAE: time 0.0009864/1.294, allocations: 0.4952 MB / 1.207 GB, free: 14.1 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003592/1.295, allocations: 162.1 kB / 1.207 GB, free: 13.94 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00266/1.297, allocations: 1.195 MB / 1.208 GB, free: 12.71 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.03e-05/1.297, allocations: 11.94 kB / 1.208 GB, free: 12.7 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.647e-06/1.297, allocations: 4 kB / 1.208 GB, free: 12.7 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002096/1.299, allocations: 1.08 MB / 1.209 GB, free: 11.58 MB / 0.7448 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.006087/1.306, allocations: 2.807 MB / 1.212 GB, free: 8.684 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.596e-06/1.306, allocations: 3.938 kB / 1.212 GB, free: 8.68 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009093/1.307, allocations: 172.1 kB / 1.212 GB, free: 8.512 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001557/1.307, allocations: 48.77 kB / 1.212 GB, free: 8.461 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.087e-05/1.307, allocations: 27.98 kB / 1.212 GB, free: 8.434 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003814/1.307, allocations: 0.5798 MB / 1.213 GB, free: 7.828 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.922e-06/1.307, allocations: 8 kB / 1.213 GB, free: 7.82 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003725/1.311, allocations: 1.867 MB / 1.214 GB, free: 5.902 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000798/1.312, allocations: 346.9 kB / 1.215 GB, free: 5.543 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001788/1.312, allocations: 23.94 kB / 1.215 GB, free: 5.52 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001138/1.313, allocations: 118.5 kB / 1.215 GB, free: 5.406 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001257/1.313, allocations: 52.44 kB / 1.215 GB, free: 5.355 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.037e-05/1.313, allocations: 27.98 kB / 1.215 GB, free: 5.328 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 0.001441/1.315, allocations: 0.9098 MB / 1.216 GB, free: 4.422 MB / 0.7448 GB Notification: Performance of sort global known variables: time 3.11e-07/1.315, allocations: 0 / 1.216 GB, free: 4.422 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.002331/1.317, allocations: 0.7943 MB / 1.217 GB, free: 3.629 MB / 0.7448 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 (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,4)} Notification: Performance of Backend phase and start with SimCode phase: time 0.004876/1.322, allocations: 2.58 MB / 1.219 GB, free: 0.9922 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.004144/1.326, allocations: 1.902 MB / 1.221 GB, free: 15.06 MB / 0.7605 GB Notification: Performance of simCode: created event and clocks part: time 4.248e-06/1.326, allocations: 4 kB / 1.221 GB, free: 15.05 MB / 0.7605 GB Notification: Performance of simCode: created simulation system equations: time 0.001577/1.328, allocations: 0.5695 MB / 1.221 GB, free: 14.48 MB / 0.7605 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006548/1.334, allocations: 0.7943 MB / 1.222 GB, free: 13.69 MB / 0.7605 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03399/1.368, allocations: 13.39 MB / 1.235 GB, free: 15.75 MB / 0.7761 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001105/1.369, allocations: 1.331 MB / 1.237 GB, free: 14.39 MB / 0.7761 GB Notification: Performance of simCode: alias equations: time 0.001877/1.371, allocations: 368.4 kB / 1.237 GB, free: 14.02 MB / 0.7761 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009045/1.372, allocations: 0.632 MB / 1.238 GB, free: 13.39 MB / 0.7761 GB Notification: Performance of SimCode: time 9.72e-07/1.372, allocations: 0 / 1.238 GB, free: 13.39 MB / 0.7761 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07392/1.446, allocations: 39.49 MB / 1.276 GB, free: 6.289 MB / 0.8073 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002397/1.447, allocations: 280.7 kB / 1.276 GB, free: 5.914 MB / 0.8073 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.134/5.58, allocations: 0 / 1.276 GB, free: 5.914 MB / 0.8073 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)