Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.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/IBPSA 4.0.0-master/package.mo", uses=false) Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.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(IBPSA.Fluid.Interfaces.Examples.ReverseFlowHumidifier,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.Interfaces.Examples.ReverseFlowHumidifier") translateModel(IBPSA.Fluid.Interfaces.Examples.ReverseFlowHumidifier,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.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.0009015/0.0009015, allocations: 93.73 kB / 16.02 MB, free: 84 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001134/0.001134, allocations: 178.9 kB / 16.92 MB, free: 6.684 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.416/1.416, allocations: 223.3 MB / 241 MB, free: 5.348 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7571/0.7571, allocations: 115.5 MB / 407.6 MB, free: 2.734 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003157/0.0003157, allocations: 8.281 kB / 495.9 MB, free: 6.383 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1505/0.1508, allocations: 77.53 MB / 0.56 GB, free: 9.066 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Interfaces.Examples.ReverseFlowHumidifier): time 0.5795/0.7304, allocations: 268.8 MB / 0.8224 GB, free: 9.727 MB / 0.6387 GB Notification: Performance of NFInst.instExpressions: time 0.4298/1.16, allocations: 17.26 MB / 0.8393 GB, free: 16.71 MB / 0.6387 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002759/1.163, allocations: 57.47 kB / 0.8394 GB, free: 16.71 MB / 0.6387 GB Notification: Performance of NFTyping.typeComponents: time 0.003019/1.166, allocations: 1.001 MB / 0.8403 GB, free: 16.71 MB / 0.6387 GB Notification: Performance of NFTyping.typeBindings: time 0.008431/1.175, allocations: 2.933 MB / 0.8432 GB, free: 16.62 MB / 0.6387 GB Notification: Performance of NFTyping.typeClassSections: time 0.00547/1.18, allocations: 2.006 MB / 0.8452 GB, free: 16.56 MB / 0.6387 GB Notification: Performance of NFFlatten.flatten: time 0.009656/1.19, allocations: 6.757 MB / 0.8518 GB, free: 16.55 MB / 0.6387 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003661/1.193, allocations: 1.433 MB / 0.8532 GB, free: 16.41 MB / 0.6387 GB Notification: Performance of NFEvalConstants.evaluate: time 0.007994/1.201, allocations: 2.062 MB / 0.8552 GB, free: 16.37 MB / 0.6387 GB Notification: Performance of NFSimplifyModel.simplify: time 0.004709/1.206, allocations: 1.53 MB / 0.8567 GB, free: 16.36 MB / 0.6387 GB Notification: Performance of NFPackage.collectConstants: time 0.0005361/1.207, allocations: 74.5 kB / 0.8567 GB, free: 16.36 MB / 0.6387 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01001/1.217, allocations: 3.399 MB / 0.8601 GB, free: 16.33 MB / 0.6387 GB Notification: Performance of NFScalarize.scalarize: time 0.001984/1.219, allocations: 0.6012 MB / 0.8606 GB, free: 16.33 MB / 0.6387 GB Notification: Performance of NFVerifyModel.verify: time 0.003311/1.222, allocations: 0.9994 MB / 0.8616 GB, free: 16.3 MB / 0.6387 GB Notification: Performance of NFConvertDAE.convert: time 0.008164/1.23, allocations: 3.852 MB / 0.8654 GB, free: 16.09 MB / 0.6387 GB Notification: Performance of FrontEnd - DAE generated: time 5.541e-06/1.23, allocations: 0 / 0.8654 GB, free: 16.09 MB / 0.6387 GB Notification: Performance of FrontEnd: time 2.184e-06/1.23, allocations: 6.734 kB / 0.8654 GB, free: 16.09 MB / 0.6387 GB Notification: Performance of Transformations before backend: time 3.227e-05/1.23, allocations: 0 / 0.8654 GB, free: 16.09 MB / 0.6387 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.003323/1.234, allocations: 2.035 MB / 0.8674 GB, free: 14.95 MB / 0.6387 GB Notification: Performance of prepare preOptimizeDAE: time 4.809e-05/1.234, allocations: 8.812 kB / 0.8674 GB, free: 14.95 MB / 0.6387 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004216/1.238, allocations: 0.646 MB / 0.868 GB, free: 14.83 MB / 0.6387 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002072/1.24, allocations: 1.339 MB / 0.8693 GB, free: 14.41 MB / 0.6387 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.932e-05/1.24, allocations: 109 kB / 0.8694 GB, free: 14.4 MB / 0.6387 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002168/1.24, allocations: 134.7 kB / 0.8696 GB, free: 14.4 MB / 0.6387 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002644/1.243, allocations: 1.573 MB / 0.8711 GB, free: 14.2 MB / 0.6387 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.231e-05/1.243, allocations: 2.625 kB / 0.8711 GB, free: 14.2 MB / 0.6387 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001375/1.243, allocations: 55.22 kB / 0.8711 GB, free: 14.2 MB / 0.6387 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.114e-05/1.243, allocations: 48.86 kB / 0.8712 GB, free: 14.2 MB / 0.6387 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001879/1.245, allocations: 1.271 MB / 0.8724 GB, free: 14.18 MB / 0.6387 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.007487/1.253, allocations: 7.23 MB / 0.8795 GB, free: 10.3 MB / 0.6387 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009491/1.254, allocations: 0.6444 MB / 0.8801 GB, free: 10.27 MB / 0.6387 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004525/1.254, allocations: 385.3 kB / 0.8805 GB, free: 10.25 MB / 0.6387 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002071/1.254, allocations: 103.3 kB / 0.8806 GB, free: 10.15 MB / 0.6387 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.296e-05/1.254, allocations: 45.22 kB / 0.8806 GB, free: 10.11 MB / 0.6387 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.000733/1.255, allocations: 142.4 kB / 0.8808 GB, free: 10.06 MB / 0.6387 GB Notification: Performance of pre-optimization done (n=67): time 2.474e-06/1.255, allocations: 3.562 kB / 0.8808 GB, free: 10.06 MB / 0.6387 GB Notification: Performance of matching and sorting (n=67): time 0.001574/1.257, allocations: 1.018 MB / 0.8818 GB, free: 9.938 MB / 0.6387 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.199e-05/1.257, allocations: 66.03 kB / 0.8818 GB, free: 9.871 MB / 0.6387 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001341/1.258, allocations: 1.341 MB / 0.8831 GB, free: 9.699 MB / 0.6387 GB Notification: Performance of collectPreVariables (initialization): time 6.959e-05/1.258, allocations: 42.73 kB / 0.8832 GB, free: 9.668 MB / 0.6387 GB Notification: Performance of collectInitialEqns (initialization): time 0.000416/1.259, allocations: 0.7722 MB / 0.8839 GB, free: 9.371 MB / 0.6387 GB Notification: Performance of collectInitialBindings (initialization): time 0.000156/1.259, allocations: 241.2 kB / 0.8842 GB, free: 9.219 MB / 0.6387 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.581e-05/1.259, allocations: 88.97 kB / 0.8843 GB, free: 9.203 MB / 0.6387 GB Notification: Performance of setup shared object (initialization): time 6.121e-05/1.259, allocations: 352.1 kB / 0.8846 GB, free: 8.891 MB / 0.6387 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004687/1.259, allocations: 348.3 kB / 0.8849 GB, free: 8.891 MB / 0.6387 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006659/1.26, allocations: 0.6831 MB / 0.8856 GB, free: 8.52 MB / 0.6387 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001086/1.261, allocations: 0.9505 MB / 0.8865 GB, free: 8.262 MB / 0.6387 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.59e-06/1.261, allocations: 0 / 0.8865 GB, free: 8.262 MB / 0.6387 GB Notification: Performance of matching and sorting (n=123) (initialization): time 0.001547/1.263, allocations: 1.156 MB / 0.8876 GB, free: 8.148 MB / 0.6387 GB Notification: Performance of prepare postOptimizeDAE: time 0.000104/1.263, allocations: 287.1 kB / 0.8879 GB, free: 7.82 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.167e-05/1.263, allocations: 11.09 kB / 0.8879 GB, free: 7.816 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.245e-05/1.263, allocations: 11.69 kB / 0.8879 GB, free: 7.816 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008294/1.264, allocations: 216.8 kB / 0.8881 GB, free: 7.812 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.695e-05/1.264, allocations: 14.78 kB / 0.8882 GB, free: 7.812 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001728/1.265, allocations: 133.5 kB / 0.8883 GB, free: 7.793 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.108e-05/1.266, allocations: 43.19 kB / 0.8883 GB, free: 7.789 MB / 0.6387 GB Notification: Performance of prepare postOptimizeDAE: time 1.114e-05/1.266, allocations: 4.875 kB / 0.8883 GB, free: 7.789 MB / 0.6387 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001421/1.267, allocations: 0.987 MB / 0.8893 GB, free: 7.777 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.058e-05/1.267, allocations: 10.55 kB / 0.8893 GB, free: 7.773 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.323e-05/1.267, allocations: 14.67 kB / 0.8893 GB, free: 7.773 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007827/1.268, allocations: 206.3 kB / 0.8895 GB, free: 7.773 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.317e-05/1.268, allocations: 15.27 kB / 0.8895 GB, free: 7.773 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00148/1.269, allocations: 144.2 kB / 0.8897 GB, free: 7.75 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.393e-05/1.269, allocations: 41.38 kB / 0.8897 GB, free: 7.75 MB / 0.6387 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.0007268/1.27, allocations: 0.4987 MB / 0.8902 GB, free: 7.527 MB / 0.6387 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002007/1.27, allocations: 152.9 kB / 0.8903 GB, free: 7.449 MB / 0.6387 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001254/1.272, allocations: 0.8137 MB / 0.8911 GB, free: 7.281 MB / 0.6387 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.716e-06/1.272, allocations: 10.39 kB / 0.8911 GB, free: 7.277 MB / 0.6387 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.191e-06/1.272, allocations: 0 / 0.8911 GB, free: 7.277 MB / 0.6387 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0008607/1.273, allocations: 0.7881 MB / 0.8919 GB, free: 6.969 MB / 0.6387 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002926/1.275, allocations: 2.305 MB / 0.8942 GB, free: 6.145 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.121e-06/1.275, allocations: 3.406 kB / 0.8942 GB, free: 6.145 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007495/1.276, allocations: 163.2 kB / 0.8943 GB, free: 6.125 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.925e-06/1.276, allocations: 7.047 kB / 0.8943 GB, free: 6.121 MB / 0.6387 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.894e-05/1.276, allocations: 25.72 kB / 0.8944 GB, free: 6.113 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.711e-06/1.276, allocations: 12.72 kB / 0.8944 GB, free: 6.109 MB / 0.6387 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.074e-06/1.276, allocations: 0 / 0.8944 GB, free: 6.109 MB / 0.6387 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001406/1.278, allocations: 1.253 MB / 0.8956 GB, free: 5.746 MB / 0.6387 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005087/1.278, allocations: 321.9 kB / 0.8959 GB, free: 5.539 MB / 0.6387 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001646/1.278, allocations: 21.16 kB / 0.8959 GB, free: 5.535 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001038/1.279, allocations: 100.2 kB / 0.896 GB, free: 5.496 MB / 0.6387 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.558e-05/1.28, allocations: 43.62 kB / 0.8961 GB, free: 5.48 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.893e-05/1.28, allocations: 33.98 kB / 0.8961 GB, free: 5.477 MB / 0.6387 GB Notification: Performance of sorting global known variables: time 0.001064/1.281, allocations: 0.9067 MB / 0.897 GB, free: 5.223 MB / 0.6387 GB Notification: Performance of sort global known variables: time 2.61e-07/1.281, allocations: 0 / 0.897 GB, free: 5.223 MB / 0.6387 GB Notification: Performance of remove unused functions: time 0.001996/1.283, allocations: 0.8461 MB / 0.8978 GB, free: 5.117 MB / 0.6387 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.0005311/1.283, allocations: 257.9 kB / 0.898 GB, free: 4.98 MB / 0.6387 GB Notification: Performance of simCode: created initialization part: time 0.001788/1.285, allocations: 1.331 MB / 0.8993 GB, free: 4.824 MB / 0.6387 GB Notification: Performance of simCode: created event and clocks part: time 4.058e-06/1.285, allocations: 2.938 kB / 0.8994 GB, free: 4.824 MB / 0.6387 GB Notification: Performance of simCode: created simulation system equations: time 0.0003953/1.285, allocations: 348 kB / 0.8997 GB, free: 4.785 MB / 0.6387 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004097/1.29, allocations: 0.839 MB / 0.9005 GB, free: 4.516 MB / 0.6387 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004031/1.294, allocations: 3.641 MB / 0.9041 GB, free: 2.273 MB / 0.6387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006833/1.294, allocations: 1.344 MB / 0.9054 GB, free: 1.32 MB / 0.6387 GB Notification: Performance of simCode: alias equations: time 0.001748/1.296, allocations: 418.3 kB / 0.9058 GB, free: 1.121 MB / 0.6387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003003/1.296, allocations: 117.5 kB / 0.9059 GB, free: 1.109 MB / 0.6387 GB Notification: Performance of SimCode: time 1.182e-06/1.296, allocations: 0 / 0.9059 GB, free: 1.109 MB / 0.6387 GB Notification: Performance of Templates: time 0.04853/1.345, allocations: 28.12 MB / 0.9333 GB, free: 10.18 MB / 0.67 GB make -j1 -f IBPSA_latest_IBPSA.Fluid.Interfaces.Examples.ReverseFlowHumidifier.makefile (rm -f IBPSA_latest_IBPSA.Fluid.Interfaces.Examples.ReverseFlowHumidifier.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.Interfaces.Examples.ReverseFlowHumidifier.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.Interfaces.Examples.ReverseFlowHumidifier.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.Interfaces.Examples.ReverseFlowHumidifier.sim & ./IBPSA_latest_IBPSA.Fluid.Interfaces.Examples.ReverseFlowHumidifier -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Fluid.Interfaces.Examples.ReverseFlowHumidifier.pipe 2>&1)