Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Fluid.Interfaces.Examples.ReverseFlowHumidifier.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.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 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.Interfaces.Examples.ReverseFlowHumidifier,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Fluid_Interfaces_Examples_ReverseFlowHumidifier",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Interfaces.Examples.ReverseFlowHumidifier,fileNamePrefix="Buildings_maint_7_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 7.0.3-maint.7.0.x/package.mo): time 1.471/1.471, allocations: 249.5 MB / 257 MB, free: 6.945 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001181/0.001181, allocations: 180.8 kB / 316.3 MB, free: 3.238 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.829/1.829, allocations: 205.3 MB / 0.5671 GB, free: 15.86 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.000929/0.0009291, allocations: 102.9 kB / 0.6714 GB, free: 4.969 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 1.969e-05/1.971e-05, allocations: 4 kB / 0.7815 GB, free: 102.6 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2038/0.2038, allocations: 106.3 MB / 0.8853 GB, free: 12.15 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 5.217/5.421, allocations: 2.201 GB / 3.087 GB, free: 221.7 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002394/5.421, allocations: 91.02 kB / 3.087 GB, free: 221.6 MB / 0.8698 GB Notification: Performance of FrontEnd - DAE generated: time 4.96/10.38, allocations: 1.241 GB / 4.328 GB, free: 116.1 MB / 0.9011 GB Notification: Performance of FrontEnd: time 1.693e-06/10.38, allocations: 0 / 4.328 GB, free: 116.1 MB / 0.9011 GB Notification: Performance of Transformations before backend: time 0.0001813/10.38, allocations: 47.05 kB / 4.328 GB, free: 116.1 MB / 0.9011 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 332 * Number of variables: 332 Notification: Performance of Generate backend data structure: time 0.006621/10.39, allocations: 2.088 MB / 4.33 GB, free: 115.6 MB / 0.9011 GB Notification: Performance of prepare preOptimizeDAE: time 5.52e-05/10.39, allocations: 12.34 kB / 4.33 GB, free: 115.6 MB / 0.9011 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004743/10.39, allocations: 0.4927 MB / 4.33 GB, free: 115.5 MB / 0.9011 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005234/10.4, allocations: 1.749 MB / 4.332 GB, free: 115.2 MB / 0.9011 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.64e-05/10.4, allocations: 41.19 kB / 4.332 GB, free: 115.2 MB / 0.9011 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002558/10.4, allocations: 87.31 kB / 4.332 GB, free: 115.2 MB / 0.9011 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.002725/10.4, allocations: 1.156 MB / 4.333 GB, free: 115.2 MB / 0.9011 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002795/10.4, allocations: 1.291 MB / 4.335 GB, free: 115 MB / 0.9011 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.932e-05/10.4, allocations: 1.469 kB / 4.335 GB, free: 115 MB / 0.9011 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001209/10.4, allocations: 3.438 kB / 4.335 GB, free: 115 MB / 0.9011 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.872e-05/10.4, allocations: 51.25 kB / 4.335 GB, free: 115 MB / 0.9011 GB Warning: The model contains alias variables with conflicting start and/or 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.0112/10.42, allocations: 6.928 MB / 4.341 GB, free: 111.3 MB / 0.9011 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001117/10.42, allocations: 0.6352 MB / 4.342 GB, free: 111.2 MB / 0.9011 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005805/10.42, allocations: 352.5 kB / 4.342 GB, free: 111.2 MB / 0.9011 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002475/10.42, allocations: 112.4 kB / 4.342 GB, free: 111.1 MB / 0.9011 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.202e-05/10.42, allocations: 48 kB / 4.342 GB, free: 111.1 MB / 0.9011 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001288/10.42, allocations: 133.7 kB / 4.343 GB, free: 111.1 MB / 0.9011 GB Notification: Performance of pre-optimization done (n=67): time 6.552e-06/10.42, allocations: 0 / 4.343 GB, free: 111.1 MB / 0.9011 GB Notification: Performance of matching and sorting (n=67): time 0.001622/10.42, allocations: 0.7199 MB / 4.343 GB, free: 111 MB / 0.9011 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.992e-05/10.42, allocations: 60.8 kB / 4.343 GB, free: 110.9 MB / 0.9011 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001393/10.42, allocations: 0.8994 MB / 4.344 GB, free: 110.8 MB / 0.9011 GB Notification: Performance of collectPreVariables (initialization): time 6.859e-05/10.42, allocations: 31.8 kB / 4.344 GB, free: 110.7 MB / 0.9011 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005894/10.42, allocations: 0.779 MB / 4.345 GB, free: 110.5 MB / 0.9011 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002145/10.42, allocations: 232.3 kB / 4.345 GB, free: 110.3 MB / 0.9011 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.667e-05/10.42, allocations: 0 / 4.345 GB, free: 110.3 MB / 0.9011 GB Notification: Performance of setup shared object (initialization): time 0.0001062/10.42, allocations: 347 kB / 4.346 GB, free: 110 MB / 0.9011 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004483/10.42, allocations: 289 kB / 4.346 GB, free: 110 MB / 0.9011 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005956/10.42, allocations: 0.5818 MB / 4.346 GB, free: 109.7 MB / 0.9011 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006196/10.42, allocations: 398 kB / 4.347 GB, free: 109.7 MB / 0.9011 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.43e-06/10.42, allocations: 1.094 kB / 4.347 GB, free: 109.7 MB / 0.9011 GB Notification: Performance of matching and sorting (n=111) (initialization): time 0.00174/10.43, allocations: 0.9465 MB / 4.348 GB, free: 109.6 MB / 0.9011 GB Notification: Performance of prepare postOptimizeDAE: time 0.00069/10.43, allocations: 2.645 MB / 4.35 GB, free: 106.9 MB / 0.9011 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.607e-05/10.43, allocations: 9.062 kB / 4.35 GB, free: 106.9 MB / 0.9011 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.284e-05/10.43, allocations: 18.56 kB / 4.35 GB, free: 106.9 MB / 0.9011 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008305/10.43, allocations: 197.4 kB / 4.351 GB, free: 106.9 MB / 0.9011 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.324e-05/10.43, allocations: 21.34 kB / 4.351 GB, free: 106.9 MB / 0.9011 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001612/10.43, allocations: 97.98 kB / 4.351 GB, free: 106.9 MB / 0.9011 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.871e-05/10.43, allocations: 42.98 kB / 4.351 GB, free: 106.9 MB / 0.9011 GB Notification: Performance of prepare postOptimizeDAE: time 9.959e-06/10.43, allocations: 3.688 kB / 4.351 GB, free: 106.9 MB / 0.9011 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001123/10.43, allocations: 0.7798 MB / 4.351 GB, free: 106.8 MB / 0.9011 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.148e-06/10.43, allocations: 6.594 kB / 4.351 GB, free: 106.8 MB / 0.9011 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.591e-05/10.43, allocations: 18.95 kB / 4.351 GB, free: 106.8 MB / 0.9011 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007083/10.43, allocations: 191 kB / 4.352 GB, free: 106.8 MB / 0.9011 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.153e-05/10.43, allocations: 19.94 kB / 4.352 GB, free: 106.8 MB / 0.9011 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00128/10.43, allocations: 93.16 kB / 4.352 GB, free: 106.8 MB / 0.9011 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.477e-05/10.43, allocations: 46.64 kB / 4.352 GB, free: 106.8 MB / 0.9011 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 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (111): * Single equations (assignments): 111 * 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 prepare postOptimizeDAE: time 0.0002688/10.43, allocations: 129.3 kB / 4.352 GB, free: 106.7 MB / 0.9011 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.001096/10.43, allocations: 0.6926 MB / 4.353 GB, free: 106.6 MB / 0.9011 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001906/10.43, allocations: 133.7 kB / 4.353 GB, free: 106.6 MB / 0.9011 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001502/10.44, allocations: 0.7514 MB / 4.353 GB, free: 106.5 MB / 0.9011 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.025e-06/10.44, allocations: 7.219 kB / 4.353 GB, free: 106.5 MB / 0.9011 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.047e-05/10.44, allocations: 0 / 4.353 GB, free: 106.5 MB / 0.9011 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0009087/10.44, allocations: 0.7448 MB / 4.354 GB, free: 106.2 MB / 0.9011 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003997/10.44, allocations: 2.14 MB / 4.356 GB, free: 105.9 MB / 0.9011 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.913e-06/10.44, allocations: 3.969 kB / 4.356 GB, free: 105.9 MB / 0.9011 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008071/10.44, allocations: 163.1 kB / 4.356 GB, free: 105.9 MB / 0.9011 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.226e-05/10.44, allocations: 6.812 kB / 4.356 GB, free: 105.9 MB / 0.9011 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.077e-05/10.44, allocations: 13.86 kB / 4.356 GB, free: 105.9 MB / 0.9011 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.306e-06/10.44, allocations: 4.812 kB / 4.356 GB, free: 105.9 MB / 0.9011 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.719e-06/10.44, allocations: 0.5625 kB / 4.356 GB, free: 105.9 MB / 0.9011 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001703/10.44, allocations: 1.33 MB / 4.358 GB, free: 105.5 MB / 0.9011 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007694/10.44, allocations: 313.9 kB / 4.358 GB, free: 105.3 MB / 0.9011 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000171/10.44, allocations: 13.64 kB / 4.358 GB, free: 105.3 MB / 0.9011 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001107/10.45, allocations: 88.22 kB / 4.358 GB, free: 105.3 MB / 0.9011 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.079e-05/10.45, allocations: 42.7 kB / 4.358 GB, free: 105.3 MB / 0.9011 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.359e-05/10.45, allocations: 43.27 kB / 4.358 GB, free: 105.3 MB / 0.9011 GB Notification: Performance of sorting global known variables: time 0.0009804/10.45, allocations: 0.6788 MB / 4.359 GB, free: 105.2 MB / 0.9011 GB Notification: Performance of sort global known variables: time 1.7e-07/10.45, allocations: 0 / 4.359 GB, free: 105.2 MB / 0.9011 GB Notification: Performance of remove unused functions: time 0.003382/10.45, allocations: 1.07 MB / 4.36 GB, free: 105.1 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 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (72): * Single equations (assignments): 72 * 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.007605/10.46, allocations: 5.696 MB / 4.366 GB, free: 102.6 MB / 0.9011 GB Notification: Performance of simCode: created initialization part: time 0.002037/10.46, allocations: 1.183 MB / 4.367 GB, free: 102.5 MB / 0.9011 GB Notification: Performance of simCode: created event and clocks part: time 8.146e-06/10.46, allocations: 0 / 4.367 GB, free: 102.5 MB / 0.9011 GB Notification: Performance of simCode: created simulation system equations: time 0.0004144/10.46, allocations: 329.9 kB / 4.367 GB, free: 102.5 MB / 0.9011 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004338/10.47, allocations: 0.7661 MB / 4.368 GB, free: 102.5 MB / 0.9011 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005585/10.47, allocations: 2.614 MB / 4.37 GB, free: 101.8 MB / 0.9011 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008909/10.47, allocations: 1.392 MB / 4.372 GB, free: 101.1 MB / 0.9011 GB Notification: Performance of simCode: alias equations: time 0.002308/10.47, allocations: 0.4904 MB / 4.372 GB, free: 101.1 MB / 0.9011 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007273/10.47, allocations: 0.5738 MB / 4.373 GB, free: 101.1 MB / 0.9011 GB Notification: Performance of SimCode: time 1.202e-06/10.47, allocations: 0 / 4.373 GB, free: 101.1 MB / 0.9011 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.118/10.59, allocations: 61.1 MB / 4.432 GB, free: 99.04 MB / 0.9011 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001981/10.59, allocations: 181.6 kB / 4.433 GB, free: 98.86 MB / 0.9011 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.15/14.74, allocations: 3.688 kB / 4.433 GB, free: 98.86 MB / 0.9011 GB (rm -f Buildings_maint.7.0.x_Buildings.Fluid.Interfaces.Examples.ReverseFlowHumidifier.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Fluid.Interfaces.Examples.ReverseFlowHumidifier.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Fluid.Interfaces.Examples.ReverseFlowHumidifier.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Fluid.Interfaces.Examples.ReverseFlowHumidifier.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_Fluid_Interfaces_Examples_ReverseFlowHumidifier_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_Fluid_Interfaces_Examples_ReverseFlowHumidifier.fmu > Buildings_maint.7.0.x_Buildings.Fluid.Interfaces.Examples.ReverseFlowHumidifier.pipe 2>&1)