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.409/1.409, allocations: 252 MB / 267 MB, free: 10.97 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.001031/0.001031, allocations: 183 kB / 326.6 MB, free: 2.223 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.5777 GB, free: 20.24 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.001061/0.00106, allocations: 86.36 kB / 0.6822 GB, free: 12.89 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003856/0.0003858, allocations: 10.03 kB / 0.7964 GB, free: 135 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2675/0.2679, allocations: 106.3 MB / 0.9003 GB, free: 63.84 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Humidifiers.Examples.Humidifier_u): time 0.9037/1.172, allocations: 233.9 MB / 1.129 GB, free: 3.223 MB / 0.698 GB Notification: Performance of NFInst.instExpressions: time 0.01639/1.188, allocations: 9.093 MB / 1.138 GB, free: 2.992 MB / 0.698 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003637/1.192, allocations: 69.38 kB / 1.138 GB, free: 2.988 MB / 0.698 GB Notification: Performance of NFTyping.typeComponents: time 0.00287/1.195, allocations: 0.636 MB / 1.138 GB, free: 2.977 MB / 0.698 GB Notification: Performance of NFTyping.typeBindings: time 0.008032/1.203, allocations: 1.992 MB / 1.14 GB, free: 2.887 MB / 0.698 GB Notification: Performance of NFTyping.typeClassSections: time 0.005933/1.209, allocations: 1.552 MB / 1.142 GB, free: 2.832 MB / 0.698 GB Notification: Performance of NFFlatten.flatten: time 0.007878/1.217, allocations: 4.716 MB / 1.146 GB, free: 2.824 MB / 0.698 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002731/1.219, allocations: 1.17 MB / 1.147 GB, free: 2.66 MB / 0.698 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005203/1.225, allocations: 1.556 MB / 1.149 GB, free: 2.648 MB / 0.698 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003796/1.228, allocations: 1.213 MB / 1.15 GB, free: 2.645 MB / 0.698 GB Notification: Performance of NFPackage.collectConstants: time 0.000487/1.229, allocations: 61.41 kB / 1.15 GB, free: 2.645 MB / 0.698 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005937/1.235, allocations: 1.853 MB / 1.152 GB, free: 2.219 MB / 0.698 GB Notification: Performance of NFScalarize.scalarize: time 0.0009874/1.236, allocations: 480.5 kB / 1.153 GB, free: 2.07 MB / 0.698 GB Notification: Performance of NFVerifyModel.verify: time 0.001109/1.237, allocations: 403.9 kB / 1.153 GB, free: 2.035 MB / 0.698 GB Notification: Performance of NFConvertDAE.convert: time 0.004848/1.242, allocations: 2.528 MB / 1.155 GB, free: 0.8047 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 1.051e-05/1.242, allocations: 0 / 1.155 GB, free: 0.8047 MB / 0.698 GB Notification: Performance of FrontEnd: time 4.739e-06/1.242, allocations: 7.156 kB / 1.155 GB, free: 0.8008 MB / 0.698 GB Notification: Performance of Transformations before backend: time 9.431e-05/1.242, allocations: 0 / 1.155 GB, free: 0.8008 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.007324/1.249, allocations: 2.16 MB / 1.157 GB, free: 15.34 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 7.916e-05/1.249, allocations: 8.656 kB / 1.157 GB, free: 15.34 MB / 0.7136 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0005046/1.25, allocations: 178.4 kB / 1.158 GB, free: 15.27 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003901/1.254, allocations: 0.6222 MB / 1.158 GB, free: 15.02 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002928/1.257, allocations: 1.321 MB / 1.16 GB, free: 14.39 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003681/1.257, allocations: 155.2 kB / 1.16 GB, free: 14.36 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001896/1.257, allocations: 130.7 kB / 1.16 GB, free: 14.36 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002839/1.26, allocations: 1.453 MB / 1.161 GB, free: 13.91 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.33e-05/1.26, allocations: 1.969 kB / 1.161 GB, free: 13.91 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001224/1.26, allocations: 57.91 kB / 1.161 GB, free: 13.9 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.812e-05/1.26, allocations: 42.75 kB / 1.161 GB, free: 13.9 MB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002616/1.263, allocations: 1.216 MB / 1.163 GB, free: 13.7 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.0096/1.273, allocations: 5.787 MB / 1.168 GB, free: 10.29 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001814/1.275, allocations: 0.9815 MB / 1.169 GB, free: 9.949 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001003/1.276, allocations: 0.5247 MB / 1.17 GB, free: 9.859 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006782/1.276, allocations: 323.9 kB / 1.17 GB, free: 9.551 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001179/1.277, allocations: 0.5616 MB / 1.171 GB, free: 9.348 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=79): time 4.748e-06/1.277, allocations: 0 / 1.171 GB, free: 9.348 MB / 0.7136 GB Notification: Performance of matching and sorting (n=79): time 0.004468/1.282, allocations: 1.642 MB / 1.172 GB, free: 8.859 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.456e-05/1.282, allocations: 91.39 kB / 1.172 GB, free: 8.766 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00203/1.284, allocations: 1.32 MB / 1.173 GB, free: 8.387 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 0.0001243/1.284, allocations: 46.42 kB / 1.174 GB, free: 8.352 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007107/1.285, allocations: 0.7458 MB / 1.174 GB, free: 8.023 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003117/1.285, allocations: 277.4 kB / 1.175 GB, free: 7.824 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.13e-05/1.285, allocations: 19.03 kB / 1.175 GB, free: 7.824 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.0001606/1.285, allocations: 346.5 kB / 1.175 GB, free: 7.504 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009246/1.286, allocations: 417.2 kB / 1.175 GB, free: 7.434 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001155/1.288, allocations: 0.6524 MB / 1.176 GB, free: 7.094 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001264/1.289, allocations: 0.5091 MB / 1.176 GB, free: 7 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.634e-06/1.289, allocations: 3.594 kB / 1.176 GB, free: 7 MB / 0.7136 GB Notification: Performance of matching and sorting (n=119) (initialization): time 0.003172/1.292, allocations: 1.356 MB / 1.178 GB, free: 6.672 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002663/1.292, allocations: 280.5 kB / 1.178 GB, free: 6.352 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.622e-05/1.292, allocations: 6.062 kB / 1.178 GB, free: 6.352 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004614/1.293, allocations: 84.59 kB / 1.178 GB, free: 6.32 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009517/1.294, allocations: 209.5 kB / 1.178 GB, free: 6.289 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006404/1.294, allocations: 0.596 MB / 1.179 GB, free: 5.754 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001826/1.296, allocations: 198.9 kB / 1.179 GB, free: 5.66 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000111/1.296, allocations: 43.47 kB / 1.179 GB, free: 5.656 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 9.378e-06/1.296, allocations: 4.938 kB / 1.179 GB, free: 5.656 MB / 0.7136 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002536/1.299, allocations: 1.196 MB / 1.18 GB, free: 5.445 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.793e-05/1.299, allocations: 3.656 kB / 1.18 GB, free: 5.445 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001564/1.299, allocations: 52.14 kB / 1.18 GB, free: 5.43 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008784/1.3, allocations: 207 kB / 1.181 GB, free: 5.398 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001741/1.302, allocations: 1.609 MB / 1.182 GB, free: 3.93 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001798/1.304, allocations: 185.5 kB / 1.182 GB, free: 3.848 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001178/1.304, allocations: 40.45 kB / 1.182 GB, free: 3.844 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.001437/1.305, allocations: 0.5022 MB / 1.183 GB, free: 3.492 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005638/1.306, allocations: 158 kB / 1.183 GB, free: 3.336 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00301/1.309, allocations: 1.193 MB / 1.184 GB, free: 2.48 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.045e-05/1.309, allocations: 8 kB / 1.184 GB, free: 2.473 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.128e-06/1.309, allocations: 0 / 1.184 GB, free: 2.473 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002136/1.311, allocations: 1.075 MB / 1.185 GB, free: 1.625 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.005975/1.317, allocations: 2.807 MB / 1.188 GB, free: 15.52 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.378e-06/1.317, allocations: 4 kB / 1.188 GB, free: 15.51 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009935/1.318, allocations: 173.9 kB / 1.188 GB, free: 15.36 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001855/1.318, allocations: 49.59 kB / 1.188 GB, free: 15.31 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.151e-05/1.318, allocations: 21.88 kB / 1.188 GB, free: 15.3 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004346/1.319, allocations: 0.5895 MB / 1.189 GB, free: 14.72 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.007e-06/1.319, allocations: 4 kB / 1.189 GB, free: 14.71 MB / 0.7292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003767/1.323, allocations: 1.867 MB / 1.191 GB, free: 13.29 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009266/1.324, allocations: 342 kB / 1.191 GB, free: 12.99 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004275/1.324, allocations: 19.5 kB / 1.191 GB, free: 12.98 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00148/1.325, allocations: 120.4 kB / 1.191 GB, free: 12.88 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001266/1.326, allocations: 55.89 kB / 1.191 GB, free: 12.84 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.84e-05/1.326, allocations: 28.7 kB / 1.191 GB, free: 12.81 MB / 0.7292 GB Notification: Performance of sorting global known variables: time 0.002032/1.328, allocations: 0.8911 MB / 1.192 GB, free: 12.16 MB / 0.7292 GB Notification: Performance of sort global known variables: time 4.91e-07/1.328, allocations: 0 / 1.192 GB, free: 12.16 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.003494/1.331, allocations: 0.7878 MB / 1.193 GB, free: 11.42 MB / 0.7292 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.005024/1.336, allocations: 2.573 MB / 1.195 GB, free: 9.309 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 0.004345/1.341, allocations: 1.896 MB / 1.197 GB, free: 7.895 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 8.817e-06/1.341, allocations: 4 kB / 1.197 GB, free: 7.891 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 0.001193/1.342, allocations: 0.5717 MB / 1.198 GB, free: 7.469 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004561/1.346, allocations: 0.7985 MB / 1.198 GB, free: 6.812 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02388/1.37, allocations: 10.03 MB / 1.208 GB, free: 13.96 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001295/1.372, allocations: 1.33 MB / 1.21 GB, free: 12.64 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 0.002036/1.374, allocations: 360.4 kB / 1.21 GB, free: 12.29 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00183/1.376, allocations: 0.6332 MB / 1.21 GB, free: 12.14 MB / 0.7448 GB Notification: Performance of SimCode: time 1.663e-06/1.376, allocations: 5.859 kB / 1.211 GB, free: 12.13 MB / 0.7448 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1152/1.491, allocations: 40.81 MB / 1.25 GB, free: 3.789 MB / 0.7761 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0004283/1.491, allocations: 261.8 kB / 1.251 GB, free: 3.434 MB / 0.7761 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.859/5.35, allocations: 0 / 1.251 GB, free: 3.434 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)