Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Fluid.MassExchangers.Examples.ConstantEffectiveness.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.Examples.ConstantEffectiveness,fileNamePrefix="Buildings_8_Buildings_Fluid_MassExchangers_Examples_ConstantEffectiveness",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.MassExchangers.Examples.ConstantEffectiveness,fileNamePrefix="Buildings_8_Buildings_Fluid_MassExchangers_Examples_ConstantEffectiveness",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.0007682/0.0007682, allocations: 98.03 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.004839/0.004839, allocations: 168.9 kB / 16.26 MB, free: 6.656 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.222/1.222, allocations: 205.4 MB / 222.4 MB, free: 5.57 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.547/1.547, allocations: 292.7 MB / 0.5502 GB, free: 14.45 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.0004865/0.0004866, allocations: 19.06 kB / 0.6744 GB, free: 25.82 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1821/0.1826, allocations: 116.3 MB / 0.788 GB, free: 11.5 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MassExchangers.Examples.ConstantEffectiveness): time 0.5443/0.7269, allocations: 209.2 MB / 0.9923 GB, free: 13.18 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.008845/0.7358, allocations: 6.969 MB / 0.9991 GB, free: 9.945 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000693/0.7365, allocations: 35.62 kB / 0.9991 GB, free: 9.93 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 0.001472/0.738, allocations: 0.6617 MB / 0.9998 GB, free: 9.441 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 0.004407/0.7424, allocations: 2.334 MB / 1.002 GB, free: 8.027 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.002101/0.7445, allocations: 1.063 MB / 1.003 GB, free: 7.379 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 0.002925/0.7475, allocations: 3.731 MB / 1.007 GB, free: 5.469 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0009992/0.7485, allocations: 0.8945 MB / 1.008 GB, free: 4.957 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002884/0.7514, allocations: 1.758 MB / 1.009 GB, free: 4.137 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001394/0.7528, allocations: 0.9124 MB / 1.01 GB, free: 3.738 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 9.915e-05/0.7529, allocations: 46.41 kB / 1.01 GB, free: 3.738 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00361/0.7565, allocations: 2.789 MB / 1.013 GB, free: 2.398 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 0.0002906/0.7568, allocations: 347.9 kB / 1.013 GB, free: 2.18 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 0.0005093/0.7573, allocations: 0.6338 MB / 1.014 GB, free: 1.77 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.002292/0.7596, allocations: 2.512 MB / 1.016 GB, free: 336 kB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 2.935e-06/0.7596, allocations: 0 / 1.016 GB, free: 336 kB / 0.7325 GB Notification: Performance of FrontEnd: time 1.262e-06/0.7597, allocations: 2.781 kB / 1.016 GB, free: 336 kB / 0.7325 GB Notification: Performance of Transformations before backend: time 1.06e-05/0.7597, allocations: 0 / 1.016 GB, free: 336 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.003544/0.7632, allocations: 1.603 MB / 1.018 GB, free: 15.13 MB / 0.7481 GB Notification: Performance of prepare preOptimizeDAE: time 3.327e-05/0.7633, allocations: 10.84 kB / 1.018 GB, free: 15.13 MB / 0.7481 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001504/0.7634, allocations: 134.7 kB / 1.018 GB, free: 15.02 MB / 0.7481 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002829/0.7662, allocations: 0.5895 MB / 1.019 GB, free: 14.77 MB / 0.7481 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00141/0.7677, allocations: 0.9576 MB / 1.02 GB, free: 14.02 MB / 0.7481 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006061/0.7683, allocations: 195.1 kB / 1.02 GB, free: 13.95 MB / 0.7481 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001344/0.7684, allocations: 87.44 kB / 1.02 GB, free: 13.93 MB / 0.7481 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002422/0.7709, allocations: 1.271 MB / 1.021 GB, free: 13.24 MB / 0.7481 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.832e-05/0.7709, allocations: 0 / 1.021 GB, free: 13.24 MB / 0.7481 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.713e-05/0.771, allocations: 35.88 kB / 1.021 GB, free: 13.21 MB / 0.7481 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.645e-05/0.771, allocations: 53.41 kB / 1.021 GB, free: 13.19 MB / 0.7481 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003414/0.7745, allocations: 1.616 MB / 1.023 GB, free: 12.43 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.005346/0.7798, allocations: 4.091 MB / 1.027 GB, free: 9.152 MB / 0.7481 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002303/0.7821, allocations: 1.054 MB / 1.028 GB, free: 8.664 MB / 0.7481 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001413/0.7836, allocations: 0.6975 MB / 1.028 GB, free: 8.34 MB / 0.7481 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000968/0.7845, allocations: 0.6392 MB / 1.029 GB, free: 7.715 MB / 0.7481 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.843e-05/0.7846, allocations: 42.56 kB / 1.029 GB, free: 7.668 MB / 0.7481 GB Notification: Performance of pre-optimization done (n=76): time 1.693e-06/0.7846, allocations: 0 / 1.029 GB, free: 7.668 MB / 0.7481 GB Notification: Performance of matching and sorting (n=76): time 0.00448/0.7891, allocations: 1.922 MB / 1.031 GB, free: 6.789 MB / 0.7481 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.18e-05/0.7891, allocations: 58.28 kB / 1.031 GB, free: 6.727 MB / 0.7481 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008237/0.7899, allocations: 0.8248 MB / 1.032 GB, free: 6.246 MB / 0.7481 GB Notification: Performance of collectPreVariables (initialization): time 8.154e-05/0.79, allocations: 43.7 kB / 1.032 GB, free: 6.203 MB / 0.7481 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002967/0.7903, allocations: 441.7 kB / 1.032 GB, free: 5.82 MB / 0.7481 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001878/0.7905, allocations: 264.5 kB / 1.033 GB, free: 5.594 MB / 0.7481 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001049/0.7906, allocations: 63.91 kB / 1.033 GB, free: 5.547 MB / 0.7481 GB Notification: Performance of setup shared object (initialization): time 0.0001024/0.7908, allocations: 333.8 kB / 1.033 GB, free: 5.223 MB / 0.7481 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001353/0.7921, allocations: 0.5664 MB / 1.034 GB, free: 4.961 MB / 0.7481 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001436/0.7936, allocations: 0.7078 MB / 1.034 GB, free: 4.566 MB / 0.7481 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002698/0.7963, allocations: 1.218 MB / 1.035 GB, free: 3.957 MB / 0.7481 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.685e-06/0.7963, allocations: 0 / 1.035 GB, free: 3.957 MB / 0.7481 GB Notification: Performance of matching and sorting (n=87) (initialization): time 0.003107/0.7994, allocations: 1.431 MB / 1.037 GB, free: 3.273 MB / 0.7481 GB Notification: Performance of prepare postOptimizeDAE: time 8.396e-05/0.7995, allocations: 156 kB / 1.037 GB, free: 3.109 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.5e-06/0.7995, allocations: 0 / 1.037 GB, free: 3.109 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.198e-05/0.7995, allocations: 2.938 kB / 1.037 GB, free: 3.109 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001441/0.801, allocations: 284.4 kB / 1.037 GB, free: 3.027 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005911/0.8016, allocations: 1.192 MB / 1.038 GB, free: 1.82 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001106/0.8027, allocations: 201.7 kB / 1.039 GB, free: 1.637 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.132e-05/0.8028, allocations: 34.48 kB / 1.039 GB, free: 1.605 MB / 0.7481 GB Notification: Performance of prepare postOptimizeDAE: time 6.332e-06/0.8028, allocations: 7.938 kB / 1.039 GB, free: 1.598 MB / 0.7481 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003122/0.8059, allocations: 1.325 MB / 1.04 GB, free: 272 kB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.459e-06/0.8059, allocations: 4 kB / 1.04 GB, free: 268 kB / 0.7481 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.759e-06/0.8059, allocations: 4 kB / 1.04 GB, free: 264 kB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001158/0.8071, allocations: 255.7 kB / 1.04 GB, free: 8 kB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.967e-05/0.8071, allocations: 12.03 kB / 1.04 GB, free: 15.99 MB / 0.7637 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001028/0.8082, allocations: 191.2 kB / 1.04 GB, free: 15.81 MB / 0.7637 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.37e-05/0.8082, allocations: 35.98 kB / 1.04 GB, free: 15.77 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.0004157/0.8087, allocations: 368.9 kB / 1.041 GB, free: 15.4 MB / 0.7637 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001544/0.8088, allocations: 110.6 kB / 1.041 GB, free: 15.29 MB / 0.7637 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003376/0.8122, allocations: 1.429 MB / 1.042 GB, free: 13.86 MB / 0.7637 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.172e-06/0.8122, allocations: 4 kB / 1.042 GB, free: 13.85 MB / 0.7637 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.689e-06/0.8122, allocations: 4 kB / 1.042 GB, free: 13.85 MB / 0.7637 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.787e-06/0.8122, allocations: 7.984 kB / 1.042 GB, free: 13.84 MB / 0.7637 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005073/0.8173, allocations: 2.925 MB / 1.045 GB, free: 10.83 MB / 0.7637 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.482e-06/0.8173, allocations: 4 kB / 1.045 GB, free: 10.83 MB / 0.7637 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001159/0.8185, allocations: 256 kB / 1.045 GB, free: 10.58 MB / 0.7637 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.738e-06/0.8185, allocations: 11.94 kB / 1.045 GB, free: 10.57 MB / 0.7637 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.957e-05/0.8186, allocations: 27.98 kB / 1.045 GB, free: 10.54 MB / 0.7637 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004937/0.8191, allocations: 1.184 MB / 1.047 GB, free: 9.309 MB / 0.7637 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.767e-06/0.8191, allocations: 4 kB / 1.047 GB, free: 9.305 MB / 0.7637 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003142/0.8223, allocations: 1.545 MB / 1.048 GB, free: 7.691 MB / 0.7637 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004013/0.8227, allocations: 307.5 kB / 1.048 GB, free: 7.371 MB / 0.7637 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001292/0.8228, allocations: 23.98 kB / 1.048 GB, free: 7.348 MB / 0.7637 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001172/0.824, allocations: 167.6 kB / 1.049 GB, free: 7.184 MB / 0.7637 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001269/0.8241, allocations: 60.42 kB / 1.049 GB, free: 7.125 MB / 0.7637 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.923e-05/0.8242, allocations: 35.97 kB / 1.049 GB, free: 7.09 MB / 0.7637 GB Notification: Performance of sorting global known variables: time 0.0006184/0.8248, allocations: 0.5661 MB / 1.049 GB, free: 6.512 MB / 0.7637 GB Notification: Performance of sort global known variables: time 1.3e-07/0.8248, allocations: 0 / 1.049 GB, free: 6.512 MB / 0.7637 GB Notification: Performance of remove unused functions: time 0.001126/0.826, allocations: 0.538 MB / 1.05 GB, free: 5.973 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.003794/0.8298, allocations: 2.249 MB / 1.052 GB, free: 3.668 MB / 0.7637 GB Notification: Performance of simCode: created initialization part: time 0.005041/0.8348, allocations: 2.157 MB / 1.054 GB, free: 1.492 MB / 0.7637 GB Notification: Performance of simCode: created event and clocks part: time 4.438e-06/0.8348, allocations: 4 kB / 1.054 GB, free: 1.488 MB / 0.7637 GB Notification: Performance of simCode: created simulation system equations: time 0.001648/0.8365, allocations: 0.7027 MB / 1.055 GB, free: 0.7891 MB / 0.7637 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002797/0.8393, allocations: 0.5074 MB / 1.055 GB, free: 292 kB / 0.7637 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01673/0.856, allocations: 9.689 MB / 1.065 GB, free: 6.262 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000582/0.8566, allocations: 1.098 MB / 1.066 GB, free: 5.129 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 0.001445/0.8581, allocations: 395.5 kB / 1.066 GB, free: 4.738 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005931/0.8587, allocations: 395.3 kB / 1.067 GB, free: 4.352 MB / 0.7794 GB Notification: Performance of SimCode: time 5.21e-07/0.8587, allocations: 0 / 1.067 GB, free: 4.352 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 3.722/4.581, allocations: 27.46 MB / 1.093 GB, free: 9.355 MB / 0.8106 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002613/4.581, allocations: 283.1 kB / 1.094 GB, free: 8.973 MB / 0.8106 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.325/8.906, allocations: 0 / 1.094 GB, free: 8.973 MB / 0.8106 GB (rm -f Buildings_8_Buildings.Fluid.MassExchangers.Examples.ConstantEffectiveness.pipe ; mkfifo Buildings_8_Buildings.Fluid.MassExchangers.Examples.ConstantEffectiveness.pipe ; head -c 1048576 < Buildings_8_Buildings.Fluid.MassExchangers.Examples.ConstantEffectiveness.pipe >> ../files/Buildings_8_Buildings.Fluid.MassExchangers.Examples.ConstantEffectiveness.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Fluid_MassExchangers_Examples_ConstantEffectiveness_fmu --startTime=0 --stopTime=360 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Fluid_MassExchangers_Examples_ConstantEffectiveness.fmu > Buildings_8_Buildings.Fluid.MassExchangers.Examples.ConstantEffectiveness.pipe 2>&1)