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/Buildings 8.1.4-maint.8.1.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 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/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/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.565/1.565, allocations: 289.9 MB / 297.4 MB, free: 6.41 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001116/0.001116, allocations: 184.8 kB / 366.7 MB, free: 1.688 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.559/1.559, allocations: 205.2 MB / 0.626 GB, free: 7.137 MB / 474.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.000758/0.000758, allocations: 86.08 kB / 0.74 GB, free: 39.55 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 1.937e-05/1.938e-05, allocations: 4 kB / 0.8597 GB, free: 13.06 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6918/0.6918, allocations: 116.3 MB / 0.9732 GB, free: 76.43 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 4.714/5.406, allocations: 2.087 GB / 3.061 GB, free: 47.79 MB / 0.948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002377/5.406, allocations: 85.52 kB / 3.061 GB, free: 47.7 MB / 0.948 GB Notification: Performance of FrontEnd - DAE generated: time 3.523/8.929, allocations: 1.025 GB / 4.086 GB, free: 100.7 MB / 0.948 GB Notification: Performance of FrontEnd: time 1.624e-06/8.929, allocations: 4 kB / 4.086 GB, free: 100.7 MB / 0.948 GB Notification: Performance of Transformations before backend: time 0.0001373/8.93, allocations: 43.52 kB / 4.086 GB, free: 100.6 MB / 0.948 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.003483/8.933, allocations: 2.056 MB / 4.088 GB, free: 98.51 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 3.572e-05/8.933, allocations: 12.03 kB / 4.088 GB, free: 98.5 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003349/8.936, allocations: 0.6063 MB / 4.088 GB, free: 97.89 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002803/8.939, allocations: 1.442 MB / 4.09 GB, free: 96.39 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003272/8.94, allocations: 110.3 kB / 4.09 GB, free: 96.29 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001621/8.94, allocations: 76 kB / 4.09 GB, free: 96.21 MB / 0.948 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001728/8.942, allocations: 0.977 MB / 4.091 GB, free: 95.23 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001797/8.943, allocations: 1.205 MB / 4.092 GB, free: 93.95 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.664e-05/8.943, allocations: 0 / 4.092 GB, free: 93.95 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001029/8.944, allocations: 4 kB / 4.092 GB, free: 93.95 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.34e-05/8.944, allocations: 42.22 kB / 4.092 GB, free: 93.91 MB / 0.948 GB Warning: The model contains alias variables with conflicting start and/or 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.007275/8.951, allocations: 5.761 MB / 4.098 GB, free: 87.82 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009058/8.952, allocations: 0.8789 MB / 4.098 GB, free: 86.9 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004513/8.952, allocations: 426.9 kB / 4.099 GB, free: 86.48 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004728/8.953, allocations: 316 kB / 4.099 GB, free: 86.11 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005645/8.953, allocations: 485.4 kB / 4.1 GB, free: 85.62 MB / 0.948 GB Notification: Performance of pre-optimization done (n=79): time 2.935e-06/8.953, allocations: 0 / 4.1 GB, free: 85.62 MB / 0.948 GB Notification: Performance of matching and sorting (n=79): time 0.002028/8.955, allocations: 1.014 MB / 4.101 GB, free: 84.59 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.592e-05/8.955, allocations: 192.7 kB / 4.101 GB, free: 84.36 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009953/8.956, allocations: 0.9294 MB / 4.102 GB, free: 83.43 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 7.731e-05/8.956, allocations: 29.7 kB / 4.102 GB, free: 83.39 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004418/8.957, allocations: 0.7666 MB / 4.102 GB, free: 82.62 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001684/8.957, allocations: 256.1 kB / 4.103 GB, free: 82.36 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.462e-05/8.957, allocations: 0 / 4.103 GB, free: 82.36 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 6.259e-05/8.957, allocations: 345.9 kB / 4.103 GB, free: 82.02 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003808/8.958, allocations: 318.5 kB / 4.103 GB, free: 81.71 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004806/8.958, allocations: 0.5637 MB / 4.104 GB, free: 81.05 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006711/8.959, allocations: 444.2 kB / 4.104 GB, free: 80.61 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.217e-06/8.959, allocations: 4 kB / 4.104 GB, free: 80.61 MB / 0.948 GB Notification: Performance of matching and sorting (n=104) (initialization): time 0.001665/8.96, allocations: 1.095 MB / 4.105 GB, free: 79.5 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002785/8.961, allocations: 1.738 MB / 4.107 GB, free: 77.66 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.847e-06/8.961, allocations: 4 kB / 4.107 GB, free: 77.66 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001531/8.961, allocations: 44.84 kB / 4.107 GB, free: 77.61 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00081/8.962, allocations: 207.7 kB / 4.107 GB, free: 77.41 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0002926/8.962, allocations: 0.5991 MB / 4.108 GB, free: 76.79 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001345/8.963, allocations: 151.3 kB / 4.108 GB, free: 76.64 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.41e-05/8.964, allocations: 46.39 kB / 4.108 GB, free: 76.59 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 6.433e-06/8.964, allocations: 0 / 4.108 GB, free: 76.59 MB / 0.948 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001437/8.965, allocations: 0.9368 MB / 4.109 GB, free: 75.65 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.38e-06/8.965, allocations: 8.031 kB / 4.109 GB, free: 75.64 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001117/8.965, allocations: 44.89 kB / 4.109 GB, free: 75.6 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000774/8.966, allocations: 203.8 kB / 4.109 GB, free: 75.4 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000997/8.967, allocations: 1.536 MB / 4.111 GB, free: 73.73 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00134/8.968, allocations: 151.4 kB / 4.111 GB, free: 73.58 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.7e-05/8.968, allocations: 43.98 kB / 4.111 GB, free: 73.54 MB / 0.948 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 19 * 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 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (95): * Single equations (assignments): 93 * 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 prepare postOptimizeDAE: time 0.0002199/8.969, allocations: 155.8 kB / 4.111 GB, free: 73.38 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001721/8.969, allocations: 146.2 kB / 4.111 GB, free: 73.23 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001724/8.971, allocations: 1.051 MB / 4.112 GB, free: 72.16 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.811e-06/8.971, allocations: 7.984 kB / 4.112 GB, free: 72.16 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.444e-06/8.971, allocations: 4 kB / 4.112 GB, free: 72.15 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001203/8.972, allocations: 0.9332 MB / 4.113 GB, free: 71.19 MB / 0.948 GB Warning: The model contains alias variables with conflicting start and/or 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.003514/8.975, allocations: 2.579 MB / 4.116 GB, free: 68.52 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.86e-06/8.975, allocations: 4 kB / 4.116 GB, free: 68.51 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008428/8.976, allocations: 184 kB / 4.116 GB, free: 68.33 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.554e-05/8.976, allocations: 40.84 kB / 4.116 GB, free: 68.29 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.596e-05/8.976, allocations: 11.98 kB / 4.116 GB, free: 68.28 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0002718/8.977, allocations: 0.5875 MB / 4.117 GB, free: 67.66 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.328e-06/8.977, allocations: 7.938 kB / 4.117 GB, free: 67.66 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002083/8.979, allocations: 1.792 MB / 4.118 GB, free: 65.75 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005299/8.979, allocations: 335.1 kB / 4.119 GB, free: 65.4 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001788/8.979, allocations: 8 kB / 4.119 GB, free: 65.39 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001101/8.981, allocations: 119.7 kB / 4.119 GB, free: 65.27 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.957e-05/8.981, allocations: 56.39 kB / 4.119 GB, free: 65.21 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.52e-05/8.981, allocations: 35.97 kB / 4.119 GB, free: 65.18 MB / 0.948 GB Notification: Performance of sorting global known variables: time 0.0008188/8.982, allocations: 0.7111 MB / 4.12 GB, free: 64.47 MB / 0.948 GB Notification: Performance of sort global known variables: time 1.81e-07/8.982, allocations: 0 / 4.12 GB, free: 64.47 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.002411/8.984, allocations: 0.9614 MB / 4.12 GB, free: 63.51 MB / 0.948 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) * 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.002904/8.987, allocations: 2.619 MB / 4.123 GB, free: 60.71 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.00199/8.989, allocations: 1.579 MB / 4.125 GB, free: 59.09 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 4.728e-06/8.989, allocations: 7.938 kB / 4.125 GB, free: 59.09 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 0.000519/8.989, allocations: 493.3 kB / 4.125 GB, free: 58.59 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003142/8.993, allocations: 0.7002 MB / 4.126 GB, free: 57.89 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005243/8.998, allocations: 2.483 MB / 4.128 GB, free: 55.34 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006154/8.998, allocations: 1.365 MB / 4.129 GB, free: 53.94 MB / 0.948 GB Notification: Performance of simCode: alias equations: time 0.001893/9, allocations: 458.9 kB / 4.13 GB, free: 53.49 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002274/9.001, allocations: 83.42 kB / 4.13 GB, free: 53.41 MB / 0.948 GB Notification: Performance of SimCode: time 5.82e-07/9.001, allocations: 0 / 4.13 GB, free: 53.41 MB / 0.948 GB Notification: Performance of Templates: time 0.04943/9.05, allocations: 39.15 MB / 4.168 GB, free: 14.46 MB / 0.948 GB make -j1 -f Buildings_8_Buildings.Fluid.Humidifiers.Examples.Humidifier_u.makefile (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)