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/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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) 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) 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 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(Buildings.Fluid.Interfaces.Examples.ReverseFlowHumidifier,fileNamePrefix="Buildings_8_Buildings_Fluid_Interfaces_Examples_ReverseFlowHumidifier",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Interfaces.Examples.ReverseFlowHumidifier,fileNamePrefix="Buildings_8_Buildings_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.001277/0.001277, allocations: 105.4 kB / 15.7 MB, free: 24 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.001231/0.001231, allocations: 196 kB / 16.64 MB, free: 6.453 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.48/1.48, allocations: 205.1 MB / 222.5 MB, free: 4.586 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.761/1.761, allocations: 292.3 MB / 0.549 GB, free: 12.73 MB / 462.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001504/0.001504, allocations: 71.42 kB / 0.6718 GB, free: 26.28 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2554/0.257, allocations: 114.6 MB / 0.7836 GB, free: 13.25 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Interfaces.Examples.ReverseFlowHumidifier): time 0.8008/1.058, allocations: 274.6 MB / 1.052 GB, free: 1.559 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.0238/1.082, allocations: 17.26 MB / 1.069 GB, free: 3.254 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003158/1.085, allocations: 67.62 kB / 1.069 GB, free: 3.188 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 0.003515/1.088, allocations: 1.165 MB / 1.07 GB, free: 2.012 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 0.009544/1.098, allocations: 3.089 MB / 1.073 GB, free: 14.91 MB / 0.795 GB Notification: Performance of NFTyping.typeClassSections: time 0.00675/1.105, allocations: 2.218 MB / 1.075 GB, free: 12.7 MB / 0.795 GB Notification: Performance of NFFlatten.flatten: time 0.007377/1.112, allocations: 4.81 MB / 1.08 GB, free: 7.879 MB / 0.795 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00297/1.115, allocations: 1.761 MB / 1.081 GB, free: 6.098 MB / 0.795 GB Notification: Performance of NFEvalConstants.evaluate: time 0.006613/1.122, allocations: 2.409 MB / 1.084 GB, free: 3.695 MB / 0.795 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003277/1.125, allocations: 1.544 MB / 1.085 GB, free: 2.16 MB / 0.795 GB Notification: Performance of NFPackage.collectConstants: time 0.0006484/1.126, allocations: 192 kB / 1.085 GB, free: 1.973 MB / 0.795 GB Notification: Performance of NFFlatten.collectFunctions: time 0.006993/1.133, allocations: 3.005 MB / 1.088 GB, free: 14.96 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 0.001194/1.134, allocations: 0.7168 MB / 1.089 GB, free: 14.24 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 0.002118/1.136, allocations: 1.124 MB / 1.09 GB, free: 13.11 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.007776/1.144, allocations: 3.829 MB / 1.094 GB, free: 9.273 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 7.354e-06/1.144, allocations: 0 / 1.094 GB, free: 9.273 MB / 0.8106 GB Notification: Performance of FrontEnd: time 1.924e-06/1.144, allocations: 0 / 1.094 GB, free: 9.273 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 8.087e-05/1.144, allocations: 0 / 1.094 GB, free: 9.273 MB / 0.8106 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.00515/1.149, allocations: 2.42 MB / 1.096 GB, free: 6.785 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 4.95e-05/1.149, allocations: 12.03 kB / 1.096 GB, free: 6.773 MB / 0.8106 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002594/1.15, allocations: 190.1 kB / 1.097 GB, free: 6.578 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004426/1.154, allocations: 0.6455 MB / 1.097 GB, free: 5.93 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002662/1.157, allocations: 1.381 MB / 1.098 GB, free: 4.492 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.434e-05/1.157, allocations: 106.5 kB / 1.099 GB, free: 4.387 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003449/1.157, allocations: 136 kB / 1.099 GB, free: 4.254 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003409/1.161, allocations: 1.577 MB / 1.1 GB, free: 2.609 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.722e-05/1.161, allocations: 0 / 1.1 GB, free: 2.609 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001576/1.161, allocations: 59.94 kB / 1.1 GB, free: 2.551 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.289e-05/1.161, allocations: 50.45 kB / 1.1 GB, free: 2.5 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002379/1.163, allocations: 1.259 MB / 1.102 GB, free: 1.234 MB / 0.8106 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.01002/1.173, allocations: 7.198 MB / 1.109 GB, free: 9.469 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009866/1.174, allocations: 0.6556 MB / 1.109 GB, free: 8.809 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004848/1.175, allocations: 374.1 kB / 1.11 GB, free: 8.441 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002044/1.175, allocations: 97.66 kB / 1.11 GB, free: 8.328 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.839e-05/1.175, allocations: 47.12 kB / 1.11 GB, free: 8.27 MB / 0.8262 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0006356/1.176, allocations: 103 kB / 1.11 GB, free: 8.168 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=67): time 2.745e-06/1.176, allocations: 0 / 1.11 GB, free: 8.168 MB / 0.8262 GB Notification: Performance of matching and sorting (n=67): time 0.001792/1.178, allocations: 1.013 MB / 1.111 GB, free: 7.148 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.05e-05/1.178, allocations: 59.97 kB / 1.111 GB, free: 7.078 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001593/1.179, allocations: 1.331 MB / 1.112 GB, free: 5.738 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 8.157e-05/1.179, allocations: 49.69 kB / 1.112 GB, free: 5.684 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005328/1.18, allocations: 0.7736 MB / 1.113 GB, free: 4.902 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001982/1.18, allocations: 244.5 kB / 1.113 GB, free: 4.66 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002993/1.18, allocations: 206.3 kB / 1.113 GB, free: 4.453 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001284/1.181, allocations: 349.9 kB / 1.114 GB, free: 4.105 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005192/1.181, allocations: 352.7 kB / 1.114 GB, free: 3.758 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007469/1.182, allocations: 0.683 MB / 1.115 GB, free: 2.938 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0012/1.183, allocations: 0.9489 MB / 1.116 GB, free: 1.895 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.989e-06/1.183, allocations: 336 / 1.116 GB, free: 1.895 MB / 0.8262 GB Notification: Performance of matching and sorting (n=123) (initialization): time 0.001669/1.185, allocations: 1.144 MB / 1.117 GB, free: 0.7422 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 2.043e-05/1.185, allocations: 12.03 kB / 1.117 GB, free: 0.7305 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.299e-05/1.185, allocations: 11.94 kB / 1.117 GB, free: 0.7188 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.199e-05/1.185, allocations: 12 kB / 1.117 GB, free: 0.707 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008494/1.186, allocations: 211.7 kB / 1.117 GB, free: 0.5 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.784e-05/1.186, allocations: 15.94 kB / 1.117 GB, free: 496 kB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001166/1.187, allocations: 43.97 kB / 1.117 GB, free: 452 kB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.488e-05/1.187, allocations: 43.98 kB / 1.117 GB, free: 408 kB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001009/1.188, allocations: 0.6939 MB / 1.118 GB, free: 15.7 MB / 0.8419 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0007403/1.189, allocations: 0.6749 MB / 1.118 GB, free: 14.88 MB / 0.8419 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001198/1.19, allocations: 0.9488 MB / 1.119 GB, free: 13.84 MB / 0.8419 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 5.811e-06/1.19, allocations: 4 kB / 1.119 GB, free: 13.84 MB / 0.8419 GB Notification: Performance of matching and sorting (n=123) (initialization_lambda0): time 0.001701/1.192, allocations: 1.144 MB / 1.121 GB, free: 12.69 MB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 1.191e-05/1.192, allocations: 11.94 kB / 1.121 GB, free: 12.68 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.135e-06/1.192, allocations: 8 kB / 1.121 GB, free: 12.67 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.213e-05/1.192, allocations: 12 kB / 1.121 GB, free: 12.66 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007708/1.192, allocations: 203.7 kB / 1.121 GB, free: 12.46 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.563e-05/1.193, allocations: 20.42 kB / 1.121 GB, free: 12.44 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001194/1.194, allocations: 59.95 kB / 1.121 GB, free: 12.38 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.227e-05/1.194, allocations: 43.98 kB / 1.121 GB, free: 12.34 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.0002888/1.194, allocations: 247.9 kB / 1.121 GB, free: 12.09 MB / 0.8419 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002302/1.194, allocations: 150.1 kB / 1.121 GB, free: 11.94 MB / 0.8419 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001379/1.196, allocations: 0.8124 MB / 1.122 GB, free: 11.11 MB / 0.8419 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.593e-06/1.196, allocations: 8 kB / 1.122 GB, free: 11.1 MB / 0.8419 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.142e-06/1.196, allocations: 0 / 1.122 GB, free: 11.1 MB / 0.8419 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0009499/1.197, allocations: 0.7862 MB / 1.123 GB, free: 10.27 MB / 0.8419 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003204/1.2, allocations: 2.294 MB / 1.125 GB, free: 7.895 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.378e-06/1.2, allocations: 11.94 kB / 1.125 GB, free: 7.883 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007917/1.201, allocations: 167.8 kB / 1.125 GB, free: 7.719 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.777e-06/1.201, allocations: 4 kB / 1.125 GB, free: 7.715 MB / 0.8419 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.617e-05/1.201, allocations: 19.94 kB / 1.125 GB, free: 7.695 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.797e-06/1.201, allocations: 12.12 kB / 1.125 GB, free: 7.684 MB / 0.8419 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.737e-06/1.201, allocations: 4 kB / 1.125 GB, free: 7.68 MB / 0.8419 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001733/1.203, allocations: 1.312 MB / 1.127 GB, free: 6.332 MB / 0.8419 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004909/1.203, allocations: 315.2 kB / 1.127 GB, free: 6.004 MB / 0.8419 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001728/1.203, allocations: 23.88 kB / 1.127 GB, free: 5.98 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008141/1.204, allocations: 31.89 kB / 1.127 GB, free: 5.949 MB / 0.8419 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.572e-05/1.204, allocations: 44.5 kB / 1.127 GB, free: 5.906 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.292e-05/1.204, allocations: 31.98 kB / 1.127 GB, free: 5.875 MB / 0.8419 GB Notification: Performance of sorting global known variables: time 0.00117/1.205, allocations: 0.9081 MB / 1.128 GB, free: 4.969 MB / 0.8419 GB Notification: Performance of sort global known variables: time 1.31e-07/1.205, allocations: 0 / 1.128 GB, free: 4.969 MB / 0.8419 GB Notification: Performance of remove unused functions: time 0.001886/1.207, allocations: 0.8301 MB / 1.129 GB, free: 4.137 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.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.00235/1.21, allocations: 2.023 MB / 1.131 GB, free: 2.074 MB / 0.8419 GB Notification: Performance of simCode: created initialization part: time 0.00204/1.212, allocations: 1.323 MB / 1.132 GB, free: 0.7539 MB / 0.8419 GB Notification: Performance of simCode: created event and clocks part: time 5.53e-06/1.212, allocations: 7.938 kB / 1.132 GB, free: 0.7461 MB / 0.8419 GB Notification: Performance of simCode: created simulation system equations: time 0.0004459/1.212, allocations: 347.5 kB / 1.132 GB, free: 416 kB / 0.8419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003429/1.216, allocations: 0.8543 MB / 1.133 GB, free: 15.57 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01383/1.229, allocations: 10.61 MB / 1.143 GB, free: 4.625 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008946/1.23, allocations: 1.341 MB / 1.145 GB, free: 3.258 MB / 0.8575 GB Notification: Performance of simCode: alias equations: time 0.001544/1.232, allocations: 420.3 kB / 1.145 GB, free: 2.844 MB / 0.8575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007992/1.233, allocations: 0.6047 MB / 1.146 GB, free: 2.238 MB / 0.8575 GB Notification: Performance of SimCode: time 2.295e-06/1.233, allocations: 0 / 1.146 GB, free: 2.238 MB / 0.8575 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07236/1.305, allocations: 41.65 MB / 1.186 GB, free: 9.133 MB / 0.9044 GB Notification: Performance of buildModelFMU: Generate platform static: time 14.27/15.57, allocations: 0 / 1.186 GB, free: 9.133 MB / 0.9044 GB (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Fluid_Interfaces_Examples_ReverseFlowHumidifier_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Fluid_Interfaces_Examples_ReverseFlowHumidifier.fmu > Buildings_8_Buildings.Fluid.Interfaces.Examples.ReverseFlowHumidifier.pipe 2>&1)