Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Fluid.Interfaces.Examples.ReverseFlowHumidifier.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.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.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.Interfaces.Examples.ReverseFlowHumidifier,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Fluid_Interfaces_Examples_ReverseFlowHumidifier",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Interfaces.Examples.ReverseFlowHumidifier,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Fluid_Interfaces_Examples_ReverseFlowHumidifier",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo): time 1.765/1.765, allocations: 288.2 MB / 303.2 MB, free: 8.164 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.001225/0.001225, allocations: 185 kB / 371.8 MB, free: 10.3 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.692/1.692, allocations: 205.4 MB / 0.6305 GB, free: 10.07 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008422/0.0008423, allocations: 110.8 kB / 0.7439 GB, free: 5.977 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004113/0.0004115, allocations: 17.31 kB / 0.8669 GB, free: 142.1 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2388/0.2393, allocations: 115.3 MB / 0.9795 GB, free: 27.65 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Interfaces.Examples.ReverseFlowHumidifier): time 0.8112/1.051, allocations: 223.7 MB / 1.198 GB, free: 3.125 MB / 0.7292 GB Notification: Performance of NFInst.instExpressions: time 0.02499/1.076, allocations: 15.74 MB / 1.213 GB, free: 6.57 MB / 0.7448 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003375/1.079, allocations: 52.38 kB / 1.213 GB, free: 6.547 MB / 0.7448 GB Notification: Performance of NFTyping.typeComponents: time 0.004213/1.083, allocations: 1 MB / 1.214 GB, free: 5.699 MB / 0.7448 GB Notification: Performance of NFTyping.typeBindings: time 0.01121/1.094, allocations: 2.943 MB / 1.217 GB, free: 3.305 MB / 0.7448 GB Notification: Performance of NFTyping.typeClassSections: time 0.006613/1.101, allocations: 1.781 MB / 1.219 GB, free: 2.031 MB / 0.7448 GB Notification: Performance of NFFlatten.flatten: time 0.007112/1.108, allocations: 2.7 MB / 1.222 GB, free: 304 kB / 0.7448 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002682/1.111, allocations: 1.315 MB / 1.223 GB, free: 15.09 MB / 0.7605 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005001/1.116, allocations: 1.593 MB / 1.224 GB, free: 13.5 MB / 0.7605 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002348/1.118, allocations: 0.9415 MB / 1.225 GB, free: 12.55 MB / 0.7605 GB Notification: Performance of NFPackage.collectConstants: time 0.0003085/1.119, allocations: 76 kB / 1.225 GB, free: 12.48 MB / 0.7605 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005351/1.124, allocations: 1.314 MB / 1.227 GB, free: 11.16 MB / 0.7605 GB Notification: Performance of NFScalarize.scalarize: time 0.001261/1.125, allocations: 0.5453 MB / 1.227 GB, free: 10.61 MB / 0.7605 GB Notification: Performance of NFVerifyModel.verify: time 0.00116/1.127, allocations: 428.7 kB / 1.228 GB, free: 10.19 MB / 0.7605 GB Notification: Performance of NFConvertDAE.convert: time 0.004644/1.131, allocations: 2.451 MB / 1.23 GB, free: 7.73 MB / 0.7605 GB Notification: Performance of FrontEnd - DAE generated: time 4.208e-06/1.131, allocations: 0 / 1.23 GB, free: 7.73 MB / 0.7605 GB Notification: Performance of FrontEnd: time 2.525e-06/1.131, allocations: 0 / 1.23 GB, free: 7.73 MB / 0.7605 GB Notification: Performance of Transformations before backend: time 5.968e-05/1.131, allocations: 0 / 1.23 GB, free: 7.73 MB / 0.7605 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.00431/1.136, allocations: 1.993 MB / 1.232 GB, free: 5.672 MB / 0.7605 GB Notification: Performance of prepare preOptimizeDAE: time 5.236e-05/1.136, allocations: 16.02 kB / 1.232 GB, free: 5.656 MB / 0.7605 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003928/1.136, allocations: 194.1 kB / 1.232 GB, free: 5.457 MB / 0.7605 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004322/1.14, allocations: 0.6572 MB / 1.233 GB, free: 4.797 MB / 0.7605 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002786/1.143, allocations: 1.265 MB / 1.234 GB, free: 3.477 MB / 0.7605 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.152e-05/1.143, allocations: 102.5 kB / 1.234 GB, free: 3.375 MB / 0.7605 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002045/1.144, allocations: 140 kB / 1.234 GB, free: 3.238 MB / 0.7605 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002644/1.146, allocations: 1.549 MB / 1.236 GB, free: 1.621 MB / 0.7605 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.068e-05/1.146, allocations: 0 / 1.236 GB, free: 1.621 MB / 0.7605 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001332/1.146, allocations: 60 kB / 1.236 GB, free: 1.562 MB / 0.7605 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.552e-05/1.146, allocations: 42.45 kB / 1.236 GB, free: 1.52 MB / 0.7605 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002117/1.149, allocations: 1.266 MB / 1.237 GB, free: 252 kB / 0.7605 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.009632/1.158, allocations: 7.21 MB / 1.244 GB, free: 8.469 MB / 0.7761 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009408/1.159, allocations: 0.6409 MB / 1.245 GB, free: 7.816 MB / 0.7761 GB Notification: Performance of preOpt evalFunc (simulation): time 8.815e-05/1.159, allocations: 32.47 kB / 1.245 GB, free: 7.785 MB / 0.7761 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.001e-05/1.159, allocations: 47.45 kB / 1.245 GB, free: 7.73 MB / 0.7761 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0008777/1.16, allocations: 139.1 kB / 1.245 GB, free: 7.594 MB / 0.7761 GB Notification: Performance of pre-optimization done (n=67): time 7.083e-06/1.16, allocations: 4 kB / 1.245 GB, free: 7.59 MB / 0.7761 GB Notification: Performance of matching and sorting (n=67): time 0.001869/1.162, allocations: 1.012 MB / 1.246 GB, free: 6.57 MB / 0.7761 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.816e-05/1.162, allocations: 59.97 kB / 1.246 GB, free: 6.5 MB / 0.7761 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001635/1.164, allocations: 1.323 MB / 1.247 GB, free: 5.168 MB / 0.7761 GB Notification: Performance of collectPreVariables (initialization): time 9.439e-05/1.164, allocations: 45.7 kB / 1.247 GB, free: 5.117 MB / 0.7761 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006085/1.165, allocations: 0.7736 MB / 1.248 GB, free: 4.336 MB / 0.7761 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002231/1.165, allocations: 252.5 kB / 1.248 GB, free: 4.086 MB / 0.7761 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.487e-05/1.165, allocations: 16 kB / 1.248 GB, free: 4.07 MB / 0.7761 GB Notification: Performance of setup shared object (initialization): time 0.0001406/1.165, allocations: 341.9 kB / 1.249 GB, free: 3.73 MB / 0.7761 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005354/1.165, allocations: 341.8 kB / 1.249 GB, free: 3.398 MB / 0.7761 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007917/1.166, allocations: 0.671 MB / 1.25 GB, free: 2.586 MB / 0.7761 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006926/1.167, allocations: 462.7 kB / 1.25 GB, free: 2.137 MB / 0.7761 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.29e-06/1.167, allocations: 0 / 1.25 GB, free: 2.137 MB / 0.7761 GB Notification: Performance of matching and sorting (n=123) (initialization): time 0.00173/1.169, allocations: 1.14 MB / 1.251 GB, free: 0.9883 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 0.001082/1.17, allocations: 2.669 MB / 1.254 GB, free: 14.17 MB / 0.7917 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.091e-05/1.17, allocations: 8 kB / 1.254 GB, free: 14.16 MB / 0.7917 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.997e-05/1.17, allocations: 19.94 kB / 1.254 GB, free: 14.14 MB / 0.7917 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009267/1.171, allocations: 211.7 kB / 1.254 GB, free: 13.93 MB / 0.7917 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.371e-05/1.171, allocations: 15.92 kB / 1.254 GB, free: 13.92 MB / 0.7917 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001728/1.173, allocations: 130.7 kB / 1.254 GB, free: 13.79 MB / 0.7917 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.521e-05/1.173, allocations: 39.98 kB / 1.254 GB, free: 13.75 MB / 0.7917 GB Notification: Performance of prepare postOptimizeDAE: time 1.182e-05/1.173, allocations: 7.938 kB / 1.254 GB, free: 13.75 MB / 0.7917 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001505/1.174, allocations: 0.9723 MB / 1.255 GB, free: 12.78 MB / 0.7917 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.154e-05/1.174, allocations: 12.19 kB / 1.255 GB, free: 12.77 MB / 0.7917 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.554e-05/1.174, allocations: 12 kB / 1.255 GB, free: 12.75 MB / 0.7917 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008119/1.175, allocations: 207.7 kB / 1.255 GB, free: 12.55 MB / 0.7917 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.65e-05/1.175, allocations: 15.94 kB / 1.255 GB, free: 12.54 MB / 0.7917 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001648/1.177, allocations: 132.5 kB / 1.256 GB, free: 12.41 MB / 0.7917 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.464e-05/1.177, allocations: 43.98 kB / 1.256 GB, free: 12.36 MB / 0.7917 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.000982/1.178, allocations: 0.489 MB / 1.256 GB, free: 11.86 MB / 0.7917 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002666/1.178, allocations: 150.2 kB / 1.256 GB, free: 11.71 MB / 0.7917 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001426/1.18, allocations: 0.8123 MB / 1.257 GB, free: 10.89 MB / 0.7917 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.01e-05/1.18, allocations: 11.95 kB / 1.257 GB, free: 10.88 MB / 0.7917 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.091e-06/1.18, allocations: 0 / 1.257 GB, free: 10.88 MB / 0.7917 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0009593/1.181, allocations: 0.7784 MB / 1.258 GB, free: 10.05 MB / 0.7917 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003601/1.184, allocations: 2.294 MB / 1.26 GB, free: 7.672 MB / 0.7917 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.771e-06/1.184, allocations: 4 kB / 1.26 GB, free: 7.668 MB / 0.7917 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008093/1.185, allocations: 180 kB / 1.26 GB, free: 7.492 MB / 0.7917 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.002e-05/1.185, allocations: 4 kB / 1.26 GB, free: 7.488 MB / 0.7917 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.047e-05/1.185, allocations: 16 kB / 1.26 GB, free: 7.473 MB / 0.7917 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.683e-06/1.185, allocations: 4 kB / 1.26 GB, free: 7.469 MB / 0.7917 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.394e-06/1.185, allocations: 0 / 1.26 GB, free: 7.469 MB / 0.7917 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001791/1.187, allocations: 1.398 MB / 1.262 GB, free: 5.992 MB / 0.7917 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006915/1.188, allocations: 323.2 kB / 1.262 GB, free: 5.656 MB / 0.7917 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001674/1.188, allocations: 16 kB / 1.262 GB, free: 5.641 MB / 0.7917 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009993/1.189, allocations: 91.77 kB / 1.262 GB, free: 5.551 MB / 0.7917 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.91e-05/1.189, allocations: 44.5 kB / 1.262 GB, free: 5.508 MB / 0.7917 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.969e-05/1.189, allocations: 27.98 kB / 1.262 GB, free: 5.48 MB / 0.7917 GB Notification: Performance of sorting global known variables: time 0.001229/1.19, allocations: 0.8925 MB / 1.263 GB, free: 4.59 MB / 0.7917 GB Notification: Performance of sort global known variables: time 1.6e-07/1.19, allocations: 4 kB / 1.263 GB, free: 4.586 MB / 0.7917 GB Notification: Performance of remove unused functions: time 0.002092/1.192, allocations: 0.8456 MB / 1.264 GB, free: 3.738 MB / 0.7917 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.002732/1.195, allocations: 2.488 MB / 1.266 GB, free: 1.191 MB / 0.7917 GB Notification: Performance of simCode: created initialization part: time 0.002209/1.197, allocations: 1.307 MB / 1.268 GB, free: 15.89 MB / 0.8073 GB Notification: Performance of simCode: created event and clocks part: time 7.043e-06/1.197, allocations: 4 kB / 1.268 GB, free: 15.88 MB / 0.8073 GB Notification: Performance of simCode: created simulation system equations: time 0.0004662/1.198, allocations: 351.8 kB / 1.268 GB, free: 15.54 MB / 0.8073 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003921/1.202, allocations: 0.8293 MB / 1.269 GB, free: 14.71 MB / 0.8073 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008219/1.21, allocations: 8.914 MB / 1.277 GB, free: 5.57 MB / 0.8073 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009463/1.211, allocations: 1.384 MB / 1.279 GB, free: 4.156 MB / 0.8073 GB Notification: Performance of simCode: alias equations: time 0.00198/1.213, allocations: 412.4 kB / 1.279 GB, free: 3.746 MB / 0.8073 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008113/1.214, allocations: 0.6047 MB / 1.28 GB, free: 3.141 MB / 0.8073 GB Notification: Performance of SimCode: time 1.402e-06/1.214, allocations: 0 / 1.28 GB, free: 3.141 MB / 0.8073 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07925/1.293, allocations: 40.55 MB / 1.319 GB, free: 10.96 MB / 0.8542 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001838/1.293, allocations: 241.5 kB / 1.32 GB, free: 10.71 MB / 0.8542 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.205/4.499, allocations: 0 / 1.32 GB, free: 10.71 MB / 0.8542 GB (rm -f Buildings_maint.8.0.x_Buildings.Fluid.Interfaces.Examples.ReverseFlowHumidifier.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Fluid.Interfaces.Examples.ReverseFlowHumidifier.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Fluid.Interfaces.Examples.ReverseFlowHumidifier.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Fluid.Interfaces.Examples.ReverseFlowHumidifier.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_8_0_x_Buildings_Fluid_Interfaces_Examples_ReverseFlowHumidifier_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_maint_8_0_x_Buildings_Fluid_Interfaces_Examples_ReverseFlowHumidifier.fmu > Buildings_maint.8.0.x_Buildings.Fluid.Interfaces.Examples.ReverseFlowHumidifier.pipe 2>&1)