Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Fluid.Humidifiers.Examples.Humidifier_u.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.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 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: translateModel(Buildings.Fluid.Humidifiers.Examples.Humidifier_u,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Fluid.Humidifiers.Examples.Humidifier_u") translateModel(Buildings.Fluid.Humidifiers.Examples.Humidifier_u,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Fluid.Humidifiers.Examples.Humidifier_u") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.425/1.425, allocations: 252 MB / 268 MB, free: 10.87 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001025/0.001025, allocations: 165.7 kB / 327.6 MB, free: 2.098 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.674/1.674, allocations: 205.4 MB / 0.5786 GB, free: 20.2 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008276/0.0008275, allocations: 82.36 kB / 0.6832 GB, free: 12.78 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003257/0.0003257, allocations: 12.64 kB / 0.7976 GB, free: 135.2 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2263/0.2266, allocations: 106.3 MB / 0.9014 GB, free: 63.55 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Humidifiers.Examples.Humidifier_u): time 0.8357/1.062, allocations: 250.7 MB / 1.146 GB, free: 0.625 MB / 0.698 GB Notification: Performance of NFInst.instExpressions: time 0.02311/1.086, allocations: 9.675 MB / 1.156 GB, free: 352 kB / 0.698 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00461/1.09, allocations: 65.47 kB / 1.156 GB, free: 352 kB / 0.698 GB Notification: Performance of NFTyping.typeComponents: time 0.003737/1.094, allocations: 0.8102 MB / 1.157 GB, free: 336 kB / 0.698 GB Notification: Performance of NFTyping.typeBindings: time 0.01164/1.106, allocations: 2.56 MB / 1.159 GB, free: 200 kB / 0.698 GB Notification: Performance of NFTyping.typeClassSections: time 0.008934/1.115, allocations: 1.972 MB / 1.161 GB, free: 124 kB / 0.698 GB Notification: Performance of NFFlatten.flatten: time 0.0114/1.126, allocations: 5.562 MB / 1.166 GB, free: 14.97 MB / 0.7136 GB Notification: Performance of NFFlatten.resolveConnections: time 0.004038/1.13, allocations: 1.405 MB / 1.168 GB, free: 14.16 MB / 0.7136 GB Notification: Performance of NFEvalConstants.evaluate: time 0.006054/1.136, allocations: 1.66 MB / 1.169 GB, free: 13.53 MB / 0.7136 GB Notification: Performance of NFSimplifyModel.simplify: time 0.005699/1.142, allocations: 1.299 MB / 1.171 GB, free: 12.94 MB / 0.7136 GB Notification: Performance of NFPackage.collectConstants: time 0.0007609/1.143, allocations: 61.47 kB / 1.171 GB, free: 12.94 MB / 0.7136 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01141/1.154, allocations: 3.428 MB / 1.174 GB, free: 11.55 MB / 0.7136 GB Notification: Performance of NFScalarize.scalarize: time 0.001611/1.156, allocations: 486 kB / 1.175 GB, free: 11.25 MB / 0.7136 GB Notification: Performance of NFVerifyModel.verify: time 0.003494/1.159, allocations: 0.9157 MB / 1.175 GB, free: 10.67 MB / 0.7136 GB Notification: Performance of NFConvertDAE.convert: time 0.007203/1.167, allocations: 2.676 MB / 1.178 GB, free: 9.098 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 6.533e-06/1.167, allocations: 0 / 1.178 GB, free: 9.098 MB / 0.7136 GB Notification: Performance of FrontEnd: time 3.126e-06/1.167, allocations: 0 / 1.178 GB, free: 9.098 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 0.000127/1.167, allocations: 0 / 1.178 GB, free: 9.098 MB / 0.7136 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 302 * Number of variables: 302 Notification: Performance of Generate backend data structure: time 0.007614/1.174, allocations: 2.143 MB / 1.18 GB, free: 7.492 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 4.743e-05/1.175, allocations: 12.62 kB / 1.18 GB, free: 7.488 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00609/1.181, allocations: 0.616 MB / 1.181 GB, free: 7.219 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00512/1.186, allocations: 1.379 MB / 1.182 GB, free: 6.223 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006524/1.186, allocations: 161 kB / 1.182 GB, free: 6.156 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005833/1.187, allocations: 125.2 kB / 1.182 GB, free: 6.117 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005013/1.192, allocations: 1.463 MB / 1.184 GB, free: 5.219 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.528e-05/1.192, allocations: 0 / 1.184 GB, free: 5.219 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002528/1.192, allocations: 58.2 kB / 1.184 GB, free: 5.176 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.425e-05/1.193, allocations: 40.06 kB / 1.184 GB, free: 5.172 MB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004241/1.197, allocations: 1.222 MB / 1.185 GB, free: 4.582 MB / 0.7136 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.01336/1.21, allocations: 5.792 MB / 1.191 GB, free: 15.59 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002641/1.213, allocations: 0.9867 MB / 1.192 GB, free: 14.57 MB / 0.7292 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0015/1.214, allocations: 0.5111 MB / 1.192 GB, free: 14.05 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008549/1.215, allocations: 330.9 kB / 1.193 GB, free: 13.68 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001708/1.217, allocations: 0.5666 MB / 1.193 GB, free: 13.1 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=79): time 4.669e-06/1.217, allocations: 0 / 1.193 GB, free: 13.1 MB / 0.7292 GB Notification: Performance of matching and sorting (n=79): time 0.006209/1.223, allocations: 1.646 MB / 1.195 GB, free: 11.42 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.419e-05/1.223, allocations: 104.8 kB / 1.195 GB, free: 11.3 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002895/1.226, allocations: 1.322 MB / 1.196 GB, free: 9.969 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 0.0001842/1.226, allocations: 45.7 kB / 1.196 GB, free: 9.918 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 0.0009753/1.227, allocations: 0.7552 MB / 1.197 GB, free: 9.156 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003899/1.228, allocations: 274.6 kB / 1.197 GB, free: 8.891 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.158e-05/1.228, allocations: 20 kB / 1.197 GB, free: 8.871 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 0.0001835/1.228, allocations: 341.9 kB / 1.197 GB, free: 8.531 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001301/1.229, allocations: 421.8 kB / 1.198 GB, free: 8.121 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001702/1.231, allocations: 0.6644 MB / 1.199 GB, free: 7.359 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003121/1.234, allocations: 1.098 MB / 1.2 GB, free: 6.199 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.233e-06/1.234, allocations: 0 / 1.2 GB, free: 6.199 MB / 0.7292 GB Notification: Performance of matching and sorting (n=119) (initialization): time 0.004615/1.239, allocations: 1.384 MB / 1.201 GB, free: 4.836 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002658/1.239, allocations: 278.7 kB / 1.201 GB, free: 4.48 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.613e-05/1.239, allocations: 8 kB / 1.201 GB, free: 4.473 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000539/1.24, allocations: 75.92 kB / 1.201 GB, free: 4.398 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001418/1.241, allocations: 210.6 kB / 1.201 GB, free: 4.203 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006385/1.242, allocations: 0.6017 MB / 1.202 GB, free: 3.578 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002561/1.244, allocations: 190.9 kB / 1.202 GB, free: 3.391 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001342/1.245, allocations: 40 kB / 1.202 GB, free: 3.352 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 1.258e-05/1.245, allocations: 4 kB / 1.202 GB, free: 3.348 MB / 0.7292 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003789/1.248, allocations: 1.21 MB / 1.203 GB, free: 2.168 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.666e-05/1.249, allocations: 7.984 kB / 1.203 GB, free: 2.16 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002145/1.249, allocations: 53.3 kB / 1.204 GB, free: 2.105 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001276/1.25, allocations: 202.4 kB / 1.204 GB, free: 1.918 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002116/1.252, allocations: 1.616 MB / 1.205 GB, free: 176 kB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002354/1.255, allocations: 184.9 kB / 1.205 GB, free: 15.99 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001843/1.255, allocations: 43.94 kB / 1.206 GB, free: 15.95 MB / 0.7448 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 (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.001364/1.256, allocations: 0.4998 MB / 1.206 GB, free: 15.45 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005996/1.257, allocations: 158.1 kB / 1.206 GB, free: 15.29 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004091/1.261, allocations: 1.202 MB / 1.207 GB, free: 14.07 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.364e-05/1.261, allocations: 4 kB / 1.207 GB, free: 14.06 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.389e-06/1.261, allocations: 3.938 kB / 1.207 GB, free: 14.06 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.003158/1.264, allocations: 1.085 MB / 1.208 GB, free: 12.94 MB / 0.7448 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.008035/1.272, allocations: 2.802 MB / 1.211 GB, free: 10.07 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.526e-06/1.272, allocations: 0 / 1.211 GB, free: 10.07 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001384/1.274, allocations: 177.6 kB / 1.211 GB, free: 9.898 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002509/1.274, allocations: 51.72 kB / 1.211 GB, free: 9.848 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001065/1.274, allocations: 24 kB / 1.211 GB, free: 9.824 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007004/1.275, allocations: 0.59 MB / 1.212 GB, free: 9.211 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.646e-06/1.275, allocations: 0 / 1.212 GB, free: 9.211 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005862/1.281, allocations: 1.864 MB / 1.214 GB, free: 7.301 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001627/1.282, allocations: 346.9 kB / 1.214 GB, free: 6.941 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006184/1.283, allocations: 27.94 kB / 1.214 GB, free: 6.914 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002128/1.285, allocations: 108.5 kB / 1.214 GB, free: 6.809 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001878/1.285, allocations: 57.75 kB / 1.214 GB, free: 6.754 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001364/1.285, allocations: 35.98 kB / 1.214 GB, free: 6.719 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 0.002741/1.288, allocations: 0.9058 MB / 1.215 GB, free: 5.816 MB / 0.7448 GB Notification: Performance of sort global known variables: time 3e-07/1.288, allocations: 0 / 1.215 GB, free: 5.816 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.004183/1.292, allocations: 0.7909 MB / 1.216 GB, free: 5.023 MB / 0.7448 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.0009638/1.293, allocations: 281.2 kB / 1.216 GB, free: 4.754 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.005699/1.299, allocations: 1.906 MB / 1.218 GB, free: 2.805 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 1.086e-05/1.299, allocations: 0 / 1.218 GB, free: 2.805 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 0.001735/1.301, allocations: 0.5733 MB / 1.219 GB, free: 2.223 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006994/1.308, allocations: 0.7847 MB / 1.219 GB, free: 1.445 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01295/1.321, allocations: 3.991 MB / 1.223 GB, free: 13.39 MB / 0.7605 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001838/1.323, allocations: 1.328 MB / 1.225 GB, free: 12.03 MB / 0.7605 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007149/1.324, allocations: 115.4 kB / 1.225 GB, free: 11.92 MB / 0.7605 GB Notification: Performance of SimCode: time 1.233e-06/1.324, allocations: 4 kB / 1.225 GB, free: 11.91 MB / 0.7605 GB Notification: Performance of Templates: time 0.05638/1.38, allocations: 31.88 MB / 1.256 GB, free: 12.15 MB / 0.7917 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Fluid.Humidifiers.Examples.Humidifier_u.makefile (rm -f Buildings_maint.7.0.x_Buildings.Fluid.Humidifiers.Examples.Humidifier_u.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Fluid.Humidifiers.Examples.Humidifier_u.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Fluid.Humidifiers.Examples.Humidifier_u.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Fluid.Humidifiers.Examples.Humidifier_u.sim & ./Buildings_maint.7.0.x_Buildings.Fluid.Humidifiers.Examples.Humidifier_u -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Fluid.Humidifiers.Examples.Humidifier_u.pipe 2>&1)