Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Fluid.MassExchangers.Validation.ConstantEffectivenessZeroFlowBothStreams.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.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.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.MassExchangers.Validation.ConstantEffectivenessZeroFlowBothStreams,fileNamePrefix="Buildings_8_Buildings_Fluid_MassExchangers_Validation_ConstantEffectivenessZeroFlowBothStreams",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.MassExchangers.Validation.ConstantEffectivenessZeroFlowBothStreams,fileNamePrefix="Buildings_8_Buildings_Fluid_MassExchangers_Validation_ConstantEffectivenessZeroFlowBothStreams",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.721/1.721, allocations: 289.9 MB / 297.4 MB, free: 6.344 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.001159/0.001159, allocations: 180.8 kB / 366.7 MB, free: 1.672 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.989/1.989, allocations: 205.2 MB / 0.626 GB, free: 7.191 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.0008923/0.0008924, allocations: 86.53 kB / 0.74 GB, free: 39.55 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 2.168e-05/2.169e-05, allocations: 4 kB / 0.8598 GB, free: 12.97 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7982/0.7982, allocations: 116.3 MB / 0.9733 GB, free: 76.37 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 6.645/7.444, allocations: 2.09 GB / 3.063 GB, free: 282.3 MB / 0.948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003684/7.444, allocations: 86.36 kB / 3.063 GB, free: 282.3 MB / 0.948 GB Notification: Performance of FrontEnd - DAE generated: time 3.572/11.02, allocations: 0.99 GB / 4.053 GB, free: 69.05 MB / 0.948 GB Notification: Performance of FrontEnd: time 2.475e-06/11.02, allocations: 4 kB / 4.053 GB, free: 69.04 MB / 0.948 GB Notification: Performance of Transformations before backend: time 9.497e-05/11.02, allocations: 27.98 kB / 4.053 GB, free: 69.02 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.005371/11.02, allocations: 1.735 MB / 4.055 GB, free: 67.22 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 4.751e-05/11.02, allocations: 12.03 kB / 4.055 GB, free: 67.21 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003184/11.03, allocations: 0.5447 MB / 4.055 GB, free: 66.66 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002287/11.03, allocations: 1.039 MB / 4.056 GB, free: 65.58 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005634/11.03, allocations: 173.9 kB / 4.056 GB, free: 65.41 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001516/11.03, allocations: 56 kB / 4.056 GB, free: 65.36 MB / 0.948 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001527/11.03, allocations: 1.027 MB / 4.057 GB, free: 64.33 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001512/11.03, allocations: 1.021 MB / 4.058 GB, free: 63.3 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.123e-05/11.03, allocations: 0 / 4.058 GB, free: 63.3 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.156e-05/11.03, allocations: 4 kB / 4.058 GB, free: 63.29 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.06e-05/11.03, allocations: 45.98 kB / 4.059 GB, free: 63.25 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.006156/11.04, allocations: 4.002 MB / 4.062 GB, free: 58.98 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009934/11.04, allocations: 0.7312 MB / 4.063 GB, free: 58.24 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005301/11.04, allocations: 0.4897 MB / 4.064 GB, free: 57.75 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008518/11.04, allocations: 0.6049 MB / 4.064 GB, free: 57.04 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.619e-05/11.04, allocations: 47.34 kB / 4.064 GB, free: 56.98 MB / 0.948 GB Notification: Performance of pre-optimization done (n=76): time 3.276e-06/11.04, allocations: 0 / 4.064 GB, free: 56.98 MB / 0.948 GB Notification: Performance of matching and sorting (n=76): time 0.002237/11.04, allocations: 1.131 MB / 4.065 GB, free: 55.84 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.499e-05/11.04, allocations: 60.19 kB / 4.065 GB, free: 55.77 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006332/11.04, allocations: 0.5707 MB / 4.066 GB, free: 55.19 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 8.684e-05/11.04, allocations: 29.7 kB / 4.066 GB, free: 55.16 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002312/11.04, allocations: 452.3 kB / 4.066 GB, free: 54.71 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001564/11.04, allocations: 252.2 kB / 4.067 GB, free: 54.46 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.828e-05/11.04, allocations: 0 / 4.067 GB, free: 54.46 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 7.95e-05/11.04, allocations: 334 kB / 4.067 GB, free: 54.12 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004746/11.04, allocations: 389.4 kB / 4.067 GB, free: 53.75 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000541/11.05, allocations: 0.5271 MB / 4.068 GB, free: 53.17 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009944/11.05, allocations: 0.5743 MB / 4.068 GB, free: 52.6 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.567e-06/11.05, allocations: 0 / 4.068 GB, free: 52.6 MB / 0.948 GB Notification: Performance of matching and sorting (n=87) (initialization): time 0.001887/11.05, allocations: 1.178 MB / 4.07 GB, free: 51.41 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001349/11.05, allocations: 493.7 kB / 4.07 GB, free: 50.89 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.917e-06/11.05, allocations: 4 kB / 4.07 GB, free: 50.89 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.214e-05/11.05, allocations: 8 kB / 4.07 GB, free: 50.88 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001489/11.05, allocations: 271.6 kB / 4.07 GB, free: 50.61 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005187/11.05, allocations: 1.207 MB / 4.072 GB, free: 49.36 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001397/11.05, allocations: 175.3 kB / 4.072 GB, free: 49.19 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001131/11.05, allocations: 43.97 kB / 4.072 GB, free: 49.14 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 1.545e-05/11.05, allocations: 7.938 kB / 4.072 GB, free: 49.14 MB / 0.948 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001719/11.05, allocations: 1.049 MB / 4.073 GB, free: 48.08 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.669e-06/11.05, allocations: 4 kB / 4.073 GB, free: 48.08 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.626e-06/11.05, allocations: 8.094 kB / 4.073 GB, free: 48.07 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00118/11.05, allocations: 267.6 kB / 4.073 GB, free: 47.81 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.669e-06/11.05, allocations: 7.938 kB / 4.073 GB, free: 47.8 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001256/11.06, allocations: 163.4 kB / 4.073 GB, free: 47.64 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.025e-05/11.06, allocations: 39.97 kB / 4.073 GB, free: 47.6 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.000262/11.06, allocations: 120.8 kB / 4.073 GB, free: 47.48 MB / 0.948 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.001736/11.06, allocations: 1.081 MB / 4.074 GB, free: 46.39 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001641/11.06, allocations: 98.73 kB / 4.075 GB, free: 46.29 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002143/11.06, allocations: 1.197 MB / 4.076 GB, free: 45.08 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.677e-06/11.06, allocations: 11.98 kB / 4.076 GB, free: 45.07 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.658e-06/11.06, allocations: 4 kB / 4.076 GB, free: 45.06 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.178e-06/11.06, allocations: 0 / 4.076 GB, free: 45.06 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004232/11.06, allocations: 2.578 MB / 4.078 GB, free: 42.39 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.945e-06/11.06, allocations: 4.094 kB / 4.078 GB, free: 42.39 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001233/11.07, allocations: 264 kB / 4.078 GB, free: 42.13 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.564e-05/11.07, allocations: 11.98 kB / 4.078 GB, free: 42.12 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.489e-05/11.07, allocations: 15.98 kB / 4.078 GB, free: 42.1 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004694/11.07, allocations: 1.195 MB / 4.08 GB, free: 40.86 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.131e-06/11.07, allocations: 4 kB / 4.08 GB, free: 40.86 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00208/11.07, allocations: 1.492 MB / 4.081 GB, free: 39.21 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000598/11.07, allocations: 303.7 kB / 4.081 GB, free: 38.89 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001362/11.07, allocations: 7.984 kB / 4.081 GB, free: 38.89 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001262/11.07, allocations: 155.7 kB / 4.082 GB, free: 38.73 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001484/11.07, allocations: 68.38 kB / 4.082 GB, free: 38.67 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.345e-05/11.07, allocations: 39.97 kB / 4.082 GB, free: 38.63 MB / 0.948 GB Notification: Performance of sorting global known variables: time 0.0005861/11.07, allocations: 439.1 kB / 4.082 GB, free: 38.21 MB / 0.948 GB Notification: Performance of sort global known variables: time 1.51e-07/11.07, allocations: 0 / 4.082 GB, free: 38.21 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.002095/11.07, allocations: 0.6706 MB / 4.083 GB, free: 37.54 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.005685/11.08, allocations: 5.579 MB / 4.088 GB, free: 31.65 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.002599/11.08, allocations: 1.611 MB / 4.09 GB, free: 30.01 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 9.759e-06/11.08, allocations: 4 kB / 4.09 GB, free: 30 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 0.0008378/11.08, allocations: 0.5183 MB / 4.09 GB, free: 29.49 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00236/11.09, allocations: 416.5 kB / 4.091 GB, free: 29.08 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01372/11.1, allocations: 2.554 MB / 4.093 GB, free: 26.44 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004773/11.1, allocations: 1.119 MB / 4.094 GB, free: 25.29 MB / 0.948 GB Notification: Performance of simCode: alias equations: time 0.001964/11.1, allocations: 446.5 kB / 4.095 GB, free: 24.84 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000553/11.1, allocations: 371.3 kB / 4.095 GB, free: 24.48 MB / 0.948 GB Notification: Performance of SimCode: time 9.32e-07/11.1, allocations: 3.938 kB / 4.095 GB, free: 24.48 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.7766/11.88, allocations: 43.52 MB / 4.138 GB, free: 159.6 MB / 0.9636 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002783/11.88, allocations: 209.2 kB / 4.138 GB, free: 159.3 MB / 0.9636 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.736/15.61, allocations: 1.203 kB / 4.138 GB, free: 159.3 MB / 0.9636 GB (rm -f Buildings_8_Buildings.Fluid.MassExchangers.Validation.ConstantEffectivenessZeroFlowBothStreams.pipe ; mkfifo Buildings_8_Buildings.Fluid.MassExchangers.Validation.ConstantEffectivenessZeroFlowBothStreams.pipe ; head -c 1048576 < Buildings_8_Buildings.Fluid.MassExchangers.Validation.ConstantEffectivenessZeroFlowBothStreams.pipe >> ../files/Buildings_8_Buildings.Fluid.MassExchangers.Validation.ConstantEffectivenessZeroFlowBothStreams.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Fluid_MassExchangers_Validation_ConstantEffectivenessZeroFlowBothStreams_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Fluid_MassExchangers_Validation_ConstantEffectivenessZeroFlowBothStreams.fmu > Buildings_8_Buildings.Fluid.MassExchangers.Validation.ConstantEffectivenessZeroFlowBothStreams.pipe 2>&1)