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: "" <> buildModelFMU(IBPSA.Fluid.Interfaces.Examples.ReverseFlowHumidifier,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_Interfaces_Examples_ReverseFlowHumidifier",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Fluid.Interfaces.Examples.ReverseFlowHumidifier,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_Interfaces_Examples_ReverseFlowHumidifier",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001571/0.001571, allocations: 104.5 kB / 16.4 MB, free: 6.027 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.001877/0.001877, allocations: 198.1 kB / 17.34 MB, free: 5.605 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.495/1.495, allocations: 222.9 MB / 241 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7873/0.7873, allocations: 115.3 MB / 406.5 MB, free: 6.137 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001289/0.001289, allocations: 66.11 kB / 0.5572 GB, free: 32.43 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1612/0.1625, allocations: 76.18 MB / 0.6316 GB, free: 4.875 MB / 478.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Interfaces.Examples.ReverseFlowHumidifier): time 0.8024/0.965, allocations: 274.6 MB / 0.8997 GB, free: 10.02 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.03654/1.002, allocations: 17.36 MB / 0.9167 GB, free: 8.602 MB / 0.67 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004659/1.006, allocations: 71.56 kB / 0.9168 GB, free: 8.531 MB / 0.67 GB Notification: Performance of NFTyping.typeComponents: time 0.005732/1.012, allocations: 1.157 MB / 0.9179 GB, free: 7.367 MB / 0.67 GB Notification: Performance of NFTyping.typeBindings: time 0.01507/1.027, allocations: 3.103 MB / 0.9209 GB, free: 4.25 MB / 0.67 GB Notification: Performance of NFTyping.typeClassSections: time 0.008247/1.036, allocations: 2.217 MB / 0.9231 GB, free: 2.043 MB / 0.67 GB Notification: Performance of NFFlatten.flatten: time 0.009616/1.045, allocations: 4.846 MB / 0.9278 GB, free: 13.18 MB / 0.6856 GB Notification: Performance of NFFlatten.resolveConnections: time 0.004332/1.05, allocations: 1.775 MB / 0.9296 GB, free: 11.38 MB / 0.6856 GB Notification: Performance of NFEvalConstants.evaluate: time 0.009399/1.059, allocations: 2.444 MB / 0.932 GB, free: 8.941 MB / 0.6856 GB Notification: Performance of NFSimplifyModel.simplify: time 0.004821/1.064, allocations: 1.542 MB / 0.9335 GB, free: 7.402 MB / 0.6856 GB Notification: Performance of NFPackage.collectConstants: time 0.0007404/1.065, allocations: 192 kB / 0.9336 GB, free: 7.215 MB / 0.6856 GB Notification: Performance of NFFlatten.collectFunctions: time 0.009379/1.074, allocations: 3.013 MB / 0.9366 GB, free: 4.195 MB / 0.6856 GB Notification: Performance of NFScalarize.scalarize: time 0.001436/1.076, allocations: 0.7207 MB / 0.9373 GB, free: 3.473 MB / 0.6856 GB Notification: Performance of NFVerifyModel.verify: time 0.003227/1.079, allocations: 1.124 MB / 0.9384 GB, free: 2.344 MB / 0.6856 GB Notification: Performance of NFConvertDAE.convert: time 0.008631/1.087, allocations: 3.825 MB / 0.9421 GB, free: 14.51 MB / 0.7012 GB Notification: Performance of FrontEnd - DAE generated: time 8.186e-06/1.087, allocations: 3.938 kB / 0.9421 GB, free: 14.5 MB / 0.7012 GB Notification: Performance of FrontEnd: time 2.375e-06/1.087, allocations: 4 kB / 0.9421 GB, free: 14.5 MB / 0.7012 GB Notification: Performance of Transformations before backend: time 0.0001109/1.088, allocations: 0 / 0.9421 GB, free: 14.5 MB / 0.7012 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.006075/1.094, allocations: 2.427 MB / 0.9445 GB, free: 12 MB / 0.7012 GB Notification: Performance of prepare preOptimizeDAE: time 5.383e-05/1.094, allocations: 16.03 kB / 0.9445 GB, free: 11.99 MB / 0.7012 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0004366/1.094, allocations: 190.1 kB / 0.9447 GB, free: 11.79 MB / 0.7012 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004831/1.099, allocations: 0.6455 MB / 0.9453 GB, free: 11.14 MB / 0.7012 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003757/1.103, allocations: 1.4 MB / 0.9467 GB, free: 9.688 MB / 0.7012 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001137/1.103, allocations: 106.5 kB / 0.9468 GB, free: 9.582 MB / 0.7012 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004222/1.103, allocations: 136 kB / 0.9469 GB, free: 9.449 MB / 0.7012 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003482/1.107, allocations: 1.577 MB / 0.9485 GB, free: 7.805 MB / 0.7012 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.87e-05/1.107, allocations: 0 / 0.9485 GB, free: 7.805 MB / 0.7012 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002329/1.107, allocations: 59.94 kB / 0.9485 GB, free: 7.746 MB / 0.7012 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.796e-05/1.107, allocations: 46.45 kB / 0.9486 GB, free: 7.699 MB / 0.7012 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002434/1.11, allocations: 1.27 MB / 0.9498 GB, free: 6.422 MB / 0.7012 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.01053/1.12, allocations: 7.202 MB / 0.9568 GB, free: 14.66 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001247/1.122, allocations: 0.6493 MB / 0.9575 GB, free: 14 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005209/1.122, allocations: 370.3 kB / 0.9578 GB, free: 13.64 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002261/1.122, allocations: 113.6 kB / 0.9579 GB, free: 13.51 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.076e-05/1.122, allocations: 43.12 kB / 0.958 GB, free: 13.46 MB / 0.7169 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0006677/1.123, allocations: 95.11 kB / 0.9581 GB, free: 13.36 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=67): time 4.047e-06/1.123, allocations: 4 kB / 0.9581 GB, free: 13.36 MB / 0.7169 GB Notification: Performance of matching and sorting (n=67): time 0.002152/1.125, allocations: 1.02 MB / 0.9591 GB, free: 12.33 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.436e-05/1.125, allocations: 55.97 kB / 0.9591 GB, free: 12.27 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001903/1.127, allocations: 1.343 MB / 0.9604 GB, free: 10.91 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 0.0001115/1.127, allocations: 45.7 kB / 0.9605 GB, free: 10.86 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005933/1.128, allocations: 0.7697 MB / 0.9612 GB, free: 10.09 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002505/1.128, allocations: 240.6 kB / 0.9615 GB, free: 9.848 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003838/1.129, allocations: 210.3 kB / 0.9617 GB, free: 9.637 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 0.0001228/1.129, allocations: 349.9 kB / 0.962 GB, free: 9.289 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005567/1.129, allocations: 356.7 kB / 0.9623 GB, free: 8.938 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007944/1.13, allocations: 0.679 MB / 0.963 GB, free: 8.117 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001273/1.131, allocations: 0.9488 MB / 0.9639 GB, free: 7.074 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.625e-06/1.131, allocations: 4 kB / 0.9639 GB, free: 7.07 MB / 0.7169 GB Notification: Performance of matching and sorting (n=123) (initialization): time 0.001903/1.133, allocations: 1.148 MB / 0.965 GB, free: 5.918 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 2.373e-05/1.133, allocations: 8 kB / 0.9651 GB, free: 5.91 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.616e-05/1.133, allocations: 12.06 kB / 0.9651 GB, free: 5.898 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.387e-05/1.133, allocations: 12 kB / 0.9651 GB, free: 5.887 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008966/1.134, allocations: 207.8 kB / 0.9653 GB, free: 5.684 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.284e-05/1.134, allocations: 19.88 kB / 0.9653 GB, free: 5.664 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001391/1.136, allocations: 45.69 kB / 0.9653 GB, free: 5.621 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.858e-05/1.136, allocations: 43.98 kB / 0.9654 GB, free: 5.578 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001122/1.137, allocations: 0.6853 MB / 0.966 GB, free: 4.887 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0007961/1.138, allocations: 0.6913 MB / 0.9667 GB, free: 4.055 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001263/1.139, allocations: 0.9527 MB / 0.9677 GB, free: 3.012 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 6.221e-06/1.139, allocations: 0 / 0.9677 GB, free: 3.012 MB / 0.7169 GB Notification: Performance of matching and sorting (n=123) (initialization_lambda0): time 0.001898/1.141, allocations: 1.148 MB / 0.9688 GB, free: 1.859 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.7e-05/1.141, allocations: 8 kB / 0.9688 GB, free: 1.852 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.228e-05/1.141, allocations: 8 kB / 0.9688 GB, free: 1.844 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.53e-05/1.141, allocations: 12 kB / 0.9688 GB, free: 1.832 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008662/1.142, allocations: 211.6 kB / 0.969 GB, free: 1.625 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.071e-05/1.142, allocations: 12 kB / 0.969 GB, free: 1.613 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001391/1.143, allocations: 68.11 kB / 0.9691 GB, free: 1.547 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.152e-05/1.143, allocations: 39.97 kB / 0.9691 GB, free: 1.508 MB / 0.7169 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.0002803/1.144, allocations: 251.8 kB / 0.9694 GB, free: 1.254 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003237/1.144, allocations: 154.2 kB / 0.9695 GB, free: 1.102 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001491/1.146, allocations: 0.8241 MB / 0.9703 GB, free: 268 kB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.758e-06/1.146, allocations: 8 kB / 0.9703 GB, free: 260 kB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.683e-06/1.146, allocations: 0 / 0.9703 GB, free: 260 kB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001008/1.147, allocations: 0.7863 MB / 0.9711 GB, free: 15.42 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004171/1.151, allocations: 2.306 MB / 0.9733 GB, free: 13.03 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.763e-06/1.151, allocations: 0 / 0.9733 GB, free: 13.03 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008478/1.152, allocations: 167.8 kB / 0.9735 GB, free: 12.87 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.104e-05/1.152, allocations: 4 kB / 0.9735 GB, free: 12.86 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.14e-05/1.152, allocations: 23.94 kB / 0.9735 GB, free: 12.84 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.783e-06/1.152, allocations: 7.938 kB / 0.9735 GB, free: 12.83 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.579e-06/1.152, allocations: 3.984 kB / 0.9735 GB, free: 12.83 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001799/1.154, allocations: 1.253 MB / 0.9748 GB, free: 11.54 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007507/1.154, allocations: 319.2 kB / 0.9751 GB, free: 11.21 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002887/1.155, allocations: 19.94 kB / 0.9751 GB, free: 11.19 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009858/1.156, allocations: 45.83 kB / 0.9751 GB, free: 11.15 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.997e-05/1.156, allocations: 44.44 kB / 0.9752 GB, free: 11.11 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.081e-05/1.156, allocations: 31.98 kB / 0.9752 GB, free: 11.07 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.001452/1.157, allocations: 0.9083 MB / 0.9761 GB, free: 10.17 MB / 0.7325 GB Notification: Performance of sort global known variables: time 2.2e-07/1.157, allocations: 0 / 0.9761 GB, free: 10.17 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.002587/1.16, allocations: 0.8301 MB / 0.9769 GB, free: 9.336 MB / 0.7325 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.003262/1.163, allocations: 1.968 MB / 0.9788 GB, free: 7.332 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.002509/1.166, allocations: 1.334 MB / 0.9801 GB, free: 6 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 8.596e-06/1.166, allocations: 4 kB / 0.9801 GB, free: 5.996 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.0005206/1.166, allocations: 348.5 kB / 0.9805 GB, free: 5.656 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004804/1.171, allocations: 0.8384 MB / 0.9813 GB, free: 4.832 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01559/1.187, allocations: 10.66 MB / 0.9917 GB, free: 9.832 MB / 0.7481 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009736/1.188, allocations: 1.348 MB / 0.993 GB, free: 8.457 MB / 0.7481 GB Notification: Performance of simCode: alias equations: time 0.001598/1.189, allocations: 420.2 kB / 0.9934 GB, free: 8.043 MB / 0.7481 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007996/1.19, allocations: 0.6086 MB / 0.994 GB, free: 7.434 MB / 0.7481 GB Notification: Performance of SimCode: time 2.014e-06/1.19, allocations: 3.938 kB / 0.994 GB, free: 7.43 MB / 0.7481 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07884/1.269, allocations: 42.38 MB / 1.035 GB, free: 13.47 MB / 0.795 GB Notification: Performance of buildModelFMU: Generate platform static: time 14.61/15.88, allocations: 10.3 kB / 1.035 GB, free: 13.46 MB / 0.795 GB (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Fluid_Interfaces_Examples_ReverseFlowHumidifier_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_Fluid_Interfaces_Examples_ReverseFlowHumidifier.fmu > IBPSA_latest_IBPSA.Fluid.Interfaces.Examples.ReverseFlowHumidifier.pipe 2>&1)