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: translateModel(Buildings.Fluid.Humidifiers.Examples.Humidifier_u,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.Humidifiers.Examples.Humidifier_u") translateModel(Buildings.Fluid.Humidifiers.Examples.Humidifier_u,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.Humidifiers.Examples.Humidifier_u") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001225/0.00123, allocations: 99.86 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.001523/0.001523, 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.372/1.372, allocations: 205.4 MB / 222.1 MB, free: 5.656 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.579/1.579, allocations: 292.5 MB / 0.5497 GB, free: 14.65 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.0004998/0.0004999, allocations: 19.34 kB / 0.6735 GB, free: 26.25 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.259/0.2595, allocations: 116.3 MB / 0.7871 GB, free: 12.02 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Humidifiers.Examples.Humidifier_u): time 0.7701/1.03, allocations: 209.3 MB / 0.9914 GB, free: 2.93 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.01723/1.047, allocations: 9.55 MB / 1.001 GB, free: 340 kB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003532/1.051, allocations: 63.81 kB / 1.001 GB, free: 340 kB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.003251/1.054, allocations: 0.8545 MB / 1.002 GB, free: 15.93 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 0.01012/1.064, allocations: 2.734 MB / 1.004 GB, free: 13.83 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.006089/1.07, allocations: 1.785 MB / 1.006 GB, free: 12.61 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 0.005636/1.076, allocations: 2.427 MB / 1.008 GB, free: 11.14 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002059/1.078, allocations: 1.178 MB / 1.01 GB, free: 10.46 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00382/1.082, allocations: 1.472 MB / 1.011 GB, free: 9.762 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001572/1.083, allocations: 0.826 MB / 1.012 GB, free: 9.465 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 0.0002154/1.083, allocations: 62.31 kB / 1.012 GB, free: 9.465 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004448/1.088, allocations: 1.57 MB / 1.013 GB, free: 8.785 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 0.0005652/1.089, allocations: 442.4 kB / 1.014 GB, free: 8.57 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 0.0007173/1.089, allocations: 397.7 kB / 1.014 GB, free: 8.41 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.003551/1.093, allocations: 2.356 MB / 1.017 GB, free: 6.852 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 3.857e-06/1.093, allocations: 0 / 1.017 GB, free: 6.852 MB / 0.7325 GB Notification: Performance of FrontEnd: time 2.054e-06/1.093, allocations: 0 / 1.017 GB, free: 6.852 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 2.599e-05/1.093, allocations: 0 / 1.017 GB, free: 6.852 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.00382/1.097, allocations: 2.091 MB / 1.019 GB, free: 5.281 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 3.8e-05/1.097, allocations: 14.56 kB / 1.019 GB, free: 5.277 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003498/1.1, allocations: 0.644 MB / 1.019 GB, free: 4.992 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002773/1.103, allocations: 1.312 MB / 1.021 GB, free: 4.027 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004098/1.103, allocations: 166.9 kB / 1.021 GB, free: 3.953 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002532/1.104, allocations: 129.5 kB / 1.021 GB, free: 3.91 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003017/1.107, allocations: 1.437 MB / 1.022 GB, free: 3.012 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.469e-05/1.107, allocations: 2.438 kB / 1.022 GB, free: 3.012 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001211/1.107, allocations: 49.81 kB / 1.022 GB, free: 2.977 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.334e-05/1.107, allocations: 40.45 kB / 1.022 GB, free: 2.973 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002415/1.109, allocations: 1.214 MB / 1.023 GB, free: 2.379 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.008432/1.118, allocations: 5.893 MB / 1.029 GB, free: 13.49 MB / 0.7481 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001695/1.12, allocations: 1.007 MB / 1.03 GB, free: 12.87 MB / 0.7481 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004075/1.12, allocations: 141.1 kB / 1.03 GB, free: 12.75 MB / 0.7481 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00108/1.121, allocations: 0.5533 MB / 1.031 GB, free: 12.41 MB / 0.7481 GB Notification: Performance of pre-optimization done (n=79): time 3.637e-06/1.121, allocations: 0 / 1.031 GB, free: 12.41 MB / 0.7481 GB Notification: Performance of matching and sorting (n=79): time 0.004014/1.125, allocations: 1.747 MB / 1.033 GB, free: 11.44 MB / 0.7481 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.231e-05/1.125, allocations: 89.86 kB / 1.033 GB, free: 11.34 MB / 0.7481 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001689/1.127, allocations: 1.319 MB / 1.034 GB, free: 10.62 MB / 0.7481 GB Notification: Performance of collectPreVariables (initialization): time 8.057e-05/1.127, allocations: 45.52 kB / 1.034 GB, free: 10.58 MB / 0.7481 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006168/1.128, allocations: 0.7351 MB / 1.035 GB, free: 9.93 MB / 0.7481 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002591/1.128, allocations: 275.7 kB / 1.035 GB, free: 9.691 MB / 0.7481 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.89e-05/1.128, allocations: 19.03 kB / 1.035 GB, free: 9.676 MB / 0.7481 GB Notification: Performance of setup shared object (initialization): time 0.0001486/1.128, allocations: 344.6 kB / 1.035 GB, free: 9.344 MB / 0.7481 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008601/1.129, allocations: 417.4 kB / 1.036 GB, free: 9.148 MB / 0.7481 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001101/1.13, allocations: 0.6557 MB / 1.036 GB, free: 8.43 MB / 0.7481 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009889/1.131, allocations: 0.5161 MB / 1.037 GB, free: 7.91 MB / 0.7481 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.508e-06/1.131, allocations: 0 / 1.037 GB, free: 7.91 MB / 0.7481 GB Notification: Performance of matching and sorting (n=119) (initialization): time 0.002643/1.134, allocations: 1.373 MB / 1.038 GB, free: 6.516 MB / 0.7481 GB Notification: Performance of prepare postOptimizeDAE: time 0.0008605/1.135, allocations: 2.081 MB / 1.04 GB, free: 4.238 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.521e-05/1.135, allocations: 8 kB / 1.04 GB, free: 4.23 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004002/1.135, allocations: 84.77 kB / 1.04 GB, free: 4.145 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008822/1.136, allocations: 207.7 kB / 1.041 GB, free: 3.941 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004326/1.136, allocations: 0.5991 MB / 1.041 GB, free: 3.316 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001518/1.138, allocations: 202.9 kB / 1.041 GB, free: 3.117 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.74e-05/1.138, allocations: 40 kB / 1.041 GB, free: 3.078 MB / 0.7481 GB Notification: Performance of prepare postOptimizeDAE: time 8.426e-06/1.138, allocations: 4 kB / 1.041 GB, free: 3.074 MB / 0.7481 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002267/1.14, allocations: 1.201 MB / 1.043 GB, free: 1.863 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.784e-06/1.14, allocations: 4 kB / 1.043 GB, free: 1.859 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001309/1.14, allocations: 52.83 kB / 1.043 GB, free: 1.805 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008235/1.141, allocations: 203.8 kB / 1.043 GB, free: 1.605 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00142/1.143, allocations: 1.607 MB / 1.044 GB, free: 15.86 MB / 0.7637 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001321/1.144, allocations: 191.1 kB / 1.045 GB, free: 15.67 MB / 0.7637 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.174e-05/1.144, allocations: 39.98 kB / 1.045 GB, free: 15.63 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.0008425/1.145, allocations: 0.501 MB / 1.045 GB, free: 15.11 MB / 0.7637 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002017/1.145, allocations: 162.2 kB / 1.045 GB, free: 14.95 MB / 0.7637 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002287/1.147, allocations: 1.206 MB / 1.046 GB, free: 13.73 MB / 0.7637 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.386e-06/1.147, allocations: 12 kB / 1.046 GB, free: 13.71 MB / 0.7637 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.184e-06/1.147, allocations: 0 / 1.046 GB, free: 13.71 MB / 0.7637 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001918/1.149, allocations: 1.073 MB / 1.047 GB, free: 12.6 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.004461/1.154, allocations: 2.796 MB / 1.05 GB, free: 9.699 MB / 0.7637 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.382e-06/1.154, allocations: 4 kB / 1.05 GB, free: 9.695 MB / 0.7637 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008331/1.155, allocations: 176 kB / 1.05 GB, free: 9.523 MB / 0.7637 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001347/1.155, allocations: 48.84 kB / 1.05 GB, free: 9.473 MB / 0.7637 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.082e-05/1.155, allocations: 23.94 kB / 1.05 GB, free: 9.449 MB / 0.7637 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003585/1.155, allocations: 0.5913 MB / 1.051 GB, free: 8.832 MB / 0.7637 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.177e-06/1.155, allocations: 4 kB / 1.051 GB, free: 8.828 MB / 0.7637 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003256/1.159, allocations: 2.008 MB / 1.053 GB, free: 6.695 MB / 0.7637 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006345/1.159, allocations: 331 kB / 1.053 GB, free: 6.352 MB / 0.7637 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001879/1.159, allocations: 27.97 kB / 1.053 GB, free: 6.324 MB / 0.7637 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001041/1.16, allocations: 111.9 kB / 1.053 GB, free: 6.215 MB / 0.7637 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001058/1.161, allocations: 48.5 kB / 1.053 GB, free: 6.168 MB / 0.7637 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.497e-05/1.161, allocations: 35.98 kB / 1.053 GB, free: 6.133 MB / 0.7637 GB Notification: Performance of sorting global known variables: time 0.00124/1.162, allocations: 0.89 MB / 1.054 GB, free: 5.246 MB / 0.7637 GB Notification: Performance of sort global known variables: time 5.21e-07/1.162, allocations: 3.938 kB / 1.054 GB, free: 5.242 MB / 0.7637 GB Notification: Performance of remove unused functions: time 0.002226/1.164, allocations: 0.7988 MB / 1.055 GB, free: 4.441 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.000658/1.165, allocations: 297 kB / 1.055 GB, free: 4.152 MB / 0.7637 GB Notification: Performance of simCode: created initialization part: time 0.003614/1.168, allocations: 1.902 MB / 1.057 GB, free: 2.219 MB / 0.7637 GB Notification: Performance of simCode: created event and clocks part: time 4.428e-06/1.168, allocations: 0 / 1.057 GB, free: 2.219 MB / 0.7637 GB Notification: Performance of simCode: created simulation system equations: time 0.001036/1.17, allocations: 0.5696 MB / 1.058 GB, free: 1.637 MB / 0.7637 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003364/1.173, allocations: 0.771 MB / 1.059 GB, free: 0.875 MB / 0.7637 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007347/1.18, allocations: 3.811 MB / 1.062 GB, free: 13 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008915/1.181, allocations: 1.363 MB / 1.064 GB, free: 11.61 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 0.001593/1.183, allocations: 364.4 kB / 1.064 GB, free: 11.25 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002864/1.183, allocations: 107.4 kB / 1.064 GB, free: 11.15 MB / 0.7794 GB Notification: Performance of SimCode: time 2.355e-06/1.183, allocations: 0 / 1.064 GB, free: 11.15 MB / 0.7794 GB Notification: Performance of Templates: time 0.04694/1.23, allocations: 26.48 MB / 1.09 GB, free: 1.016 MB / 0.795 GB make -j1 -f Buildings_8_Buildings.Fluid.Humidifiers.Examples.Humidifier_u.makefile Environment - environmentSimulation: (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 & ./Buildings_8_Buildings.Fluid.Humidifiers.Examples.Humidifier_u -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Fluid.Humidifiers.Examples.Humidifier_u.pipe 2>&1) Environment - environmentSimulation: