Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Fluid.Humidifiers.Examples.Humidifier_u.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/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 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.Humidifiers.Examples.Humidifier_u,fileNamePrefix="Buildings_8_Buildings_Fluid_Humidifiers_Examples_Humidifier_u",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Humidifiers.Examples.Humidifier_u,fileNamePrefix="Buildings_8_Buildings_Fluid_Humidifiers_Examples_Humidifier_u",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001351/0.00135, allocations: 99.39 kB / 15.05 MB, free: 1.105 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001757/0.001757, allocations: 177.3 kB / 15.95 MB, free: 216 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.915/1.915, allocations: 205.4 MB / 222.1 MB, free: 5.66 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.736/1.736, allocations: 292.6 MB / 0.5497 GB, free: 14.61 MB / 462.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0005171/0.0005171, allocations: 13.88 kB / 0.6736 GB, free: 26.25 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2518/0.2523, allocations: 116.3 MB / 0.7872 GB, free: 11.88 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Humidifiers.Examples.Humidifier_u): time 0.6358/0.8881, allocations: 209.2 MB / 0.9916 GB, free: 2.77 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.01336/0.9015, allocations: 9.548 MB / 1.001 GB, free: 228 kB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002667/0.9042, allocations: 68.12 kB / 1.001 GB, free: 224 kB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.00289/0.9072, allocations: 0.8585 MB / 1.002 GB, free: 15.8 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 0.008687/0.9159, allocations: 2.736 MB / 1.004 GB, free: 13.7 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.005663/0.9215, allocations: 1.779 MB / 1.006 GB, free: 12.48 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 0.005038/0.9266, allocations: 2.428 MB / 1.009 GB, free: 11.02 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001541/0.9281, allocations: 1.179 MB / 1.01 GB, free: 10.33 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002805/0.931, allocations: 1.475 MB / 1.011 GB, free: 9.633 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0009182/0.9319, allocations: 0.8262 MB / 1.012 GB, free: 9.336 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 0.0001375/0.932, allocations: 67.19 kB / 1.012 GB, free: 9.332 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003272/0.9353, allocations: 1.569 MB / 1.014 GB, free: 8.652 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 0.0003961/0.9357, allocations: 438.4 kB / 1.014 GB, free: 8.441 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 0.0003996/0.9361, allocations: 393.5 kB / 1.014 GB, free: 8.285 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.002493/0.9386, allocations: 2.361 MB / 1.017 GB, free: 6.723 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 2.324e-06/0.9386, allocations: 0 / 1.017 GB, free: 6.723 MB / 0.7325 GB Notification: Performance of FrontEnd: time 1.272e-06/0.9386, allocations: 0 / 1.017 GB, free: 6.723 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 1.786e-05/0.9387, allocations: 0 / 1.017 GB, free: 6.723 MB / 0.7325 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.003064/0.9417, allocations: 2.102 MB / 1.019 GB, free: 5.137 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 3.925e-05/0.9418, allocations: 8.969 kB / 1.019 GB, free: 5.137 MB / 0.7325 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001922/0.942, allocations: 174.1 kB / 1.019 GB, free: 4.996 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003226/0.9452, allocations: 0.6444 MB / 1.02 GB, free: 4.711 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00224/0.9475, allocations: 1.317 MB / 1.021 GB, free: 3.711 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003299/0.9478, allocations: 159.9 kB / 1.021 GB, free: 3.645 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001548/0.948, allocations: 128.7 kB / 1.021 GB, free: 3.602 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002216/0.9502, allocations: 1.445 MB / 1.022 GB, free: 2.691 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.499e-05/0.9502, allocations: 0 / 1.022 GB, free: 2.691 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000108/0.9503, allocations: 46.78 kB / 1.023 GB, free: 2.656 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.263e-05/0.9504, allocations: 47.69 kB / 1.023 GB, free: 2.648 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002185/0.9526, allocations: 1.213 MB / 1.024 GB, free: 2.047 MB / 0.7325 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.007214/0.9598, allocations: 5.895 MB / 1.03 GB, free: 13.16 MB / 0.7481 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001588/0.9614, allocations: 1.005 MB / 1.031 GB, free: 12.54 MB / 0.7481 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003569/0.9618, allocations: 146.3 kB / 1.031 GB, free: 12.42 MB / 0.7481 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009862/0.9628, allocations: 0.5538 MB / 1.031 GB, free: 12.07 MB / 0.7481 GB Notification: Performance of pre-optimization done (n=79): time 2.795e-06/0.9628, allocations: 0 / 1.031 GB, free: 12.07 MB / 0.7481 GB Notification: Performance of matching and sorting (n=79): time 0.00367/0.9665, allocations: 1.74 MB / 1.033 GB, free: 11.11 MB / 0.7481 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.799e-05/0.9665, allocations: 89.73 kB / 1.033 GB, free: 11.01 MB / 0.7481 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001617/0.9682, allocations: 1.311 MB / 1.034 GB, free: 10.3 MB / 0.7481 GB Notification: Performance of collectPreVariables (initialization): time 8.013e-05/0.9683, allocations: 45.7 kB / 1.034 GB, free: 10.25 MB / 0.7481 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005846/0.9688, allocations: 0.739 MB / 1.035 GB, free: 9.602 MB / 0.7481 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002524/0.9691, allocations: 274.8 kB / 1.035 GB, free: 9.363 MB / 0.7481 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.932e-05/0.9692, allocations: 21.72 kB / 1.035 GB, free: 9.348 MB / 0.7481 GB Notification: Performance of setup shared object (initialization): time 0.0001318/0.9693, allocations: 346 kB / 1.036 GB, free: 9.012 MB / 0.7481 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008419/0.9702, allocations: 420.6 kB / 1.036 GB, free: 8.723 MB / 0.7481 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001049/0.9712, allocations: 0.6497 MB / 1.037 GB, free: 7.98 MB / 0.7481 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009523/0.9722, allocations: 0.5122 MB / 1.037 GB, free: 7.465 MB / 0.7481 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.989e-06/0.9722, allocations: 0 / 1.037 GB, free: 7.465 MB / 0.7481 GB Notification: Performance of matching and sorting (n=119) (initialization): time 0.002594/0.9748, allocations: 1.365 MB / 1.038 GB, free: 6.078 MB / 0.7481 GB Notification: Performance of prepare postOptimizeDAE: time 0.0006239/0.9754, allocations: 2.093 MB / 1.041 GB, free: 3.789 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.277e-05/0.9754, allocations: 11.98 kB / 1.041 GB, free: 3.777 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003522/0.9758, allocations: 72.81 kB / 1.041 GB, free: 3.703 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008626/0.9767, allocations: 211.7 kB / 1.041 GB, free: 3.496 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003693/0.9771, allocations: 0.5952 MB / 1.041 GB, free: 2.875 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00137/0.9784, allocations: 202.9 kB / 1.042 GB, free: 2.676 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.844e-05/0.9785, allocations: 43.98 kB / 1.042 GB, free: 2.633 MB / 0.7481 GB Notification: Performance of prepare postOptimizeDAE: time 6.833e-06/0.9785, allocations: 11.88 kB / 1.042 GB, free: 2.621 MB / 0.7481 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002132/0.9807, allocations: 1.194 MB / 1.043 GB, free: 1.418 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.993e-06/0.9807, allocations: 4 kB / 1.043 GB, free: 1.414 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001216/0.9808, allocations: 56.86 kB / 1.043 GB, free: 1.355 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008163/0.9816, allocations: 203.7 kB / 1.043 GB, free: 1.156 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001266/0.9829, allocations: 1.611 MB / 1.045 GB, free: 15.4 MB / 0.7637 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001275/0.9842, allocations: 187.1 kB / 1.045 GB, free: 15.22 MB / 0.7637 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.814e-05/0.9843, allocations: 43.98 kB / 1.045 GB, free: 15.18 MB / 0.7637 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.0006585/0.985, allocations: 0.4971 MB / 1.045 GB, free: 14.66 MB / 0.7637 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001716/0.9851, allocations: 158.1 kB / 1.045 GB, free: 14.51 MB / 0.7637 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002221/0.9874, allocations: 1.203 MB / 1.047 GB, free: 13.29 MB / 0.7637 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.386e-06/0.9874, allocations: 8 kB / 1.047 GB, free: 13.28 MB / 0.7637 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.844e-06/0.9874, allocations: 3.938 kB / 1.047 GB, free: 13.27 MB / 0.7637 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001827/0.9892, allocations: 1.077 MB / 1.048 GB, free: 12.16 MB / 0.7637 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.004199/0.9934, allocations: 2.8 MB / 1.05 GB, free: 9.25 MB / 0.7637 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.919e-06/0.9934, allocations: 7.938 kB / 1.05 GB, free: 9.242 MB / 0.7637 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008044/0.9943, allocations: 168.1 kB / 1.051 GB, free: 9.078 MB / 0.7637 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001279/0.9944, allocations: 60.72 kB / 1.051 GB, free: 9.016 MB / 0.7637 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.473e-05/0.9945, allocations: 19.98 kB / 1.051 GB, free: 8.996 MB / 0.7637 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00032/0.9948, allocations: 0.5913 MB / 1.051 GB, free: 8.379 MB / 0.7637 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.759e-06/0.9948, allocations: 7.938 kB / 1.051 GB, free: 8.371 MB / 0.7637 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003024/0.9978, allocations: 2 MB / 1.053 GB, free: 6.246 MB / 0.7637 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005356/0.9984, allocations: 338.9 kB / 1.054 GB, free: 5.895 MB / 0.7637 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001727/0.9986, allocations: 20 kB / 1.054 GB, free: 5.875 MB / 0.7637 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001009/0.9996, allocations: 107.8 kB / 1.054 GB, free: 5.77 MB / 0.7637 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.763e-05/0.9997, allocations: 60.61 kB / 1.054 GB, free: 5.711 MB / 0.7637 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.244e-05/0.9997, allocations: 35.94 kB / 1.054 GB, free: 5.676 MB / 0.7637 GB Notification: Performance of sorting global known variables: time 0.001041/1.001, allocations: 0.8861 MB / 1.055 GB, free: 4.793 MB / 0.7637 GB Notification: Performance of sort global known variables: time 1.6e-07/1.001, allocations: 0 / 1.055 GB, free: 4.793 MB / 0.7637 GB Notification: Performance of remove unused functions: time 0.001826/1.003, allocations: 0.8027 MB / 1.055 GB, free: 3.988 MB / 0.7637 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.003749/1.006, allocations: 3.304 MB / 1.059 GB, free: 0.6055 MB / 0.7637 GB Notification: Performance of simCode: created initialization part: time 0.003276/1.01, allocations: 1.902 MB / 1.061 GB, free: 14.66 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 3.226e-06/1.01, allocations: 0 / 1.061 GB, free: 14.66 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 0.0009572/1.011, allocations: 0.5773 MB / 1.061 GB, free: 14.07 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003082/1.014, allocations: 0.7717 MB / 1.062 GB, free: 13.31 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0081/1.022, allocations: 8.082 MB / 1.07 GB, free: 5.043 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007513/1.023, allocations: 1.359 MB / 1.071 GB, free: 3.656 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 0.001271/1.024, allocations: 356.4 kB / 1.071 GB, free: 3.305 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006912/1.025, allocations: 0.6282 MB / 1.072 GB, free: 2.672 MB / 0.7794 GB Notification: Performance of SimCode: time 4.21e-07/1.025, allocations: 4 kB / 1.072 GB, free: 2.668 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 5.658/6.683, allocations: 39.91 MB / 1.111 GB, free: 11.29 MB / 0.8262 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002822/6.683, allocations: 249 kB / 1.111 GB, free: 10.96 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.202/9.886, allocations: 7.938 kB / 1.111 GB, free: 10.95 MB / 0.8262 GB (rm -f Buildings_8_Buildings.Fluid.Humidifiers.Examples.Humidifier_u.pipe ; mkfifo Buildings_8_Buildings.Fluid.Humidifiers.Examples.Humidifier_u.pipe ; head -c 1048576 < Buildings_8_Buildings.Fluid.Humidifiers.Examples.Humidifier_u.pipe >> ../files/Buildings_8_Buildings.Fluid.Humidifiers.Examples.Humidifier_u.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Fluid_Humidifiers_Examples_Humidifier_u_fmu --startTime=0 --stopTime=1200 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Fluid_Humidifiers_Examples_Humidifier_u.fmu > Buildings_8_Buildings.Fluid.Humidifiers.Examples.Humidifier_u.pipe 2>&1) Environment - environmentSimulation: