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.001141/0.001141, allocations: 105.9 kB / 16.37 MB, free: 6.477 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.001087/0.001087, allocations: 189.8 kB / 17.31 MB, free: 5.824 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.398/1.398, allocations: 205.1 MB / 223.2 MB, free: 12.25 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.777/1.777, allocations: 292.3 MB / 0.5496 GB, free: 17.57 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.001454/0.001454, allocations: 71.91 kB / 0.6729 GB, free: 5.84 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2463/0.2478, allocations: 114.6 MB / 0.7848 GB, free: 3.172 MB / 0.6544 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Humidifiers.Examples.Humidifier_u): time 0.7324/0.9802, allocations: 255.8 MB / 1.035 GB, free: 9.957 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.01685/0.9971, allocations: 9.522 MB / 1.044 GB, free: 424 kB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003308/1, allocations: 75.56 kB / 1.044 GB, free: 348 kB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 0.003184/1.004, allocations: 0.9667 MB / 1.045 GB, free: 15.37 MB / 0.8419 GB Notification: Performance of NFTyping.typeBindings: time 0.007931/1.012, allocations: 2.645 MB / 1.048 GB, free: 12.71 MB / 0.8419 GB Notification: Performance of NFTyping.typeClassSections: time 0.005876/1.018, allocations: 2.157 MB / 1.05 GB, free: 10.57 MB / 0.8419 GB Notification: Performance of NFFlatten.flatten: time 0.006584/1.024, allocations: 4.15 MB / 1.054 GB, free: 6.406 MB / 0.8419 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002579/1.027, allocations: 1.696 MB / 1.055 GB, free: 4.672 MB / 0.8419 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004461/1.031, allocations: 1.989 MB / 1.057 GB, free: 2.676 MB / 0.8419 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002949/1.034, allocations: 1.326 MB / 1.059 GB, free: 1.363 MB / 0.8419 GB Notification: Performance of NFPackage.collectConstants: time 0.0003657/1.035, allocations: 180 kB / 1.059 GB, free: 1.188 MB / 0.8419 GB Notification: Performance of NFFlatten.collectFunctions: time 0.006058/1.041, allocations: 3.087 MB / 1.062 GB, free: 14.09 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 0.0007585/1.042, allocations: 0.5997 MB / 1.062 GB, free: 13.49 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 0.00143/1.043, allocations: 1.034 MB / 1.063 GB, free: 12.45 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.006972/1.05, allocations: 3.665 MB / 1.067 GB, free: 8.777 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 8.366e-06/1.05, allocations: 0 / 1.067 GB, free: 8.777 MB / 0.8575 GB Notification: Performance of FrontEnd: time 2.345e-06/1.05, allocations: 3.938 kB / 1.067 GB, free: 8.773 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 3.614e-05/1.05, allocations: 0 / 1.067 GB, free: 8.773 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.004439/1.054, allocations: 2.47 MB / 1.069 GB, free: 6.227 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 4.047e-05/1.055, allocations: 8.031 kB / 1.069 GB, free: 6.219 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003517/1.058, allocations: 0.6141 MB / 1.07 GB, free: 5.602 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0029/1.061, allocations: 1.43 MB / 1.071 GB, free: 4.117 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.75e-05/1.061, allocations: 94.33 kB / 1.071 GB, free: 4.023 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002051/1.061, allocations: 139.8 kB / 1.072 GB, free: 3.887 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002645/1.064, allocations: 1.436 MB / 1.073 GB, free: 2.383 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.491e-05/1.064, allocations: 0 / 1.073 GB, free: 2.383 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001121/1.064, allocations: 48 kB / 1.073 GB, free: 2.336 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.477e-05/1.064, allocations: 42.27 kB / 1.073 GB, free: 2.293 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002418/1.067, allocations: 1.188 MB / 1.074 GB, free: 1.098 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.008346/1.075, allocations: 5.76 MB / 1.08 GB, free: 11.01 MB / 0.8731 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001726/1.077, allocations: 0.9695 MB / 1.081 GB, free: 9.992 MB / 0.8731 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009273/1.078, allocations: 0.5106 MB / 1.081 GB, free: 9.484 MB / 0.8731 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005831/1.078, allocations: 315.9 kB / 1.082 GB, free: 9.121 MB / 0.8731 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001083/1.079, allocations: 0.5364 MB / 1.082 GB, free: 8.566 MB / 0.8731 GB Notification: Performance of pre-optimization done (n=79): time 3.606e-06/1.079, allocations: 4 kB / 1.082 GB, free: 8.562 MB / 0.8731 GB Notification: Performance of matching and sorting (n=79): time 0.004247/1.084, allocations: 1.618 MB / 1.084 GB, free: 6.914 MB / 0.8731 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.035e-05/1.084, allocations: 97.64 kB / 1.084 GB, free: 6.801 MB / 0.8731 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001877/1.086, allocations: 1.326 MB / 1.085 GB, free: 5.465 MB / 0.8731 GB Notification: Performance of collectPreVariables (initialization): time 0.0001213/1.086, allocations: 45.7 kB / 1.085 GB, free: 5.414 MB / 0.8731 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006372/1.086, allocations: 0.7439 MB / 1.086 GB, free: 4.66 MB / 0.8731 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002714/1.087, allocations: 276.1 kB / 1.086 GB, free: 4.387 MB / 0.8731 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003031/1.087, allocations: 186.5 kB / 1.086 GB, free: 4.199 MB / 0.8731 GB Notification: Performance of setup shared object (initialization): time 0.000131/1.087, allocations: 341.9 kB / 1.087 GB, free: 3.859 MB / 0.8731 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009026/1.088, allocations: 420.6 kB / 1.087 GB, free: 3.445 MB / 0.8731 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001054/1.089, allocations: 0.6497 MB / 1.088 GB, free: 2.703 MB / 0.8731 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001922/1.091, allocations: 1.08 MB / 1.089 GB, free: 1.543 MB / 0.8731 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.661e-06/1.091, allocations: 0 / 1.089 GB, free: 1.543 MB / 0.8731 GB Notification: Performance of matching and sorting (n=119) (initialization): time 0.002956/1.094, allocations: 1.349 MB / 1.09 GB, free: 180 kB / 0.8731 GB Notification: Performance of prepare postOptimizeDAE: time 5.366e-05/1.094, allocations: 45.69 kB / 1.09 GB, free: 128 kB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.34e-05/1.094, allocations: 4.469 kB / 1.09 GB, free: 124 kB / 0.8731 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004091/1.094, allocations: 79.69 kB / 1.09 GB, free: 44 kB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008971/1.095, allocations: 199.8 kB / 1.09 GB, free: 15.84 MB / 0.8887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004814/1.096, allocations: 0.5945 MB / 1.091 GB, free: 15.23 MB / 0.8887 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001422/1.097, allocations: 134.9 kB / 1.091 GB, free: 15.09 MB / 0.8887 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.254e-05/1.097, allocations: 43.98 kB / 1.091 GB, free: 15.05 MB / 0.8887 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001423/1.099, allocations: 0.7166 MB / 1.092 GB, free: 14.33 MB / 0.8887 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001059/1.1, allocations: 0.6525 MB / 1.092 GB, free: 13.59 MB / 0.8887 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.00188/1.102, allocations: 1.068 MB / 1.093 GB, free: 12.44 MB / 0.8887 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 5.139e-06/1.102, allocations: 4 kB / 1.093 GB, free: 12.43 MB / 0.8887 GB Notification: Performance of matching and sorting (n=119) (initialization_lambda0): time 0.00277/1.105, allocations: 1.322 MB / 1.095 GB, free: 11.09 MB / 0.8887 GB Notification: Performance of prepare postOptimizeDAE: time 4.519e-05/1.105, allocations: 45.62 kB / 1.095 GB, free: 11.04 MB / 0.8887 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.616e-06/1.105, allocations: 4 kB / 1.095 GB, free: 11.04 MB / 0.8887 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001661/1.105, allocations: 48.83 kB / 1.095 GB, free: 10.98 MB / 0.8887 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00088/1.106, allocations: 203.8 kB / 1.095 GB, free: 10.79 MB / 0.8887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001481/1.107, allocations: 1.788 MB / 1.097 GB, free: 8.852 MB / 0.8887 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001403/1.109, allocations: 115.4 kB / 1.097 GB, free: 8.738 MB / 0.8887 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.37e-05/1.109, allocations: 32 kB / 1.097 GB, free: 8.707 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.0003517/1.109, allocations: 270.8 kB / 1.097 GB, free: 8.43 MB / 0.8887 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002549/1.109, allocations: 154.1 kB / 1.097 GB, free: 8.277 MB / 0.8887 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002574/1.112, allocations: 1.171 MB / 1.098 GB, free: 7.09 MB / 0.8887 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.133e-06/1.112, allocations: 12 kB / 1.098 GB, free: 7.078 MB / 0.8887 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.695e-06/1.112, allocations: 0 / 1.098 GB, free: 7.078 MB / 0.8887 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001979/1.114, allocations: 1.059 MB / 1.1 GB, free: 5.984 MB / 0.8887 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.004794/1.119, allocations: 2.78 MB / 1.102 GB, free: 3.098 MB / 0.8887 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.364e-06/1.119, allocations: 6.125 kB / 1.102 GB, free: 3.094 MB / 0.8887 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008904/1.12, allocations: 172 kB / 1.102 GB, free: 2.926 MB / 0.8887 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001542/1.12, allocations: 51.11 kB / 1.102 GB, free: 2.875 MB / 0.8887 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.668e-05/1.12, allocations: 27.98 kB / 1.102 GB, free: 2.848 MB / 0.8887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.000391/1.12, allocations: 0.5797 MB / 1.103 GB, free: 2.242 MB / 0.8887 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.908e-06/1.12, allocations: 8.062 kB / 1.103 GB, free: 2.234 MB / 0.8887 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003429/1.124, allocations: 1.831 MB / 1.105 GB, free: 364 kB / 0.8887 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007236/1.125, allocations: 335 kB / 1.105 GB, free: 8 kB / 0.8887 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002354/1.125, allocations: 23.98 kB / 1.105 GB, free: 15.98 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001012/1.126, allocations: 53.97 kB / 1.105 GB, free: 15.93 MB / 0.9044 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001113/1.126, allocations: 56.42 kB / 1.105 GB, free: 15.88 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.909e-05/1.126, allocations: 35.98 kB / 1.105 GB, free: 15.84 MB / 0.9044 GB Notification: Performance of sorting global known variables: time 0.001404/1.127, allocations: 0.894 MB / 1.106 GB, free: 14.95 MB / 0.9044 GB Notification: Performance of sort global known variables: time 1.9e-07/1.127, allocations: 0 / 1.106 GB, free: 14.95 MB / 0.9044 GB Notification: Performance of remove unused functions: time 0.002127/1.13, allocations: 0.7871 MB / 1.107 GB, free: 14.16 MB / 0.9044 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 (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.0006834/1.13, allocations: 289.9 kB / 1.107 GB, free: 13.88 MB / 0.9044 GB Notification: Performance of simCode: created initialization part: time 0.003937/1.134, allocations: 1.88 MB / 1.109 GB, free: 11.97 MB / 0.9044 GB Notification: Performance of simCode: created event and clocks part: time 5.059e-06/1.134, allocations: 0 / 1.109 GB, free: 11.97 MB / 0.9044 GB Notification: Performance of simCode: created simulation system equations: time 0.001077/1.135, allocations: 0.5656 MB / 1.11 GB, free: 11.4 MB / 0.9044 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003902/1.139, allocations: 0.7935 MB / 1.11 GB, free: 10.68 MB / 0.9044 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00762/1.147, allocations: 3.233 MB / 1.114 GB, free: 7.383 MB / 0.9044 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008902/1.148, allocations: 1.324 MB / 1.115 GB, free: 6.027 MB / 0.9044 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004691/1.148, allocations: 115.4 kB / 1.115 GB, free: 5.914 MB / 0.9044 GB Notification: Performance of SimCode: time 1.102e-06/1.148, allocations: 0 / 1.115 GB, free: 5.914 MB / 0.9044 GB Notification: Performance of Templates: time 0.3933/1.542, allocations: 32.02 MB / 1.146 GB, free: 305 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)