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.0008975/0.0008975, allocations: 86.72 kB / 15.06 MB, free: 1.09 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.00125/0.00125, allocations: 168.7 kB / 15.95 MB, free: 204 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.48/1.48, allocations: 205.4 MB / 222.1 MB, free: 5.652 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.782/1.782, allocations: 292.7 MB / 0.5499 GB, free: 14.54 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.0005392/0.0005393, allocations: 13 kB / 0.6738 GB, free: 26.18 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2391/0.2396, allocations: 116.3 MB / 0.7874 GB, free: 11.86 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Humidifiers.Examples.Humidifier_u): time 0.72/0.9597, allocations: 233.4 MB / 1.015 GB, free: 6.82 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.01481/0.9746, allocations: 8.986 MB / 1.024 GB, free: 15.58 MB / 0.7481 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00267/0.9773, allocations: 64.91 kB / 1.024 GB, free: 15.55 MB / 0.7481 GB Notification: Performance of NFTyping.typeComponents: time 0.002103/0.9794, allocations: 0.6331 MB / 1.025 GB, free: 15.03 MB / 0.7481 GB Notification: Performance of NFTyping.typeBindings: time 0.006186/0.9856, allocations: 1.937 MB / 1.027 GB, free: 13.51 MB / 0.7481 GB Notification: Performance of NFTyping.typeClassSections: time 0.005109/0.9907, allocations: 1.533 MB / 1.028 GB, free: 12.43 MB / 0.7481 GB Notification: Performance of NFFlatten.flatten: time 0.006404/0.9971, allocations: 4.652 MB / 1.033 GB, free: 9.688 MB / 0.7481 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001994/0.9992, allocations: 1.16 MB / 1.034 GB, free: 8.992 MB / 0.7481 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003696/1.003, allocations: 1.574 MB / 1.035 GB, free: 8.121 MB / 0.7481 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002026/1.005, allocations: 1.187 MB / 1.037 GB, free: 7.449 MB / 0.7481 GB Notification: Performance of NFPackage.collectConstants: time 0.0002128/1.005, allocations: 60.5 kB / 1.037 GB, free: 7.449 MB / 0.7481 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004607/1.01, allocations: 1.854 MB / 1.038 GB, free: 6.477 MB / 0.7481 GB Notification: Performance of NFScalarize.scalarize: time 0.0007261/1.011, allocations: 474.4 kB / 1.039 GB, free: 6.164 MB / 0.7481 GB Notification: Performance of NFVerifyModel.verify: time 0.0007932/1.011, allocations: 399 kB / 1.039 GB, free: 5.941 MB / 0.7481 GB Notification: Performance of NFConvertDAE.convert: time 0.003907/1.015, allocations: 2.514 MB / 1.042 GB, free: 4.301 MB / 0.7481 GB Notification: Performance of FrontEnd - DAE generated: time 6.361e-06/1.015, allocations: 2.656 kB / 1.042 GB, free: 4.301 MB / 0.7481 GB Notification: Performance of FrontEnd: time 2.014e-06/1.015, allocations: 4 kB / 1.042 GB, free: 4.297 MB / 0.7481 GB Notification: Performance of Transformations before backend: time 4.028e-05/1.015, allocations: 0 / 1.042 GB, free: 4.297 MB / 0.7481 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.003942/1.019, allocations: 2.137 MB / 1.044 GB, free: 2.684 MB / 0.7481 GB Notification: Performance of prepare preOptimizeDAE: time 4.487e-05/1.019, allocations: 7.625 kB / 1.044 GB, free: 2.684 MB / 0.7481 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002432/1.02, allocations: 179.2 kB / 1.044 GB, free: 2.539 MB / 0.7481 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003387/1.023, allocations: 0.6381 MB / 1.045 GB, free: 2.254 MB / 0.7481 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002695/1.026, allocations: 1.312 MB / 1.046 GB, free: 1.258 MB / 0.7481 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003279/1.026, allocations: 173.8 kB / 1.046 GB, free: 1.18 MB / 0.7481 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000199/1.026, allocations: 123.8 kB / 1.046 GB, free: 1.141 MB / 0.7481 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002664/1.029, allocations: 1.442 MB / 1.048 GB, free: 248 kB / 0.7481 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.697e-05/1.029, allocations: 0 / 1.048 GB, free: 248 kB / 0.7481 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001263/1.029, allocations: 50.44 kB / 1.048 GB, free: 208 kB / 0.7481 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.529e-05/1.029, allocations: 44.02 kB / 1.048 GB, free: 204 kB / 0.7481 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00245/1.032, allocations: 1.216 MB / 1.049 GB, free: 15.59 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 preOpt removeSimpleEquations (simulation): time 0.008715/1.04, allocations: 5.785 MB / 1.054 GB, free: 9.785 MB / 0.7637 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002114/1.042, allocations: 0.9955 MB / 1.055 GB, free: 8.746 MB / 0.7637 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009778/1.043, allocations: 0.5186 MB / 1.056 GB, free: 8.227 MB / 0.7637 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000736/1.044, allocations: 323.9 kB / 1.056 GB, free: 7.855 MB / 0.7637 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001222/1.045, allocations: 0.5601 MB / 1.057 GB, free: 7.277 MB / 0.7637 GB Notification: Performance of pre-optimization done (n=79): time 4.328e-06/1.045, allocations: 4 kB / 1.057 GB, free: 7.273 MB / 0.7637 GB Notification: Performance of matching and sorting (n=79): time 0.004319/1.05, allocations: 1.663 MB / 1.058 GB, free: 5.574 MB / 0.7637 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.392e-05/1.05, allocations: 89.75 kB / 1.059 GB, free: 5.469 MB / 0.7637 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001918/1.052, allocations: 1.314 MB / 1.06 GB, free: 4.145 MB / 0.7637 GB Notification: Performance of collectPreVariables (initialization): time 9.474e-05/1.052, allocations: 45.7 kB / 1.06 GB, free: 4.094 MB / 0.7637 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006471/1.053, allocations: 0.74 MB / 1.061 GB, free: 3.344 MB / 0.7637 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002698/1.053, allocations: 276 kB / 1.061 GB, free: 3.07 MB / 0.7637 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.356e-05/1.053, allocations: 19.94 kB / 1.061 GB, free: 3.051 MB / 0.7637 GB Notification: Performance of setup shared object (initialization): time 0.000224/1.053, allocations: 341.9 kB / 1.061 GB, free: 2.711 MB / 0.7637 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008746/1.054, allocations: 417.8 kB / 1.062 GB, free: 2.301 MB / 0.7637 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001161/1.055, allocations: 0.6575 MB / 1.062 GB, free: 1.551 MB / 0.7637 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000991/1.056, allocations: 0.5122 MB / 1.063 GB, free: 1.035 MB / 0.7637 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.643e-06/1.056, allocations: 4 kB / 1.063 GB, free: 1.031 MB / 0.7637 GB Notification: Performance of matching and sorting (n=119) (initialization): time 0.002984/1.059, allocations: 1.361 MB / 1.064 GB, free: 15.65 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002095/1.059, allocations: 280.4 kB / 1.064 GB, free: 15.3 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.399e-05/1.059, allocations: 4 kB / 1.064 GB, free: 15.29 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003856/1.06, allocations: 76.8 kB / 1.064 GB, free: 15.21 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000971/1.061, allocations: 211.6 kB / 1.065 GB, free: 15.01 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004873/1.061, allocations: 0.5952 MB / 1.065 GB, free: 14.39 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00155/1.063, allocations: 205.3 kB / 1.065 GB, free: 14.19 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.988e-05/1.063, allocations: 43.98 kB / 1.065 GB, free: 14.14 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.146e-05/1.063, allocations: 4 kB / 1.065 GB, free: 14.14 MB / 0.7794 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0027/1.066, allocations: 1.189 MB / 1.067 GB, free: 12.94 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.265e-05/1.066, allocations: 4 kB / 1.067 GB, free: 12.94 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001595/1.066, allocations: 57.25 kB / 1.067 GB, free: 12.88 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008747/1.067, allocations: 211.6 kB / 1.067 GB, free: 12.67 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001805/1.069, allocations: 1.604 MB / 1.068 GB, free: 10.93 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001683/1.07, allocations: 195 kB / 1.069 GB, free: 10.73 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001261/1.07, allocations: 35.98 kB / 1.069 GB, free: 10.7 MB / 0.7794 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.0009465/1.071, allocations: 0.4985 MB / 1.069 GB, free: 10.18 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004888/1.072, allocations: 162.1 kB / 1.069 GB, free: 10.02 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002735/1.075, allocations: 1.191 MB / 1.07 GB, free: 8.812 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.328e-06/1.075, allocations: 4 kB / 1.07 GB, free: 8.809 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.797e-06/1.075, allocations: 4 kB / 1.07 GB, free: 8.805 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002228/1.077, allocations: 1.076 MB / 1.072 GB, free: 7.688 MB / 0.7794 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.006879/1.084, allocations: 2.819 MB / 1.074 GB, free: 4.758 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.195e-05/1.084, allocations: 4 kB / 1.074 GB, free: 4.754 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009195/1.085, allocations: 172 kB / 1.074 GB, free: 4.586 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001696/1.085, allocations: 48.78 kB / 1.074 GB, free: 4.535 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.449e-05/1.085, allocations: 23.98 kB / 1.075 GB, free: 4.512 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005135/1.086, allocations: 0.5836 MB / 1.075 GB, free: 3.902 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.583e-06/1.086, allocations: 7.938 kB / 1.075 GB, free: 3.895 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003914/1.09, allocations: 1.879 MB / 1.077 GB, free: 1.953 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008876/1.09, allocations: 330.9 kB / 1.077 GB, free: 1.609 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004083/1.091, allocations: 31.94 kB / 1.077 GB, free: 1.578 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001258/1.092, allocations: 111.8 kB / 1.077 GB, free: 1.469 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000107/1.092, allocations: 52.44 kB / 1.077 GB, free: 1.418 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.945e-05/1.092, allocations: 31.98 kB / 1.077 GB, free: 1.387 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 0.001921/1.094, allocations: 0.8861 MB / 1.078 GB, free: 0.5039 MB / 0.7794 GB Notification: Performance of sort global known variables: time 3.41e-07/1.094, allocations: 0 / 1.078 GB, free: 0.5039 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.002869/1.097, allocations: 0.8028 MB / 1.079 GB, free: 15.7 MB / 0.795 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.004591/1.102, allocations: 2.579 MB / 1.082 GB, free: 13.07 MB / 0.795 GB Notification: Performance of simCode: created initialization part: time 0.003953/1.106, allocations: 1.906 MB / 1.083 GB, free: 11.13 MB / 0.795 GB Notification: Performance of simCode: created event and clocks part: time 6.051e-06/1.106, allocations: 3.938 kB / 1.083 GB, free: 11.13 MB / 0.795 GB Notification: Performance of simCode: created simulation system equations: time 0.00123/1.107, allocations: 0.5695 MB / 1.084 GB, free: 10.55 MB / 0.795 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004263/1.111, allocations: 0.7906 MB / 1.085 GB, free: 9.762 MB / 0.795 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02169/1.133, allocations: 10.03 MB / 1.095 GB, free: 15.31 MB / 0.8106 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001074/1.134, allocations: 1.328 MB / 1.096 GB, free: 13.96 MB / 0.8106 GB Notification: Performance of simCode: alias equations: time 0.001817/1.136, allocations: 364.4 kB / 1.096 GB, free: 13.6 MB / 0.8106 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009737/1.137, allocations: 0.6281 MB / 1.097 GB, free: 12.97 MB / 0.8106 GB Notification: Performance of SimCode: time 1.202e-06/1.137, allocations: 4 kB / 1.097 GB, free: 12.96 MB / 0.8106 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07666/1.214, allocations: 40.84 MB / 1.137 GB, free: 4.656 MB / 0.8419 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002367/1.214, allocations: 257 kB / 1.137 GB, free: 4.32 MB / 0.8419 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.795/4.009, allocations: 0 / 1.137 GB, free: 4.32 MB / 0.8419 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: