Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Fluid.Interfaces.Examples.ReverseFlowHumidifier.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/NcDataReader2 2.5.1-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-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(BuildingSystems.Fluid.Interfaces.Examples.ReverseFlowHumidifier,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.Interfaces.Examples.ReverseFlowHumidifier") translateModel(BuildingSystems.Fluid.Interfaces.Examples.ReverseFlowHumidifier,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.Interfaces.Examples.ReverseFlowHumidifier") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.008465/0.008466, allocations: 101.2 kB / 15.73 MB, free: 6.055 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.001948/0.001948, allocations: 200.5 kB / 16.68 MB, free: 5.984 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.349/1.349, allocations: 222.9 MB / 240.4 MB, free: 4.344 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002146/0.002146, allocations: 290.9 kB / 290.8 MB, free: 1.941 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9568/0.9568, allocations: 169.3 MB / 0.4983 GB, free: 13.82 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001683/0.001683, allocations: 99.78 kB / 0.6815 GB, free: 15.49 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.167/0.1687, allocations: 86.98 MB / 0.7664 GB, free: 8.434 MB / 0.5606 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Interfaces.Examples.ReverseFlowHumidifier): time 0.6084/0.7772, allocations: 274.6 MB / 1.035 GB, free: 15.82 MB / 0.795 GB Notification: Performance of NFInst.instExpressions: time 0.02167/0.7989, allocations: 17.35 MB / 1.052 GB, free: 14.41 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001916/0.8008, allocations: 75.56 kB / 1.052 GB, free: 14.34 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 0.002541/0.8034, allocations: 1.157 MB / 1.053 GB, free: 13.18 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 0.006457/0.8099, allocations: 3.101 MB / 1.056 GB, free: 10.06 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.004859/0.8147, allocations: 2.214 MB / 1.058 GB, free: 7.855 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 0.005884/0.8206, allocations: 4.843 MB / 1.063 GB, free: 3.004 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002343/0.823, allocations: 1.77 MB / 1.064 GB, free: 1.207 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 0.006214/0.8292, allocations: 2.455 MB / 1.067 GB, free: 14.76 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003512/0.8327, allocations: 1.538 MB / 1.068 GB, free: 13.23 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 0.000532/0.8333, allocations: 192 kB / 1.068 GB, free: 13.04 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005786/0.8391, allocations: 3.016 MB / 1.071 GB, free: 10.02 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 0.00075/0.8398, allocations: 0.7246 MB / 1.072 GB, free: 9.289 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 0.002018/0.8419, allocations: 1.12 MB / 1.073 GB, free: 8.164 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.005582/0.8475, allocations: 3.837 MB / 1.077 GB, free: 4.316 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 4.208e-06/0.8475, allocations: 0 / 1.077 GB, free: 4.316 MB / 0.8262 GB Notification: Performance of FrontEnd: time 1.533e-06/0.8475, allocations: 0 / 1.077 GB, free: 4.316 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 1.968e-05/0.8475, allocations: 0 / 1.077 GB, free: 4.316 MB / 0.8262 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 324 * Number of variables: 324 Notification: Performance of Generate backend data structure: time 0.003636/0.8512, allocations: 2.427 MB / 1.079 GB, free: 1.82 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 3.388e-05/0.8512, allocations: 8.031 kB / 1.079 GB, free: 1.812 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004206/0.8554, allocations: 0.6377 MB / 1.08 GB, free: 1.172 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002006/0.8574, allocations: 1.412 MB / 1.081 GB, free: 15.7 MB / 0.8419 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.374e-05/0.8575, allocations: 98.55 kB / 1.081 GB, free: 15.6 MB / 0.8419 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001961/0.8577, allocations: 140 kB / 1.082 GB, free: 15.46 MB / 0.8419 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002371/0.8601, allocations: 1.571 MB / 1.083 GB, free: 13.83 MB / 0.8419 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.657e-05/0.8601, allocations: 0 / 1.083 GB, free: 13.83 MB / 0.8419 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000136/0.8603, allocations: 55.91 kB / 1.083 GB, free: 13.78 MB / 0.8419 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.721e-05/0.8603, allocations: 50.39 kB / 1.083 GB, free: 13.73 MB / 0.8419 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002021/0.8624, allocations: 1.274 MB / 1.084 GB, free: 12.45 MB / 0.8419 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.007895/0.8703, allocations: 7.198 MB / 1.091 GB, free: 4.68 MB / 0.8419 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001058/0.8713, allocations: 0.6418 MB / 1.092 GB, free: 4.027 MB / 0.8419 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005036/0.8719, allocations: 384.3 kB / 1.092 GB, free: 3.652 MB / 0.8419 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001931/0.8721, allocations: 105.6 kB / 1.093 GB, free: 3.531 MB / 0.8419 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.877e-05/0.8721, allocations: 43.12 kB / 1.093 GB, free: 3.48 MB / 0.8419 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.000418/0.8725, allocations: 103 kB / 1.093 GB, free: 3.379 MB / 0.8419 GB Notification: Performance of pre-optimization done (n=67): time 2.564e-06/0.8725, allocations: 0 / 1.093 GB, free: 3.379 MB / 0.8419 GB Notification: Performance of matching and sorting (n=67): time 0.001779/0.8743, allocations: 1.016 MB / 1.094 GB, free: 2.359 MB / 0.8419 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.449e-05/0.8744, allocations: 59.97 kB / 1.094 GB, free: 2.289 MB / 0.8419 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001518/0.8759, allocations: 1.343 MB / 1.095 GB, free: 0.9375 MB / 0.8419 GB Notification: Performance of collectPreVariables (initialization): time 7.257e-05/0.876, allocations: 49.7 kB / 1.095 GB, free: 0.8828 MB / 0.8419 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005504/0.8765, allocations: 0.7697 MB / 1.096 GB, free: 108 kB / 0.8419 GB Notification: Performance of collectInitialBindings (initialization): time 0.3133/1.19, allocations: 245.6 kB / 1.096 GB, free: 294 MB / 0.8419 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004025/1.19, allocations: 195.7 kB / 1.096 GB, free: 293.9 MB / 0.8419 GB Notification: Performance of setup shared object (initialization): time 7.143e-05/1.19, allocations: 349.1 kB / 1.097 GB, free: 293.6 MB / 0.8419 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000589/1.191, allocations: 357.1 kB / 1.097 GB, free: 293.6 MB / 0.8419 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007153/1.192, allocations: 0.6834 MB / 1.098 GB, free: 293.3 MB / 0.8419 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001162/1.193, allocations: 0.9528 MB / 1.099 GB, free: 293 MB / 0.8419 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.412e-06/1.193, allocations: 2.781 kB / 1.099 GB, free: 293 MB / 0.8419 GB Notification: Performance of matching and sorting (n=123) (initialization): time 0.001798/1.195, allocations: 1.149 MB / 1.1 GB, free: 292.7 MB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 2.129e-05/1.195, allocations: 8.156 kB / 1.1 GB, free: 292.7 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.397e-05/1.195, allocations: 6.25 kB / 1.1 GB, free: 292.7 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.786e-05/1.195, allocations: 12.89 kB / 1.1 GB, free: 292.7 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008826/1.196, allocations: 213 kB / 1.1 GB, free: 292.6 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.167e-05/1.196, allocations: 18.88 kB / 1.1 GB, free: 292.6 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001226/1.197, allocations: 47.84 kB / 1.1 GB, free: 292.6 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.582e-05/1.197, allocations: 45.25 kB / 1.1 GB, free: 292.6 MB / 0.8419 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0009957/1.198, allocations: 0.6862 MB / 1.101 GB, free: 292.3 MB / 0.8419 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0006487/1.199, allocations: 0.678 MB / 1.101 GB, free: 291.7 MB / 0.8419 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001054/1.2, allocations: 0.9529 MB / 1.102 GB, free: 291.1 MB / 0.8419 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 3.797e-06/1.2, allocations: 2.219 kB / 1.102 GB, free: 291.1 MB / 0.8419 GB Notification: Performance of matching and sorting (n=123) (initialization_lambda0): time 0.001616/1.201, allocations: 1.149 MB / 1.103 GB, free: 290.7 MB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 1.527e-05/1.201, allocations: 9.781 kB / 1.103 GB, free: 290.7 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.318e-06/1.201, allocations: 5.688 kB / 1.103 GB, free: 290.7 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.381e-05/1.201, allocations: 16.53 kB / 1.103 GB, free: 290.7 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008286/1.202, allocations: 208.6 kB / 1.104 GB, free: 290.7 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.856e-05/1.202, allocations: 21.02 kB / 1.104 GB, free: 290.7 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001231/1.204, allocations: 64.03 kB / 1.104 GB, free: 290.7 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.116e-05/1.204, allocations: 42.2 kB / 1.104 GB, free: 290.7 MB / 0.8419 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 30 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (121): * Single equations (assignments): 119 * Array equations: 2 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002304/1.204, allocations: 238.2 kB / 1.104 GB, free: 290.5 MB / 0.8419 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000199/1.204, allocations: 154 kB / 1.104 GB, free: 290.4 MB / 0.8419 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001259/1.205, allocations: 0.8221 MB / 1.105 GB, free: 290 MB / 0.8419 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.922e-06/1.205, allocations: 6.844 kB / 1.105 GB, free: 290 MB / 0.8419 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.292e-06/1.205, allocations: 6.25 kB / 1.105 GB, free: 290 MB / 0.8419 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0007507/1.206, allocations: 0.7869 MB / 1.106 GB, free: 289.5 MB / 0.8419 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002569/1.209, allocations: 2.301 MB / 1.108 GB, free: 288.4 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.516e-06/1.209, allocations: 2.781 kB / 1.108 GB, free: 288.4 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007582/1.209, allocations: 165.7 kB / 1.108 GB, free: 288.4 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.669e-06/1.209, allocations: 2.906 kB / 1.108 GB, free: 288.4 MB / 0.8419 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.498e-05/1.209, allocations: 23.72 kB / 1.108 GB, free: 288.4 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.21e-06/1.21, allocations: 9.281 kB / 1.108 GB, free: 288.4 MB / 0.8419 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.374e-06/1.21, allocations: 1.125 kB / 1.108 GB, free: 288.4 MB / 0.8419 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001386/1.211, allocations: 1.27 MB / 1.109 GB, free: 287.7 MB / 0.8419 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000368/1.211, allocations: 314.2 kB / 1.11 GB, free: 287.5 MB / 0.8419 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001727/1.211, allocations: 19.86 kB / 1.11 GB, free: 287.5 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008567/1.212, allocations: 36.36 kB / 1.11 GB, free: 287.5 MB / 0.8419 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.4e-05/1.212, allocations: 39.62 kB / 1.11 GB, free: 287.5 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.265e-05/1.212, allocations: 36.72 kB / 1.11 GB, free: 287.5 MB / 0.8419 GB Notification: Performance of sorting global known variables: time 0.001057/1.214, allocations: 0.9094 MB / 1.111 GB, free: 287.1 MB / 0.8419 GB Notification: Performance of sort global known variables: time 1.4e-07/1.214, allocations: 0 / 1.111 GB, free: 287.1 MB / 0.8419 GB Notification: Performance of remove unused functions: time 0.001595/1.215, allocations: 0.8391 MB / 1.112 GB, free: 287 MB / 0.8419 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * Number of states: 6 (humBac.vol.dynBal.medium.Xi[1],humBac.vol.dynBal.U,humBac.vol.dynBal.m,humFor.vol.dynBal.medium.Xi[1],humFor.vol.dynBal.U,humFor.vol.dynBal.m) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (71): * Single equations (assignments): 71 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0004275/1.216, allocations: 260.4 kB / 1.112 GB, free: 286.9 MB / 0.8419 GB Notification: Performance of simCode: created initialization part: time 0.001826/1.217, allocations: 1.343 MB / 1.113 GB, free: 286.4 MB / 0.8419 GB Notification: Performance of simCode: created event and clocks part: time 3.727e-06/1.217, allocations: 1.031 kB / 1.113 GB, free: 286.4 MB / 0.8419 GB Notification: Performance of simCode: created simulation system equations: time 0.0004571/1.218, allocations: 349.9 kB / 1.113 GB, free: 286.3 MB / 0.8419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003357/1.221, allocations: 0.8416 MB / 1.114 GB, free: 286.1 MB / 0.8419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003962/1.225, allocations: 2.88 MB / 1.117 GB, free: 284.7 MB / 0.8419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008454/1.226, allocations: 1.349 MB / 1.118 GB, free: 283.9 MB / 0.8419 GB Notification: Performance of simCode: alias equations: time 0.001333/1.227, allocations: 416 kB / 1.119 GB, free: 283.9 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002963/1.228, allocations: 116.1 kB / 1.119 GB, free: 283.8 MB / 0.8419 GB Notification: Performance of SimCode: time 3.9e-07/1.228, allocations: 0 / 1.119 GB, free: 283.8 MB / 0.8419 GB Notification: Performance of Templates: time 0.04525/1.273, allocations: 29.29 MB / 1.147 GB, free: 273.7 MB / 0.8419 GB make -j1 -f BuildingSystems_BuildingSystems.Fluid.Interfaces.Examples.ReverseFlowHumidifier.makefile (rm -f BuildingSystems_BuildingSystems.Fluid.Interfaces.Examples.ReverseFlowHumidifier.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.Interfaces.Examples.ReverseFlowHumidifier.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.Interfaces.Examples.ReverseFlowHumidifier.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.Interfaces.Examples.ReverseFlowHumidifier.sim & ./BuildingSystems_BuildingSystems.Fluid.Interfaces.Examples.ReverseFlowHumidifier -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Fluid.Interfaces.Examples.ReverseFlowHumidifier.pipe 2>&1)