Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_1.6_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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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_1.6_Buildings.Fluid.Humidifiers.Examples.Humidifier_u") translateModel(Buildings.Fluid.Humidifiers.Examples.Humidifier_u,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_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.0008135/0.0008137, allocations: 91.45 kB / 15.36 MB, free: 0.7383 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.005527/0.005527, allocations: 170.8 kB / 16.26 MB, free: 6.613 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.378/1.378, allocations: 223.3 MB / 240.3 MB, free: 5.32 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.954/2.954, allocations: 473.4 MB / 0.7469 GB, free: 6.082 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0003487/0.0003487, allocations: 6.594 kB / 0.9158 GB, free: 33.16 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3443/0.3446, allocations: 162.2 MB / 1.074 GB, free: 7.527 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Humidifiers.Examples.Humidifier_u): time 0.8907/1.235, allocations: 250.2 MB / 1.318 GB, free: 5.367 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.01512/1.251, allocations: 9.639 MB / 1.328 GB, free: 5.117 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002897/1.253, allocations: 67.97 kB / 1.328 GB, free: 5.117 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.002581/1.256, allocations: 0.8053 MB / 1.329 GB, free: 5.102 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.007175/1.263, allocations: 2.493 MB / 1.331 GB, free: 4.973 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.007521/1.271, allocations: 1.927 MB / 1.333 GB, free: 4.902 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.009131/1.28, allocations: 5.465 MB / 1.338 GB, free: 4.887 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00265/1.283, allocations: 1.41 MB / 1.34 GB, free: 4.629 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005033/1.288, allocations: 1.685 MB / 1.341 GB, free: 4.609 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003917/1.292, allocations: 1.261 MB / 1.343 GB, free: 4.598 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 0.0006063/1.292, allocations: 62.16 kB / 1.343 GB, free: 4.598 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.008612/1.301, allocations: 3.493 MB / 1.346 GB, free: 4.566 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.0009264/1.302, allocations: 481.5 kB / 1.347 GB, free: 4.551 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.001841/1.304, allocations: 0.911 MB / 1.347 GB, free: 20.22 MB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.006685/1.31, allocations: 3.691 MB / 1.351 GB, free: 19.79 MB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 5.45e-06/1.31, allocations: 0 / 1.351 GB, free: 19.79 MB / 1.014 GB Notification: Performance of FrontEnd: time 3.005e-06/1.31, allocations: 0.75 kB / 1.351 GB, free: 19.79 MB / 1.014 GB Notification: Performance of Transformations before backend: time 5.717e-05/1.311, allocations: 0 / 1.351 GB, free: 19.79 MB / 1.014 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.003901/1.314, allocations: 2.131 MB / 1.353 GB, free: 18.54 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 3.949e-05/1.314, allocations: 12.75 kB / 1.353 GB, free: 18.54 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003907/1.318, allocations: 0.6507 MB / 1.354 GB, free: 18.42 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002653/1.321, allocations: 1.378 MB / 1.355 GB, free: 17.97 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003887/1.321, allocations: 165.9 kB / 1.355 GB, free: 17.95 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002127/1.322, allocations: 127 kB / 1.355 GB, free: 17.95 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002611/1.324, allocations: 1.456 MB / 1.357 GB, free: 17.76 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.323e-05/1.324, allocations: 6.609 kB / 1.357 GB, free: 17.76 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001156/1.324, allocations: 49.41 kB / 1.357 GB, free: 17.76 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.804e-05/1.325, allocations: 46.48 kB / 1.357 GB, free: 17.75 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002519/1.327, allocations: 1.227 MB / 1.358 GB, free: 17.36 MB / 1.014 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.008343/1.335, allocations: 5.775 MB / 1.364 GB, free: 13.67 MB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001736/1.337, allocations: 1.056 MB / 1.365 GB, free: 13.04 MB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001007/1.338, allocations: 0.5486 MB / 1.365 GB, free: 12.78 MB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005993/1.339, allocations: 331.9 kB / 1.366 GB, free: 12.46 MB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001196/1.34, allocations: 0.585 MB / 1.366 GB, free: 12.11 MB / 1.014 GB Notification: Performance of pre-optimization done (n=85): time 2.995e-06/1.34, allocations: 0 / 1.366 GB, free: 12.11 MB / 1.014 GB Notification: Performance of matching and sorting (n=87): time 0.008068/1.348, allocations: 3.248 MB / 1.369 GB, free: 10.22 MB / 1.014 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.876e-05/1.348, allocations: 101.3 kB / 1.37 GB, free: 10.12 MB / 1.014 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001957/1.35, allocations: 1.303 MB / 1.371 GB, free: 9.414 MB / 1.014 GB Notification: Performance of collectPreVariables (initialization): time 0.0001254/1.35, allocations: 47.64 kB / 1.371 GB, free: 9.367 MB / 1.014 GB Notification: Performance of collectInitialEqns (initialization): time 0.000675/1.351, allocations: 0.7272 MB / 1.372 GB, free: 8.727 MB / 1.014 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003185/1.351, allocations: 297.9 kB / 1.372 GB, free: 8.477 MB / 1.014 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001328/1.351, allocations: 88.78 kB / 1.372 GB, free: 8.414 MB / 1.014 GB Notification: Performance of setup shared object (initialization): time 0.0001509/1.352, allocations: 345.5 kB / 1.372 GB, free: 8.082 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009911/1.353, allocations: 438.3 kB / 1.373 GB, free: 7.883 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001164/1.354, allocations: 0.6742 MB / 1.373 GB, free: 7.402 MB / 1.014 GB Warning: It was not possible to determine if the initialization problem is consistent, because of not evaluable parameters/start values during compile time: humDyn.vol.dynBal.medium.p = humDyn.vol.dynBal.p_start (sin.p = humDyn.vol.dynBal.p_start) Notification: Performance of analyzeInitialSystem (initialization): time 0.01455/1.368, allocations: 3.998 MB / 1.377 GB, free: 5.391 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.021e-06/1.368, allocations: 0 / 1.377 GB, free: 5.391 MB / 1.014 GB Notification: Performance of matching and sorting (n=123) (initialization): time 0.003105/1.372, allocations: 1.399 MB / 1.379 GB, free: 4.723 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001726/1.372, allocations: 252.7 kB / 1.379 GB, free: 4.418 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.326e-05/1.372, allocations: 9.094 kB / 1.379 GB, free: 4.414 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004045/1.372, allocations: 83.75 kB / 1.379 GB, free: 4.371 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001074/1.373, allocations: 215.9 kB / 1.379 GB, free: 4.332 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006254/1.374, allocations: 0.6007 MB / 1.38 GB, free: 3.762 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002082/1.376, allocations: 148 kB / 1.38 GB, free: 3.695 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001102/1.376, allocations: 43.8 kB / 1.38 GB, free: 3.684 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 1.419e-05/1.376, allocations: 6.219 kB / 1.38 GB, free: 3.684 MB / 1.014 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002896/1.379, allocations: 1.227 MB / 1.381 GB, free: 3.117 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.207e-05/1.379, allocations: 6.781 kB / 1.381 GB, free: 3.117 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001908/1.379, allocations: 49.7 kB / 1.381 GB, free: 3.094 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009423/1.38, allocations: 215.9 kB / 1.381 GB, free: 3.055 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001641/1.382, allocations: 1.605 MB / 1.383 GB, free: 1.469 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001768/1.384, allocations: 150.8 kB / 1.383 GB, free: 1.402 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.68e-05/1.384, allocations: 44.17 kB / 1.383 GB, free: 1.387 MB / 1.014 GB Warning: The initial conditions are over specified. The following 1 initial equations are redundant, so they are removed from the initialization sytem: humDyn.vol.dynBal.medium.p = humDyn.vol.dynBal.p_start. Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 20 * 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 (112): * Single equations (assignments): 108 * 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.0009879/1.385, allocations: 0.5054 MB / 1.384 GB, free: 1.004 MB / 1.014 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002672/1.385, allocations: 164 kB / 1.384 GB, free: 0.918 MB / 1.014 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002667/1.388, allocations: 1.271 MB / 1.385 GB, free: 216 kB / 1.014 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.194e-06/1.388, allocations: 8.594 kB / 1.385 GB, free: 216 kB / 1.014 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.985e-06/1.388, allocations: 0 / 1.385 GB, free: 216 kB / 1.014 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002311/1.39, allocations: 1.134 MB / 1.386 GB, free: 15.57 MB / 1.029 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.005517/1.396, allocations: 3.006 MB / 1.389 GB, free: 13.59 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.129e-05/1.396, allocations: 10.19 kB / 1.389 GB, free: 13.58 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00093/1.397, allocations: 183.2 kB / 1.389 GB, free: 13.55 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000162/1.397, allocations: 52.67 kB / 1.389 GB, free: 13.52 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.944e-05/1.397, allocations: 24.67 kB / 1.389 GB, free: 13.51 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004254/1.397, allocations: 0.588 MB / 1.39 GB, free: 12.95 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.744e-06/1.397, allocations: 7.062 kB / 1.39 GB, free: 12.95 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003804/1.401, allocations: 1.978 MB / 1.392 GB, free: 11.79 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000856/1.402, allocations: 333.6 kB / 1.392 GB, free: 11.51 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002179/1.402, allocations: 29.03 kB / 1.392 GB, free: 11.49 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001196/1.403, allocations: 123.1 kB / 1.392 GB, free: 11.44 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001279/1.403, allocations: 57.09 kB / 1.392 GB, free: 11.41 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.533e-05/1.404, allocations: 38.91 kB / 1.392 GB, free: 11.4 MB / 1.029 GB Notification: Performance of sorting global known variables: time 0.001529/1.405, allocations: 0.8859 MB / 1.393 GB, free: 10.92 MB / 1.029 GB Notification: Performance of sort global known variables: time 1.8e-07/1.405, allocations: 3.938 kB / 1.393 GB, free: 10.91 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.002124/1.407, allocations: 0.676 MB / 1.394 GB, free: 10.85 MB / 1.029 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 17 * Number of states: 6 (senTem1.T,con1.I.y,humDyn.vol.dynBal.medium.Xi[1],humDyn.vol.dynBal.U,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 (78): * Single equations (assignments): 76 * Array equations: 0 * 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 Backend phase and start with SimCode phase: time 0.0006384/1.408, allocations: 291.3 kB / 1.394 GB, free: 10.69 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.004024/1.412, allocations: 1.963 MB / 1.396 GB, free: 9.707 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 4.799e-06/1.412, allocations: 0 / 1.396 GB, free: 9.707 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 0.001215/1.413, allocations: 0.6039 MB / 1.397 GB, free: 9.418 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004934/1.418, allocations: 0.7907 MB / 1.397 GB, free: 9.027 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008727/1.427, allocations: 3.988 MB / 1.401 GB, free: 6.285 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001083/1.428, allocations: 1.34 MB / 1.403 GB, free: 4.914 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 0.002016/1.43, allocations: 368.5 kB / 1.403 GB, free: 4.547 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003494/1.43, allocations: 111.4 kB / 1.403 GB, free: 4.441 MB / 1.029 GB Notification: Performance of SimCode: time 1.934e-06/1.43, allocations: 0 / 1.403 GB, free: 4.441 MB / 1.029 GB Notification: Performance of Templates: time 0.05227/1.483, allocations: 27.6 MB / 1.43 GB, free: 9.234 MB / 1.061 GB make -j1 -f Buildings_1.6_Buildings.Fluid.Humidifiers.Examples.Humidifier_u.makefile (rm -f Buildings_1.6_Buildings.Fluid.Humidifiers.Examples.Humidifier_u.pipe ; mkfifo Buildings_1.6_Buildings.Fluid.Humidifiers.Examples.Humidifier_u.pipe ; head -c 1048576 < Buildings_1.6_Buildings.Fluid.Humidifiers.Examples.Humidifier_u.pipe >> ../files/Buildings_1.6_Buildings.Fluid.Humidifiers.Examples.Humidifier_u.sim & ./Buildings_1.6_Buildings.Fluid.Humidifiers.Examples.Humidifier_u -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_1.6_Buildings.Fluid.Humidifiers.Examples.Humidifier_u.pipe 2>&1)