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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+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/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) 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) 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 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008604/0.0008603, allocations: 97.72 kB / 15.36 MB, free: 0.7344 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00497/0.00497, allocations: 170.5 kB / 16.27 MB, free: 6.648 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.182/1.182, allocations: 205.4 MB / 222.4 MB, free: 5.801 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.565/1.565, allocations: 292.7 MB / 0.5502 GB, free: 14.44 MB / 462.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0005532/0.0005532, allocations: 13 kB / 0.6744 GB, free: 26 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1724/0.173, allocations: 116.3 MB / 0.788 GB, free: 11.49 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MassExchangers.Validation.ConstantEffectivenessZeroFlowBothStreams): time 0.508/0.6811, allocations: 209.2 MB / 0.9923 GB, free: 13.17 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.008856/0.6899, allocations: 6.973 MB / 0.9991 GB, free: 9.941 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001035/0.691, allocations: 37.22 kB / 0.9992 GB, free: 9.926 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 0.001584/0.6926, allocations: 0.6583 MB / 0.9998 GB, free: 9.438 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 0.005241/0.6979, allocations: 2.33 MB / 1.002 GB, free: 8.027 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.002418/0.7003, allocations: 1.078 MB / 1.003 GB, free: 7.367 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 0.00319/0.7035, allocations: 3.726 MB / 1.007 GB, free: 5.461 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001077/0.7046, allocations: 0.8904 MB / 1.008 GB, free: 4.953 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003111/0.7077, allocations: 1.754 MB / 1.009 GB, free: 4.137 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001459/0.7092, allocations: 0.9156 MB / 1.01 GB, free: 3.758 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 0.000101/0.7093, allocations: 47.12 kB / 1.01 GB, free: 3.758 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003816/0.7131, allocations: 2.793 MB / 1.013 GB, free: 2.414 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 0.0003045/0.7134, allocations: 351 kB / 1.013 GB, free: 2.195 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 0.0005773/0.714, allocations: 0.6269 MB / 1.014 GB, free: 1.789 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.002457/0.7165, allocations: 2.512 MB / 1.016 GB, free: 356 kB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 3.357e-06/0.7165, allocations: 2.656 kB / 1.016 GB, free: 356 kB / 0.7325 GB Notification: Performance of FrontEnd: time 1.302e-06/0.7165, allocations: 0 / 1.016 GB, free: 356 kB / 0.7325 GB Notification: Performance of Transformations before backend: time 1.125e-05/0.7165, allocations: 0 / 1.016 GB, free: 356 kB / 0.7325 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.00366/0.7202, allocations: 1.6 MB / 1.018 GB, free: 15.15 MB / 0.7481 GB Notification: Performance of prepare preOptimizeDAE: time 3.249e-05/0.7202, allocations: 7.531 kB / 1.018 GB, free: 15.15 MB / 0.7481 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001642/0.7204, allocations: 138 kB / 1.018 GB, free: 15.04 MB / 0.7481 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002911/0.7233, allocations: 0.5927 MB / 1.019 GB, free: 14.79 MB / 0.7481 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001469/0.7248, allocations: 0.9599 MB / 1.02 GB, free: 14.04 MB / 0.7481 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006194/0.7254, allocations: 194.7 kB / 1.02 GB, free: 13.97 MB / 0.7481 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001359/0.7255, allocations: 84.3 kB / 1.02 GB, free: 13.95 MB / 0.7481 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002475/0.728, allocations: 1.273 MB / 1.021 GB, free: 13.25 MB / 0.7481 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.009e-05/0.7281, allocations: 0 / 1.021 GB, free: 13.25 MB / 0.7481 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001029/0.7282, allocations: 35.92 kB / 1.021 GB, free: 13.23 MB / 0.7481 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.598e-05/0.7282, allocations: 49.55 kB / 1.021 GB, free: 13.21 MB / 0.7481 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003461/0.7317, allocations: 1.617 MB / 1.023 GB, free: 12.45 MB / 0.7481 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.00556/0.7373, allocations: 4.089 MB / 1.027 GB, free: 9.172 MB / 0.7481 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002421/0.7397, allocations: 1.054 MB / 1.028 GB, free: 8.684 MB / 0.7481 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001453/0.7411, allocations: 0.7015 MB / 1.029 GB, free: 8.355 MB / 0.7481 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001007/0.7422, allocations: 0.6378 MB / 1.029 GB, free: 7.73 MB / 0.7481 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.441e-05/0.7422, allocations: 42.12 kB / 1.029 GB, free: 7.684 MB / 0.7481 GB Notification: Performance of pre-optimization done (n=76): time 1.834e-06/0.7422, allocations: 0 / 1.029 GB, free: 7.684 MB / 0.7481 GB Notification: Performance of matching and sorting (n=76): time 0.004596/0.7468, allocations: 1.922 MB / 1.031 GB, free: 6.805 MB / 0.7481 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.934e-05/0.7469, allocations: 60.09 kB / 1.031 GB, free: 6.742 MB / 0.7481 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008374/0.7477, allocations: 0.8193 MB / 1.032 GB, free: 6.266 MB / 0.7481 GB Notification: Performance of collectPreVariables (initialization): time 8.451e-05/0.7478, allocations: 49.67 kB / 1.032 GB, free: 6.219 MB / 0.7481 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003097/0.7481, allocations: 443.2 kB / 1.032 GB, free: 5.836 MB / 0.7481 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001876/0.7483, allocations: 255 kB / 1.033 GB, free: 5.617 MB / 0.7481 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001115/0.7484, allocations: 72.48 kB / 1.033 GB, free: 5.562 MB / 0.7481 GB Notification: Performance of setup shared object (initialization): time 0.000105/0.7485, allocations: 333.9 kB / 1.033 GB, free: 5.238 MB / 0.7481 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001387/0.7499, allocations: 0.5682 MB / 1.034 GB, free: 4.977 MB / 0.7481 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001482/0.7514, allocations: 0.7015 MB / 1.034 GB, free: 4.586 MB / 0.7481 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002759/0.7542, allocations: 1.215 MB / 1.035 GB, free: 3.98 MB / 0.7481 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.504e-06/0.7542, allocations: 0 / 1.035 GB, free: 3.98 MB / 0.7481 GB Notification: Performance of matching and sorting (n=87) (initialization): time 0.003143/0.7574, allocations: 1.44 MB / 1.037 GB, free: 3.289 MB / 0.7481 GB Notification: Performance of prepare postOptimizeDAE: time 8.634e-05/0.7575, allocations: 152.9 kB / 1.037 GB, free: 3.125 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.971e-06/0.7575, allocations: 3.219 kB / 1.037 GB, free: 3.125 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.294e-05/0.7575, allocations: 2.844 kB / 1.037 GB, free: 3.125 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001468/0.759, allocations: 281.3 kB / 1.037 GB, free: 3.043 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006205/0.7596, allocations: 1.195 MB / 1.038 GB, free: 1.836 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001196/0.7608, allocations: 198.7 kB / 1.039 GB, free: 1.652 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.113e-05/0.7609, allocations: 27.98 kB / 1.039 GB, free: 1.625 MB / 0.7481 GB Notification: Performance of prepare postOptimizeDAE: time 7.274e-06/0.7609, allocations: 7.938 kB / 1.039 GB, free: 1.617 MB / 0.7481 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003157/0.7641, allocations: 1.325 MB / 1.04 GB, free: 292 kB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.316e-06/0.7641, allocations: 0 / 1.04 GB, free: 292 kB / 0.7481 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.171e-06/0.7641, allocations: 4 kB / 1.04 GB, free: 288 kB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001178/0.7653, allocations: 259.7 kB / 1.04 GB, free: 28 kB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.173e-06/0.7653, allocations: 7.984 kB / 1.04 GB, free: 20 kB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001084/0.7664, allocations: 187.2 kB / 1.04 GB, free: 15.84 MB / 0.7637 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.521e-05/0.7665, allocations: 39.98 kB / 1.04 GB, free: 15.8 MB / 0.7637 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.i2_w,hex.i1_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 (not torn): 2 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 2 systems {1, 1} * Without analytic Jacobian (size): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0004851/0.767, allocations: 372.9 kB / 1.041 GB, free: 15.42 MB / 0.7637 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001653/0.7671, allocations: 110.6 kB / 1.041 GB, free: 15.31 MB / 0.7637 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003429/0.7706, allocations: 1.429 MB / 1.042 GB, free: 13.88 MB / 0.7637 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.704e-06/0.7706, allocations: 11.94 kB / 1.042 GB, free: 13.86 MB / 0.7637 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.889e-06/0.7706, allocations: 0 / 1.042 GB, free: 13.86 MB / 0.7637 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.548e-06/0.7706, allocations: 7.984 kB / 1.042 GB, free: 13.86 MB / 0.7637 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005162/0.7758, allocations: 2.928 MB / 1.045 GB, free: 10.85 MB / 0.7637 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.322e-06/0.7758, allocations: 4 kB / 1.045 GB, free: 10.84 MB / 0.7637 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001204/0.777, allocations: 252.1 kB / 1.045 GB, free: 10.6 MB / 0.7637 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.616e-06/0.777, allocations: 7.938 kB / 1.045 GB, free: 10.59 MB / 0.7637 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.169e-05/0.7771, allocations: 27.98 kB / 1.045 GB, free: 10.56 MB / 0.7637 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.000528/0.7776, allocations: 1.195 MB / 1.047 GB, free: 9.32 MB / 0.7637 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.559e-06/0.7776, allocations: 4 kB / 1.047 GB, free: 9.316 MB / 0.7637 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003182/0.7808, allocations: 1.537 MB / 1.048 GB, free: 7.711 MB / 0.7637 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000393/0.7812, allocations: 311.5 kB / 1.048 GB, free: 7.387 MB / 0.7637 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001277/0.7814, allocations: 20 kB / 1.048 GB, free: 7.367 MB / 0.7637 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001194/0.7826, allocations: 167.6 kB / 1.049 GB, free: 7.203 MB / 0.7637 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000122/0.7827, allocations: 60.42 kB / 1.049 GB, free: 7.145 MB / 0.7637 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.822e-05/0.7828, allocations: 39.97 kB / 1.049 GB, free: 7.105 MB / 0.7637 GB Notification: Performance of sorting global known variables: time 0.0006598/0.7835, allocations: 0.5622 MB / 1.049 GB, free: 6.531 MB / 0.7637 GB Notification: Performance of sort global known variables: time 1.1e-07/0.7835, allocations: 0 / 1.049 GB, free: 6.531 MB / 0.7637 GB Notification: Performance of remove unused functions: time 0.001185/0.7847, allocations: 0.538 MB / 1.05 GB, free: 5.992 MB / 0.7637 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 (not torn): 2 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 2 systems {1, 1} * Without analytic Jacobian (size): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.003861/0.7885, allocations: 2.261 MB / 1.052 GB, free: 3.68 MB / 0.7637 GB Notification: Performance of simCode: created initialization part: time 0.005181/0.7937, allocations: 2.155 MB / 1.054 GB, free: 1.504 MB / 0.7637 GB Notification: Performance of simCode: created event and clocks part: time 3.326e-06/0.7937, allocations: 4 kB / 1.054 GB, free: 1.5 MB / 0.7637 GB Notification: Performance of simCode: created simulation system equations: time 0.001698/0.7954, allocations: 0.7027 MB / 1.055 GB, free: 0.8008 MB / 0.7637 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002857/0.7983, allocations: 0.4996 MB / 1.055 GB, free: 312 kB / 0.7637 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01718/0.8155, allocations: 9.692 MB / 1.065 GB, free: 6.273 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006295/0.8161, allocations: 1.098 MB / 1.066 GB, free: 5.141 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 0.001505/0.8177, allocations: 387.5 kB / 1.066 GB, free: 4.758 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005754/0.8182, allocations: 391.3 kB / 1.067 GB, free: 4.375 MB / 0.7794 GB Notification: Performance of SimCode: time 6.11e-07/0.8182, allocations: 0 / 1.067 GB, free: 4.375 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 5.464/6.282, allocations: 27.5 MB / 1.093 GB, free: 9.383 MB / 0.8106 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002917/6.282, allocations: 310.2 kB / 1.094 GB, free: 8.996 MB / 0.8106 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.566/8.848, allocations: 0 / 1.094 GB, free: 8.996 MB / 0.8106 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/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)