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.8/1.8, allocations: 292.6 MB / 307.5 MB, free: 5.172 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.00127/0.00127, allocations: 177.1 kB / 377.1 MB, free: 1.516 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.964/1.964, allocations: 205.4 MB / 0.6366 GB, free: 9.555 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.00107/0.001071, allocations: 87.61 kB / 0.7509 GB, free: 62.59 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0003912/0.0003911, allocations: 12 kB / 0.8749 GB, free: 11.25 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3034/0.3038, allocations: 116.3 MB / 0.9884 GB, free: 6.785 MB / 0.7136 GB Notification: Performance of FrontEnd - scodeFlatten: time 5.831/6.135, allocations: 2.09 GB / 3.079 GB, free: 129.3 MB / 0.948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002446/6.135, allocations: 88.61 kB / 3.079 GB, free: 129.2 MB / 0.948 GB Notification: Performance of FrontEnd - DAE generated: time 4.196/10.33, allocations: 1.002 GB / 4.081 GB, free: 137.3 MB / 0.9636 GB Notification: Performance of FrontEnd: time 1.603e-06/10.33, allocations: 0 / 4.081 GB, free: 137.3 MB / 0.9636 GB Notification: Performance of Transformations before backend: time 0.0002134/10.33, allocations: 31.98 kB / 4.081 GB, free: 137.3 MB / 0.9636 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.007379/10.34, allocations: 1.909 MB / 4.083 GB, free: 136.4 MB / 0.9636 GB Notification: Performance of prepare preOptimizeDAE: time 5.444e-05/10.34, allocations: 12.5 kB / 4.083 GB, free: 136.4 MB / 0.9636 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003336/10.34, allocations: 128.5 kB / 4.083 GB, free: 136.4 MB / 0.9636 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0032/10.34, allocations: 0.5469 MB / 4.083 GB, free: 136.3 MB / 0.9636 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002529/10.34, allocations: 1.056 MB / 4.084 GB, free: 136 MB / 0.9636 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005873/10.35, allocations: 199 kB / 4.085 GB, free: 136 MB / 0.9636 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001755/10.35, allocations: 88.39 kB / 4.085 GB, free: 136 MB / 0.9636 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002673/10.35, allocations: 1.331 MB / 4.086 GB, free: 136 MB / 0.9636 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.999e-05/10.35, allocations: 0 / 4.086 GB, free: 136 MB / 0.9636 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001049/10.35, allocations: 35.58 kB / 4.086 GB, free: 136 MB / 0.9636 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.204e-05/10.35, allocations: 48.41 kB / 4.086 GB, free: 135.9 MB / 0.9636 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003308/10.35, allocations: 1.568 MB / 4.088 GB, free: 135.9 MB / 0.9636 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.006503/10.36, allocations: 4.096 MB / 4.092 GB, free: 134.4 MB / 0.9636 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002356/10.36, allocations: 1.027 MB / 4.093 GB, free: 134.4 MB / 0.9636 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001035/10.36, allocations: 0.6123 MB / 4.093 GB, free: 133.8 MB / 0.9636 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.948e-05/10.36, allocations: 42 kB / 4.093 GB, free: 133.8 MB / 0.9636 GB Notification: Performance of pre-optimization done (n=76): time 4.619e-06/10.36, allocations: 0 / 4.093 GB, free: 133.8 MB / 0.9636 GB Notification: Performance of matching and sorting (n=76): time 0.004727/10.37, allocations: 1.897 MB / 4.095 GB, free: 133.7 MB / 0.9636 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.059e-05/10.37, allocations: 59.66 kB / 4.095 GB, free: 133.6 MB / 0.9636 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009392/10.37, allocations: 0.7172 MB / 4.096 GB, free: 133.5 MB / 0.9636 GB Notification: Performance of collectPreVariables (initialization): time 0.0001145/10.37, allocations: 42.73 kB / 4.096 GB, free: 133.4 MB / 0.9636 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003148/10.37, allocations: 444.3 kB / 4.096 GB, free: 133.3 MB / 0.9636 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002033/10.37, allocations: 252.1 kB / 4.097 GB, free: 133.1 MB / 0.9636 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.553e-05/10.37, allocations: 18.03 kB / 4.097 GB, free: 133.1 MB / 0.9636 GB Notification: Performance of setup shared object (initialization): time 9.454e-05/10.37, allocations: 335.9 kB / 4.097 GB, free: 132.8 MB / 0.9636 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001228/10.37, allocations: 0.5585 MB / 4.097 GB, free: 132.8 MB / 0.9636 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001394/10.37, allocations: 0.7104 MB / 4.098 GB, free: 132.7 MB / 0.9636 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001317/10.37, allocations: 0.6118 MB / 4.099 GB, free: 132.6 MB / 0.9636 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.847e-06/10.37, allocations: 0 / 4.099 GB, free: 132.6 MB / 0.9636 GB Notification: Performance of matching and sorting (n=87) (initialization): time 0.003132/10.38, allocations: 1.42 MB / 4.1 GB, free: 132.5 MB / 0.9636 GB Notification: Performance of prepare postOptimizeDAE: time 0.000145/10.38, allocations: 489.4 kB / 4.101 GB, free: 132 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.436e-06/10.38, allocations: 7.734 kB / 4.101 GB, free: 132 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.138e-05/10.38, allocations: 3.125 kB / 4.101 GB, free: 132 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001496/10.38, allocations: 266.5 kB / 4.101 GB, free: 132 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005687/10.38, allocations: 1.192 MB / 4.102 GB, free: 130.8 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001453/10.38, allocations: 197.2 kB / 4.102 GB, free: 130.8 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001087/10.38, allocations: 41.66 kB / 4.102 GB, free: 130.8 MB / 0.9636 GB Notification: Performance of prepare postOptimizeDAE: time 1.002e-05/10.38, allocations: 3.625 kB / 4.102 GB, free: 130.8 MB / 0.9636 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002822/10.38, allocations: 1.317 MB / 4.103 GB, free: 130.7 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.559e-06/10.38, allocations: 0 / 4.103 GB, free: 130.7 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.514e-06/10.38, allocations: 3.969 kB / 4.103 GB, free: 130.7 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00117/10.38, allocations: 255.1 kB / 4.104 GB, free: 130.7 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.334e-06/10.38, allocations: 7.062 kB / 4.104 GB, free: 130.7 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001313/10.38, allocations: 199.5 kB / 4.104 GB, free: 130.7 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.091e-05/10.39, allocations: 38.41 kB / 4.104 GB, free: 130.7 MB / 0.9636 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 () * Number of clocked 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.0007467/10.39, allocations: 370.5 kB / 4.104 GB, free: 130.5 MB / 0.9636 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001972/10.39, allocations: 105.8 kB / 4.104 GB, free: 130.5 MB / 0.9636 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003152/10.39, allocations: 1.43 MB / 4.106 GB, free: 130.4 MB / 0.9636 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.079e-05/10.39, allocations: 8.719 kB / 4.106 GB, free: 130.4 MB / 0.9636 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.246e-06/10.39, allocations: 0 / 4.106 GB, free: 130.4 MB / 0.9636 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.009e-05/10.39, allocations: 7.156 kB / 4.106 GB, free: 130.4 MB / 0.9636 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005267/10.39, allocations: 2.889 MB / 4.109 GB, free: 129.9 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.261e-06/10.39, allocations: 2.906 kB / 4.109 GB, free: 129.9 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001215/10.4, allocations: 249.3 kB / 4.109 GB, free: 129.9 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.614e-05/10.4, allocations: 7.719 kB / 4.109 GB, free: 129.9 MB / 0.9636 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.578e-05/10.4, allocations: 29.59 kB / 4.109 GB, free: 129.9 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004688/10.4, allocations: 1.193 MB / 4.11 GB, free: 128.7 MB / 0.9636 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.698e-06/10.4, allocations: 4.781 kB / 4.11 GB, free: 128.7 MB / 0.9636 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003136/10.4, allocations: 1.709 MB / 4.112 GB, free: 128.2 MB / 0.9636 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006901/10.4, allocations: 306.8 kB / 4.112 GB, free: 128 MB / 0.9636 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001355/10.4, allocations: 19.91 kB / 4.112 GB, free: 128 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001221/10.4, allocations: 167.6 kB / 4.112 GB, free: 128 MB / 0.9636 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001502/10.4, allocations: 60.42 kB / 4.112 GB, free: 128 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.516e-05/10.4, allocations: 40.27 kB / 4.112 GB, free: 128 MB / 0.9636 GB Notification: Performance of sorting global known variables: time 0.0007857/10.4, allocations: 0.5587 MB / 4.113 GB, free: 127.9 MB / 0.9636 GB Notification: Performance of sort global known variables: time 5.81e-07/10.4, allocations: 0 / 4.113 GB, free: 127.9 MB / 0.9636 GB Notification: Performance of remove unused functions: time 0.002524/10.41, allocations: 0.76 MB / 4.114 GB, free: 127.8 MB / 0.9636 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 () * Number of clocked 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.007185/10.41, allocations: 5.544 MB / 4.119 GB, free: 125 MB / 0.9636 GB Notification: Performance of simCode: created initialization part: time 0.004816/10.42, allocations: 2.109 MB / 4.121 GB, free: 124.8 MB / 0.9636 GB Notification: Performance of simCode: created event and clocks part: time 1.255e-05/10.42, allocations: 4.469 kB / 4.121 GB, free: 124.8 MB / 0.9636 GB Notification: Performance of simCode: created simulation system equations: time 0.001544/10.42, allocations: 0.6944 MB / 4.122 GB, free: 124.8 MB / 0.9636 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002403/10.42, allocations: 0.5008 MB / 4.122 GB, free: 124.8 MB / 0.9636 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005548/10.43, allocations: 3.622 MB / 4.126 GB, free: 122.8 MB / 0.9636 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005287/10.43, allocations: 1.118 MB / 4.127 GB, free: 122.1 MB / 0.9636 GB Notification: Performance of simCode: alias equations: time 0.001667/10.43, allocations: 397.4 kB / 4.127 GB, free: 122.1 MB / 0.9636 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005915/10.43, allocations: 389.2 kB / 4.128 GB, free: 122.1 MB / 0.9636 GB Notification: Performance of SimCode: time 1.021e-06/10.43, allocations: 0 / 4.128 GB, free: 122.1 MB / 0.9636 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1014/10.53, allocations: 61.89 MB / 4.188 GB, free: 102.3 MB / 0.9636 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001847/10.53, allocations: 280.7 kB / 4.188 GB, free: 102 MB / 0.9636 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.445/14.98, allocations: 4 kB / 4.188 GB, free: 101.9 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)