Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Fluid.MassExchangers.Validation.ConstantEffectivenessZeroFlow.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/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.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.MassExchangers.Validation.ConstantEffectivenessZeroFlow,fileNamePrefix="Buildings_8_0_0_Buildings_Fluid_MassExchangers_Validation_ConstantEffectivenessZeroFlow",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.MassExchangers.Validation.ConstantEffectivenessZeroFlow,fileNamePrefix="Buildings_8_0_0_Buildings_Fluid_MassExchangers_Validation_ConstantEffectivenessZeroFlow",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 2.434/2.434, allocations: 284.9 MB / 292.4 MB, free: 10.52 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.001472/0.001472, allocations: 192.8 kB / 360.6 MB, free: 7.277 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.079/2.079, allocations: 205.3 MB / 0.6191 GB, free: 12.2 MB / 474.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.00145/0.001449, allocations: 95.44 kB / 0.7321 GB, free: 44.73 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 3.165e-05/3.173e-05, allocations: 4 kB / 0.8508 GB, free: 3.344 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8141/0.8141, allocations: 115.3 MB / 0.9634 GB, free: 78.6 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 6.056/6.87, allocations: 2.089 GB / 3.052 GB, free: 30.02 MB / 0.948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003087/6.87, allocations: 84.84 kB / 3.052 GB, free: 29.98 MB / 0.948 GB Notification: Performance of FrontEnd - DAE generated: time 5.447/12.32, allocations: 0.9899 GB / 4.042 GB, free: 135.9 MB / 0.948 GB Notification: Performance of FrontEnd: time 2.094e-06/12.32, allocations: 0 / 4.042 GB, free: 135.9 MB / 0.948 GB Notification: Performance of Transformations before backend: time 0.0001951/12.32, allocations: 31.36 kB / 4.042 GB, free: 135.9 MB / 0.948 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 209 * Number of variables: 209 Notification: Performance of Generate backend data structure: time 0.009505/12.33, allocations: 1.74 MB / 4.044 GB, free: 134.1 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 5.73e-05/12.33, allocations: 8.031 kB / 4.044 GB, free: 134.1 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005499/12.33, allocations: 0.5494 MB / 4.044 GB, free: 133.6 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003798/12.34, allocations: 1.039 MB / 4.045 GB, free: 132.5 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001116/12.34, allocations: 166.9 kB / 4.045 GB, free: 132.4 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003015/12.34, allocations: 52 kB / 4.045 GB, free: 132.3 MB / 0.948 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.002646/12.34, allocations: 1.035 MB / 4.046 GB, free: 131.3 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002381/12.34, allocations: 1.021 MB / 4.047 GB, free: 130.3 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.004e-05/12.34, allocations: 6.953 kB / 4.047 GB, free: 130.3 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001517/12.34, allocations: 0 / 4.047 GB, free: 130.3 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.023e-05/12.34, allocations: 41.98 kB / 4.047 GB, free: 130.2 MB / 0.948 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.01003/12.35, allocations: 4.008 MB / 4.051 GB, free: 126 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001664/12.35, allocations: 0.7289 MB / 4.052 GB, free: 125.3 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009888/12.36, allocations: 499.6 kB / 4.053 GB, free: 124.8 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001368/12.36, allocations: 0.601 MB / 4.053 GB, free: 124.1 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.31e-05/12.36, allocations: 50.02 kB / 4.053 GB, free: 124.1 MB / 0.948 GB Notification: Performance of pre-optimization done (n=76): time 3.266e-06/12.36, allocations: 0 / 4.053 GB, free: 124.1 MB / 0.948 GB Notification: Performance of matching and sorting (n=76): time 0.003784/12.36, allocations: 1.134 MB / 4.054 GB, free: 122.9 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.728e-05/12.36, allocations: 60.14 kB / 4.054 GB, free: 122.8 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00095/12.36, allocations: 0.563 MB / 4.055 GB, free: 122.3 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 0.0001407/12.36, allocations: 29.7 kB / 4.055 GB, free: 122.2 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003427/12.36, allocations: 460.2 kB / 4.055 GB, free: 121.8 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002435/12.36, allocations: 243.4 kB / 4.056 GB, free: 121.5 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.476e-05/12.36, allocations: 4 kB / 4.056 GB, free: 121.5 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 8.534e-05/12.36, allocations: 333.9 kB / 4.056 GB, free: 121.2 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009027/12.36, allocations: 393.4 kB / 4.056 GB, free: 120.8 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009983/12.36, allocations: 0.5181 MB / 4.057 GB, free: 120.3 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001847/12.37, allocations: 0.5821 MB / 4.057 GB, free: 119.7 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.292e-06/12.37, allocations: 4 kB / 4.057 GB, free: 119.7 MB / 0.948 GB Notification: Performance of matching and sorting (n=87) (initialization): time 0.003378/12.37, allocations: 1.181 MB / 4.059 GB, free: 118.5 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001643/12.37, allocations: 481.8 kB / 4.059 GB, free: 118 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.151e-05/12.37, allocations: 4 kB / 4.059 GB, free: 118 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.18e-05/12.37, allocations: 4 kB / 4.059 GB, free: 118 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002925/12.37, allocations: 271.6 kB / 4.059 GB, free: 117.7 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007397/12.37, allocations: 1.215 MB / 4.06 GB, free: 116.4 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00243/12.38, allocations: 171.4 kB / 4.061 GB, free: 116.3 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001783/12.38, allocations: 43.97 kB / 4.061 GB, free: 116.2 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 1.597e-05/12.38, allocations: 4 kB / 4.061 GB, free: 116.2 MB / 0.948 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003361/12.38, allocations: 1.061 MB / 4.062 GB, free: 115.2 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.468e-06/12.38, allocations: 0 / 4.062 GB, free: 115.2 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.623e-05/12.38, allocations: 4 kB / 4.062 GB, free: 115.2 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002382/12.38, allocations: 259.7 kB / 4.062 GB, free: 114.9 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.276e-05/12.38, allocations: 15.92 kB / 4.062 GB, free: 114.9 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002346/12.39, allocations: 167.4 kB / 4.062 GB, free: 114.7 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001587/12.39, allocations: 39.97 kB / 4.062 GB, free: 114.7 MB / 0.948 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 2 (hex.i1_w,hex.i2_w) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (86): * Single equations (assignments): 83 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 2 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 2 {1,1} * Without analytic Jacobian: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0003691/12.39, allocations: 122.4 kB / 4.062 GB, free: 114.6 MB / 0.948 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.003163/12.39, allocations: 1.077 MB / 4.063 GB, free: 113.5 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002246/12.39, allocations: 90.88 kB / 4.063 GB, free: 113.4 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003511/12.39, allocations: 1.217 MB / 4.065 GB, free: 112.2 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.029e-05/12.39, allocations: 8 kB / 4.065 GB, free: 112.2 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.194e-06/12.39, allocations: 3.844 kB / 4.065 GB, free: 112.2 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.187e-05/12.39, allocations: 3.984 kB / 4.065 GB, free: 112.2 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006363/12.4, allocations: 2.578 MB / 4.067 GB, free: 109.5 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.001e-05/12.4, allocations: 7.953 kB / 4.067 GB, free: 109.5 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002364/12.4, allocations: 256.1 kB / 4.067 GB, free: 109.2 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.625e-05/12.4, allocations: 4 kB / 4.067 GB, free: 109.2 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.75e-05/12.4, allocations: 19.98 kB / 4.067 GB, free: 109.2 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005047/12.4, allocations: 1.192 MB / 4.069 GB, free: 108 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.244e-06/12.4, allocations: 8 kB / 4.069 GB, free: 108 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003205/12.41, allocations: 1.492 MB / 4.07 GB, free: 106.3 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007762/12.41, allocations: 299.7 kB / 4.07 GB, free: 106 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001979/12.41, allocations: 4 kB / 4.07 GB, free: 106 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00229/12.41, allocations: 163.7 kB / 4.071 GB, free: 105.9 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001779/12.41, allocations: 68.33 kB / 4.071 GB, free: 105.8 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001266/12.41, allocations: 39.95 kB / 4.071 GB, free: 105.7 MB / 0.948 GB Notification: Performance of sorting global known variables: time 0.0007215/12.41, allocations: 439.1 kB / 4.071 GB, free: 105.3 MB / 0.948 GB Notification: Performance of sort global known variables: time 3.71e-07/12.41, allocations: 0 / 4.071 GB, free: 105.3 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.002603/12.41, allocations: 0.6808 MB / 4.072 GB, free: 104.6 MB / 0.948 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 16 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (76): * Single equations (assignments): 74 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 2 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 2 {1,1} * Without analytic Jacobian: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.00765/12.42, allocations: 5.575 MB / 4.077 GB, free: 99.14 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.004201/12.42, allocations: 1.611 MB / 4.079 GB, free: 97.5 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 8.516e-06/12.42, allocations: 0 / 4.079 GB, free: 97.5 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 0.001368/12.43, allocations: 0.5184 MB / 4.079 GB, free: 96.98 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003653/12.43, allocations: 431.8 kB / 4.08 GB, free: 96.57 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02745/12.46, allocations: 2.534 MB / 4.082 GB, free: 93.95 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006631/12.46, allocations: 1.123 MB / 4.083 GB, free: 92.79 MB / 0.948 GB Notification: Performance of simCode: alias equations: time 0.00338/12.46, allocations: 446.3 kB / 4.084 GB, free: 92.36 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001021/12.46, allocations: 375.3 kB / 4.084 GB, free: 91.99 MB / 0.948 GB Notification: Performance of SimCode: time 1.533e-06/12.46, allocations: 0 / 4.084 GB, free: 91.99 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1411/12.6, allocations: 43.52 MB / 4.126 GB, free: 48.77 MB / 0.948 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002268/12.6, allocations: 188.9 kB / 4.127 GB, free: 48.59 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.767/17.37, allocations: 4 kB / 4.127 GB, free: 48.58 MB / 0.948 GB (rm -f Buildings_8.0.0_Buildings.Fluid.MassExchangers.Validation.ConstantEffectivenessZeroFlow.pipe ; mkfifo Buildings_8.0.0_Buildings.Fluid.MassExchangers.Validation.ConstantEffectivenessZeroFlow.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Fluid.MassExchangers.Validation.ConstantEffectivenessZeroFlow.pipe >> ../files/Buildings_8.0.0_Buildings.Fluid.MassExchangers.Validation.ConstantEffectivenessZeroFlow.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_0_0_Buildings_Fluid_MassExchangers_Validation_ConstantEffectivenessZeroFlow_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_8_0_0_Buildings_Fluid_MassExchangers_Validation_ConstantEffectivenessZeroFlow.fmu > Buildings_8.0.0_Buildings.Fluid.MassExchangers.Validation.ConstantEffectivenessZeroFlow.pipe 2>&1)