Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Fluid.Interfaces.Examples.ReverseFlowHumidifier.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.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 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Running command: translateModel(Buildings.Fluid.Interfaces.Examples.ReverseFlowHumidifier,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.Interfaces.Examples.ReverseFlowHumidifier") translateModel(Buildings.Fluid.Interfaces.Examples.ReverseFlowHumidifier,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.Interfaces.Examples.ReverseFlowHumidifier") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.722/1.722, allocations: 292.3 MB / 308.1 MB, free: 4.324 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001384/0.001384, allocations: 188 kB / 376.9 MB, free: 1.828 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.627/1.627, allocations: 205.1 MB / 0.6354 GB, free: 9.797 MB / 474.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001018/0.001018, allocations: 95.55 kB / 0.748 GB, free: 61.25 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.001432/0.001433, allocations: 59.92 kB / 0.8704 GB, free: 13.11 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3207/0.3221, allocations: 114.5 MB / 0.9822 GB, free: 10.41 MB / 0.7136 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Interfaces.Examples.ReverseFlowHumidifier): time 0.7726/1.095, allocations: 272.5 MB / 1.248 GB, free: 0.8906 MB / 0.823 GB Notification: Performance of NFInst.instExpressions: time 0.02447/1.119, allocations: 17.39 MB / 1.265 GB, free: 4.512 MB / 0.8386 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00358/1.123, allocations: 59.22 kB / 1.265 GB, free: 4.488 MB / 0.8386 GB Notification: Performance of NFTyping.typeComponents: time 0.003655/1.127, allocations: 0.9909 MB / 1.266 GB, free: 3.961 MB / 0.8386 GB Notification: Performance of NFTyping.typeBindings: time 0.01019/1.137, allocations: 2.909 MB / 1.269 GB, free: 2.344 MB / 0.8386 GB Notification: Performance of NFTyping.typeClassSections: time 0.007949/1.145, allocations: 2.031 MB / 1.271 GB, free: 1.227 MB / 0.8386 GB Notification: Performance of NFFlatten.flatten: time 0.01209/1.157, allocations: 6.738 MB / 1.278 GB, free: 14.87 MB / 0.8542 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003429/1.16, allocations: 1.474 MB / 1.279 GB, free: 14.26 MB / 0.8542 GB Notification: Performance of NFEvalConstants.evaluate: time 0.007948/1.168, allocations: 2.132 MB / 1.281 GB, free: 13.36 MB / 0.8542 GB Notification: Performance of NFSimplifyModel.simplify: time 0.006149/1.175, allocations: 1.582 MB / 1.283 GB, free: 12.75 MB / 0.8542 GB Notification: Performance of NFPackage.collectConstants: time 0.0008681/1.175, allocations: 96.75 kB / 1.283 GB, free: 12.75 MB / 0.8542 GB Notification: Performance of NFFlatten.collectFunctions: time 0.008054/1.184, allocations: 3.425 MB / 1.286 GB, free: 11.48 MB / 0.8542 GB Notification: Performance of NFScalarize.scalarize: time 0.00152/1.185, allocations: 0.6319 MB / 1.287 GB, free: 11.24 MB / 0.8542 GB Notification: Performance of NFVerifyModel.verify: time 0.00279/1.188, allocations: 1.018 MB / 1.288 GB, free: 10.6 MB / 0.8542 GB Notification: Performance of NFConvertDAE.convert: time 0.01012/1.198, allocations: 3.908 MB / 1.292 GB, free: 6.844 MB / 0.8542 GB Notification: Performance of FrontEnd - DAE generated: time 9.739e-06/1.198, allocations: 11.94 kB / 1.292 GB, free: 6.832 MB / 0.8542 GB Notification: Performance of FrontEnd: time 1.562e-06/1.198, allocations: 0 / 1.292 GB, free: 6.832 MB / 0.8542 GB Notification: Performance of Transformations before backend: time 0.0001249/1.198, allocations: 0 / 1.292 GB, free: 6.832 MB / 0.8542 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.006039/1.204, allocations: 2.424 MB / 1.294 GB, free: 4.344 MB / 0.8542 GB Notification: Performance of prepare preOptimizeDAE: time 5.486e-05/1.204, allocations: 11.97 kB / 1.294 GB, free: 4.332 MB / 0.8542 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004799/1.209, allocations: 0.6416 MB / 1.295 GB, free: 3.688 MB / 0.8542 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003118/1.212, allocations: 1.326 MB / 1.296 GB, free: 2.305 MB / 0.8542 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001195/1.212, allocations: 102.5 kB / 1.296 GB, free: 2.203 MB / 0.8542 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004186/1.213, allocations: 140 kB / 1.296 GB, free: 2.066 MB / 0.8542 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003526/1.216, allocations: 1.569 MB / 1.298 GB, free: 440 kB / 0.8542 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.769e-05/1.216, allocations: 0 / 1.298 GB, free: 440 kB / 0.8542 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001952/1.217, allocations: 56 kB / 1.298 GB, free: 384 kB / 0.8542 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.513e-05/1.217, allocations: 50.39 kB / 1.298 GB, free: 332 kB / 0.8542 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002637/1.219, allocations: 1.263 MB / 1.299 GB, free: 15.05 MB / 0.8698 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.01433/1.234, allocations: 7.206 MB / 1.306 GB, free: 7.285 MB / 0.8698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001181/1.235, allocations: 0.6606 MB / 1.307 GB, free: 6.617 MB / 0.8698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005714/1.236, allocations: 366.3 kB / 1.307 GB, free: 6.258 MB / 0.8698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002335/1.236, allocations: 109.6 kB / 1.307 GB, free: 6.133 MB / 0.8698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.938e-05/1.236, allocations: 47.05 kB / 1.307 GB, free: 6.074 MB / 0.8698 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0009788/1.237, allocations: 155 kB / 1.307 GB, free: 5.922 MB / 0.8698 GB Notification: Performance of pre-optimization done (n=67): time 5.34e-06/1.237, allocations: 0 / 1.307 GB, free: 5.922 MB / 0.8698 GB Notification: Performance of matching and sorting (n=67): time 0.002227/1.239, allocations: 1.009 MB / 1.308 GB, free: 4.906 MB / 0.8698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.983e-05/1.239, allocations: 63.91 kB / 1.308 GB, free: 4.832 MB / 0.8698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002245/1.241, allocations: 1.331 MB / 1.31 GB, free: 3.492 MB / 0.8698 GB Notification: Performance of collectPreVariables (initialization): time 0.0001179/1.242, allocations: 49.69 kB / 1.31 GB, free: 3.438 MB / 0.8698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006429/1.242, allocations: 0.7696 MB / 1.311 GB, free: 2.66 MB / 0.8698 GB Notification: Performance of collectInitialBindings (initialization): time 0.000268/1.243, allocations: 240.6 kB / 1.311 GB, free: 2.422 MB / 0.8698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003718/1.243, allocations: 210.4 kB / 1.311 GB, free: 2.211 MB / 0.8698 GB Notification: Performance of setup shared object (initialization): time 0.0001538/1.243, allocations: 349.9 kB / 1.311 GB, free: 1.863 MB / 0.8698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005928/1.244, allocations: 356.7 kB / 1.312 GB, free: 1.512 MB / 0.8698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008935/1.245, allocations: 0.679 MB / 1.312 GB, free: 0.6953 MB / 0.8698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001394/1.246, allocations: 0.9449 MB / 1.313 GB, free: 15.66 MB / 0.8855 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.195e-06/1.246, allocations: 336 / 1.313 GB, free: 15.66 MB / 0.8855 GB Notification: Performance of matching and sorting (n=123) (initialization): time 0.002161/1.248, allocations: 1.147 MB / 1.314 GB, free: 14.5 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 3.343e-05/1.248, allocations: 12.89 kB / 1.314 GB, free: 14.49 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.893e-05/1.248, allocations: 7.938 kB / 1.314 GB, free: 14.48 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.269e-05/1.248, allocations: 16 kB / 1.314 GB, free: 14.46 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000976/1.249, allocations: 211.7 kB / 1.315 GB, free: 14.26 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.219e-05/1.249, allocations: 16.48 kB / 1.315 GB, free: 14.24 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001733/1.251, allocations: 128.8 kB / 1.315 GB, free: 14.12 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001006/1.251, allocations: 39.98 kB / 1.315 GB, free: 14.08 MB / 0.8855 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001193/1.252, allocations: 0.6815 MB / 1.315 GB, free: 13.39 MB / 0.8855 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0009067/1.253, allocations: 0.6751 MB / 1.316 GB, free: 12.58 MB / 0.8855 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001299/1.255, allocations: 0.9489 MB / 1.317 GB, free: 11.54 MB / 0.8855 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.185e-05/1.255, allocations: 4.484 kB / 1.317 GB, free: 11.54 MB / 0.8855 GB Notification: Performance of matching and sorting (n=123) (initialization_lambda0): time 0.002061/1.257, allocations: 1.144 MB / 1.318 GB, free: 10.38 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 3.59e-05/1.257, allocations: 13.86 kB / 1.318 GB, free: 10.37 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.465e-05/1.257, allocations: 4 kB / 1.318 GB, free: 10.37 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.573e-05/1.257, allocations: 12 kB / 1.318 GB, free: 10.36 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008409/1.258, allocations: 211.7 kB / 1.318 GB, free: 10.15 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.261e-05/1.258, allocations: 16.56 kB / 1.318 GB, free: 10.13 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001703/1.259, allocations: 139.7 kB / 1.319 GB, free: 9.996 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.302e-05/1.259, allocations: 40 kB / 1.319 GB, free: 9.957 MB / 0.8855 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.0002902/1.26, allocations: 247.9 kB / 1.319 GB, free: 9.707 MB / 0.8855 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003327/1.26, allocations: 150.2 kB / 1.319 GB, free: 9.559 MB / 0.8855 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00156/1.262, allocations: 0.8129 MB / 1.32 GB, free: 8.73 MB / 0.8855 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.071e-05/1.262, allocations: 12 kB / 1.32 GB, free: 8.719 MB / 0.8855 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.033e-06/1.262, allocations: 0 / 1.32 GB, free: 8.719 MB / 0.8855 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001043/1.263, allocations: 0.7824 MB / 1.32 GB, free: 7.887 MB / 0.8855 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004048/1.267, allocations: 2.29 MB / 1.323 GB, free: 5.52 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.043e-06/1.267, allocations: 0 / 1.323 GB, free: 5.52 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008151/1.268, allocations: 175.7 kB / 1.323 GB, free: 5.348 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.938e-06/1.268, allocations: 4 kB / 1.323 GB, free: 5.344 MB / 0.8855 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.771e-05/1.268, allocations: 27.92 kB / 1.323 GB, free: 5.316 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.958e-06/1.268, allocations: 11.94 kB / 1.323 GB, free: 5.305 MB / 0.8855 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.495e-06/1.268, allocations: 3.938 kB / 1.323 GB, free: 5.301 MB / 0.8855 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01043/1.278, allocations: 6.244 MB / 1.329 GB, free: 14.84 MB / 0.9011 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007161/1.279, allocations: 319.1 kB / 1.329 GB, free: 14.5 MB / 0.9011 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002546/1.279, allocations: 19.98 kB / 1.329 GB, free: 14.48 MB / 0.9011 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001158/1.28, allocations: 95.77 kB / 1.329 GB, free: 14.39 MB / 0.9011 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000107/1.281, allocations: 44.44 kB / 1.329 GB, free: 14.34 MB / 0.9011 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.8e-05/1.281, allocations: 35.98 kB / 1.33 GB, free: 14.31 MB / 0.9011 GB Notification: Performance of sorting global known variables: time 0.001292/1.282, allocations: 0.8964 MB / 1.33 GB, free: 13.41 MB / 0.9011 GB Notification: Performance of sort global known variables: time 1.4e-07/1.282, allocations: 0 / 1.33 GB, free: 13.41 MB / 0.9011 GB Notification: Performance of remove unused functions: time 0.004396/1.286, allocations: 1.318 MB / 1.332 GB, free: 12.09 MB / 0.9011 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * Number of states: 6 (humBac.vol.dynBal.U,humBac.vol.dynBal.m,humBac.vol.dynBal.mXi[1],humFor.vol.dynBal.U,humFor.vol.dynBal.m,humFor.vol.dynBal.mXi[1]) * 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.0006822/1.287, allocations: 275.5 kB / 1.332 GB, free: 11.83 MB / 0.9011 GB Notification: Performance of simCode: created initialization part: time 0.002352/1.289, allocations: 1.326 MB / 1.333 GB, free: 10.51 MB / 0.9011 GB Notification: Performance of simCode: created event and clocks part: time 5.481e-06/1.289, allocations: 0 / 1.333 GB, free: 10.51 MB / 0.9011 GB Notification: Performance of simCode: created simulation system equations: time 0.0004979/1.29, allocations: 351 kB / 1.334 GB, free: 10.17 MB / 0.9011 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004537/1.295, allocations: 0.8445 MB / 1.334 GB, free: 9.34 MB / 0.9011 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006339/1.301, allocations: 3.925 MB / 1.338 GB, free: 5.34 MB / 0.9011 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001314/1.302, allocations: 1.377 MB / 1.34 GB, free: 3.934 MB / 0.9011 GB Notification: Performance of simCode: alias equations: time 0.002193/1.304, allocations: 423.7 kB / 1.34 GB, free: 3.516 MB / 0.9011 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000484/1.305, allocations: 119.4 kB / 1.34 GB, free: 3.398 MB / 0.9011 GB Notification: Performance of SimCode: time 9.41e-07/1.305, allocations: 0 / 1.34 GB, free: 3.398 MB / 0.9011 GB Notification: Performance of Templates: time 0.05292/1.358, allocations: 30.37 MB / 1.37 GB, free: 5.281 MB / 0.9323 GB make -j1 -f Buildings_8_Buildings.Fluid.Interfaces.Examples.ReverseFlowHumidifier.makefile (rm -f Buildings_8_Buildings.Fluid.Interfaces.Examples.ReverseFlowHumidifier.pipe ; mkfifo Buildings_8_Buildings.Fluid.Interfaces.Examples.ReverseFlowHumidifier.pipe ; head -c 1048576 < Buildings_8_Buildings.Fluid.Interfaces.Examples.ReverseFlowHumidifier.pipe >> ../files/Buildings_8_Buildings.Fluid.Interfaces.Examples.ReverseFlowHumidifier.sim & ./Buildings_8_Buildings.Fluid.Interfaces.Examples.ReverseFlowHumidifier -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Fluid.Interfaces.Examples.ReverseFlowHumidifier.pipe 2>&1)