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.001265/0.001265, allocations: 105.2 kB / 16.36 MB, free: 6.312 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.001059/0.001059, allocations: 189.5 kB / 17.3 MB, free: 5.871 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.315/1.315, allocations: 205.1 MB / 223.2 MB, free: 12.22 MB / 190.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.815/1.815, allocations: 292.3 MB / 0.5496 GB, free: 17.52 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.002564/0.002564, allocations: 63.91 kB / 0.6729 GB, free: 5.816 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2095/0.2121, allocations: 114.6 MB / 0.7848 GB, free: 3.148 MB / 0.6544 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Humidifiers.Examples.Humidifier_u): time 0.5685/0.7807, allocations: 255.8 MB / 1.035 GB, free: 9.922 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.0144/0.7951, allocations: 9.517 MB / 1.044 GB, free: 392 kB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001924/0.7971, allocations: 75.56 kB / 1.044 GB, free: 316 kB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 0.002215/0.7993, allocations: 0.9667 MB / 1.045 GB, free: 15.34 MB / 0.8419 GB Notification: Performance of NFTyping.typeBindings: time 0.005963/0.8053, allocations: 2.656 MB / 1.048 GB, free: 12.67 MB / 0.8419 GB Notification: Performance of NFTyping.typeClassSections: time 0.004989/0.8103, allocations: 2.15 MB / 1.05 GB, free: 10.54 MB / 0.8419 GB Notification: Performance of NFFlatten.flatten: time 0.005226/0.8155, allocations: 4.152 MB / 1.054 GB, free: 6.367 MB / 0.8419 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002204/0.8177, allocations: 1.69 MB / 1.055 GB, free: 4.637 MB / 0.8419 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003926/0.8217, allocations: 1.989 MB / 1.057 GB, free: 2.641 MB / 0.8419 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002842/0.8245, allocations: 1.328 MB / 1.059 GB, free: 1.324 MB / 0.8419 GB Notification: Performance of NFPackage.collectConstants: time 0.000341/0.8249, allocations: 180 kB / 1.059 GB, free: 1.148 MB / 0.8419 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00582/0.8307, allocations: 3.079 MB / 1.062 GB, free: 14.06 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 0.0007554/0.8315, allocations: 0.5998 MB / 1.062 GB, free: 13.46 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 0.00132/0.8328, allocations: 1.034 MB / 1.063 GB, free: 12.42 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.006453/0.8393, allocations: 3.665 MB / 1.067 GB, free: 8.746 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 6.702e-06/0.8394, allocations: 4 kB / 1.067 GB, free: 8.742 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.873e-06/0.8394, allocations: 0 / 1.067 GB, free: 8.742 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 5.597e-05/0.8394, allocations: 0 / 1.067 GB, free: 8.742 MB / 0.8575 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.004517/0.844, allocations: 2.47 MB / 1.069 GB, free: 6.195 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 4.865e-05/0.844, allocations: 15.91 kB / 1.069 GB, free: 6.18 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003729/0.8477, allocations: 0.6103 MB / 1.07 GB, free: 5.566 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002797/0.8506, allocations: 1.43 MB / 1.071 GB, free: 4.082 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.001e-05/0.8507, allocations: 98.27 kB / 1.071 GB, free: 3.984 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001996/0.8509, allocations: 135.8 kB / 1.072 GB, free: 3.852 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002697/0.8536, allocations: 1.436 MB / 1.073 GB, free: 2.348 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.549e-05/0.8536, allocations: 0 / 1.073 GB, free: 2.348 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001222/0.8538, allocations: 52 kB / 1.073 GB, free: 2.297 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.307e-05/0.8538, allocations: 46.25 kB / 1.073 GB, free: 2.25 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002517/0.8563, allocations: 1.184 MB / 1.074 GB, free: 1.059 MB / 0.8575 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.00803/0.8644, allocations: 5.756 MB / 1.08 GB, free: 10.98 MB / 0.8731 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001803/0.8662, allocations: 0.9772 MB / 1.081 GB, free: 9.953 MB / 0.8731 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009966/0.8672, allocations: 0.4991 MB / 1.081 GB, free: 9.453 MB / 0.8731 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006058/0.8678, allocations: 319.9 kB / 1.082 GB, free: 9.086 MB / 0.8731 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001139/0.869, allocations: 0.5403 MB / 1.082 GB, free: 8.527 MB / 0.8731 GB Notification: Performance of pre-optimization done (n=79): time 3.296e-06/0.869, allocations: 0 / 1.082 GB, free: 8.527 MB / 0.8731 GB Notification: Performance of matching and sorting (n=79): time 0.004193/0.8732, allocations: 1.618 MB / 1.084 GB, free: 6.879 MB / 0.8731 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.796e-05/0.8733, allocations: 97.64 kB / 1.084 GB, free: 6.766 MB / 0.8731 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001824/0.8751, allocations: 1.326 MB / 1.085 GB, free: 5.43 MB / 0.8731 GB Notification: Performance of collectPreVariables (initialization): time 9.807e-05/0.8752, allocations: 45.7 kB / 1.085 GB, free: 5.379 MB / 0.8731 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005984/0.8758, allocations: 0.7438 MB / 1.086 GB, free: 4.625 MB / 0.8731 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002884/0.8761, allocations: 280.1 kB / 1.086 GB, free: 4.348 MB / 0.8731 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003076/0.8764, allocations: 186.5 kB / 1.086 GB, free: 4.16 MB / 0.8731 GB Notification: Performance of setup shared object (initialization): time 0.0001298/0.8766, allocations: 341.9 kB / 1.087 GB, free: 3.82 MB / 0.8731 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009647/0.8775, allocations: 416.6 kB / 1.087 GB, free: 3.41 MB / 0.8731 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001147/0.8787, allocations: 0.6536 MB / 1.088 GB, free: 2.664 MB / 0.8731 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002031/0.8807, allocations: 1.072 MB / 1.089 GB, free: 1.512 MB / 0.8731 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.728e-06/0.8808, allocations: 0 / 1.089 GB, free: 1.512 MB / 0.8731 GB Notification: Performance of matching and sorting (n=119) (initialization): time 0.003001/0.8838, allocations: 1.358 MB / 1.09 GB, free: 140 kB / 0.8731 GB Notification: Performance of prepare postOptimizeDAE: time 4.818e-05/0.8838, allocations: 47.83 kB / 1.09 GB, free: 88 kB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.392e-05/0.8839, allocations: 7.984 kB / 1.09 GB, free: 80 kB / 0.8731 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004352/0.8843, allocations: 70.61 kB / 1.09 GB, free: 8 kB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009558/0.8853, allocations: 203.7 kB / 1.09 GB, free: 15.81 MB / 0.8887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004838/0.8858, allocations: 0.5953 MB / 1.091 GB, free: 15.19 MB / 0.8887 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001368/0.8871, allocations: 126.9 kB / 1.091 GB, free: 15.06 MB / 0.8887 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.505e-05/0.8872, allocations: 46.55 kB / 1.091 GB, free: 15.02 MB / 0.8887 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001482/0.8887, allocations: 0.7245 MB / 1.092 GB, free: 14.29 MB / 0.8887 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001093/0.8898, allocations: 0.6458 MB / 1.092 GB, free: 13.55 MB / 0.8887 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001963/0.8918, allocations: 1.068 MB / 1.093 GB, free: 12.4 MB / 0.8887 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 5.901e-06/0.8918, allocations: 4 kB / 1.093 GB, free: 12.4 MB / 0.8887 GB Notification: Performance of matching and sorting (n=119) (initialization_lambda0): time 0.002842/0.8947, allocations: 1.318 MB / 1.095 GB, free: 11.06 MB / 0.8887 GB Notification: Performance of prepare postOptimizeDAE: time 4.042e-05/0.8947, allocations: 41.64 kB / 1.095 GB, free: 11.01 MB / 0.8887 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.136e-05/0.8948, allocations: 7.984 kB / 1.095 GB, free: 11 MB / 0.8887 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001634/0.8949, allocations: 49.31 kB / 1.095 GB, free: 10.95 MB / 0.8887 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008962/0.8958, allocations: 203.7 kB / 1.095 GB, free: 10.75 MB / 0.8887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001545/0.8974, allocations: 1.787 MB / 1.097 GB, free: 8.82 MB / 0.8887 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001368/0.8988, allocations: 111.3 kB / 1.097 GB, free: 8.711 MB / 0.8887 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.954e-05/0.8989, allocations: 39.92 kB / 1.097 GB, free: 8.672 MB / 0.8887 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 (TSet.nextEventScaled,TSet.nextEvent,$PRE.TSet.nextEvent,TSet.last,TSet.b,TSet.a,$whenCondition1,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 (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,4)} Notification: Performance of prepare postOptimizeDAE: time 0.0003009/0.8992, allocations: 274.9 kB / 1.097 GB, free: 8.391 MB / 0.8887 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002227/0.8994, allocations: 154.1 kB / 1.097 GB, free: 8.238 MB / 0.8887 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002532/0.9019, allocations: 1.176 MB / 1.098 GB, free: 7.047 MB / 0.8887 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002014/0.904, allocations: 1.054 MB / 1.1 GB, free: 5.957 MB / 0.8887 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.622e-06/0.904, allocations: 3.984 kB / 1.1 GB, free: 5.953 MB / 0.8887 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006096/0.9046, allocations: 330.9 kB / 1.1 GB, free: 5.609 MB / 0.8887 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000243/0.9049, allocations: 20 kB / 1.1 GB, free: 5.59 MB / 0.8887 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000977/0.9058, allocations: 59.94 kB / 1.1 GB, free: 5.531 MB / 0.8887 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001028/0.906, allocations: 44.59 kB / 1.1 GB, free: 5.488 MB / 0.8887 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.003004/0.909, allocations: 1.237 MB / 1.101 GB, free: 4.223 MB / 0.8887 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.003371/0.9123, allocations: 1.787 MB / 1.103 GB, free: 2.406 MB / 0.8887 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0009405/0.9133, allocations: 473 kB / 1.103 GB, free: 1.941 MB / 0.8887 GB Notification: Performance of sorting global known variables: time 0.001515/0.9148, allocations: 0.8979 MB / 1.104 GB, free: 1.047 MB / 0.8887 GB Notification: Performance of Backend: time 6.91e-07/0.9148, allocations: 0 / 1.104 GB, free: 1.047 MB / 0.8887 GB Notification: Performance of simCode: created initialization part: time 0.005686/0.9205, allocations: 2.17 MB / 1.106 GB, free: 14.86 MB / 0.9044 GB Notification: Performance of SimCode: time 0.006847/0.9274, allocations: 3.787 MB / 1.11 GB, free: 11.08 MB / 0.9044 GB Notification: Performance of Templates: time 0.3636/1.291, allocations: 38.56 MB / 1.148 GB, free: 297.9 MB / 0.92 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)