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.0009102/0.0009102, allocations: 99 kB / 15.05 MB, free: 1.105 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.0008866/0.0008866, allocations: 177.3 kB / 15.94 MB, free: 228 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.474/1.474, allocations: 205.4 MB / 222.1 MB, free: 5.633 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.639/1.639, allocations: 292.6 MB / 0.5497 GB, free: 14.64 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.0008653/0.0008654, allocations: 17.02 kB / 0.6737 GB, free: 26.14 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2967/0.2976, allocations: 116.3 MB / 0.7872 GB, free: 11.9 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MassExchangers.Examples.ConstantEffectiveness): time 0.8609/1.159, allocations: 176.7 MB / 0.9597 GB, free: 5.062 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.01294/1.172, allocations: 6.886 MB / 0.9665 GB, free: 4.957 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002792/1.175, allocations: 36.34 kB / 0.9665 GB, free: 4.957 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.004394/1.179, allocations: 0.7212 MB / 0.9672 GB, free: 4.957 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.01144/1.19, allocations: 2.117 MB / 0.9693 GB, free: 4.93 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.004531/1.195, allocations: 1.14 MB / 0.9704 GB, free: 4.898 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.004598/1.2, allocations: 1.615 MB / 0.972 GB, free: 4.887 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001783/1.201, allocations: 0.824 MB / 0.9728 GB, free: 4.793 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004352/1.206, allocations: 1.309 MB / 0.974 GB, free: 4.785 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001483/1.207, allocations: 0.6205 MB / 0.9746 GB, free: 4.781 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 0.0001401/1.207, allocations: 47.41 kB / 0.9747 GB, free: 4.781 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003842/1.211, allocations: 1.327 MB / 0.976 GB, free: 4.781 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 0.0003644/1.212, allocations: 314.7 kB / 0.9763 GB, free: 4.781 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.000714/1.212, allocations: 271.8 kB / 0.9765 GB, free: 20.75 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.002196/1.215, allocations: 1.599 MB / 0.9781 GB, free: 20.62 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 3.827e-06/1.215, allocations: 0 / 0.9781 GB, free: 20.62 MB / 0.7325 GB Notification: Performance of FrontEnd: time 1.973e-06/1.215, allocations: 0 / 0.9781 GB, free: 20.62 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 2.037e-05/1.215, allocations: 0 / 0.9781 GB, free: 20.62 MB / 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.004079/1.219, allocations: 1.58 MB / 0.9797 GB, free: 19.76 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 5.821e-05/1.219, allocations: 9.125 kB / 0.9797 GB, free: 19.76 MB / 0.7325 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002045/1.219, allocations: 133.6 kB / 0.9798 GB, free: 19.72 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003114/1.222, allocations: 0.5948 MB / 0.9804 GB, free: 19.62 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002004/1.224, allocations: 0.9236 MB / 0.9813 GB, free: 19.31 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006303/1.225, allocations: 200.3 kB / 0.9815 GB, free: 19.27 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001507/1.225, allocations: 82.34 kB / 0.9815 GB, free: 19.27 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002703/1.228, allocations: 1.257 MB / 0.9828 GB, free: 18.93 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.984e-05/1.228, allocations: 0 / 0.9828 GB, free: 18.93 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001159/1.228, allocations: 39.75 kB / 0.9828 GB, free: 18.93 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.064e-05/1.228, allocations: 48.97 kB / 0.9829 GB, free: 18.92 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003611/1.231, allocations: 1.613 MB / 0.9844 GB, free: 18.61 MB / 0.7325 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.006675/1.238, allocations: 4.085 MB / 0.9884 GB, free: 16.27 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002462/1.241, allocations: 1.069 MB / 0.9895 GB, free: 16.05 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007459/1.241, allocations: 296 kB / 0.9897 GB, free: 15.82 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.379e-05/1.241, allocations: 45.44 kB / 0.9898 GB, free: 15.78 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=76): time 3.837e-06/1.241, allocations: 0 / 0.9898 GB, free: 15.78 MB / 0.7325 GB Notification: Performance of matching and sorting (n=76): time 0.004681/1.246, allocations: 1.91 MB / 0.9917 GB, free: 15.34 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.427e-05/1.246, allocations: 59.91 kB / 0.9917 GB, free: 15.27 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009557/1.247, allocations: 0.8079 MB / 0.9925 GB, free: 15 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 0.0001019/1.247, allocations: 47.45 kB / 0.9925 GB, free: 14.97 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003028/1.248, allocations: 449.7 kB / 0.993 GB, free: 14.75 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002017/1.248, allocations: 257.8 kB / 0.9932 GB, free: 14.57 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.283e-05/1.248, allocations: 12.84 kB / 0.9932 GB, free: 14.57 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001385/1.248, allocations: 338.8 kB / 0.9936 GB, free: 14.25 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001321/1.249, allocations: 0.5626 MB / 0.9941 GB, free: 14.13 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001386/1.251, allocations: 0.6934 MB / 0.9948 GB, free: 13.9 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001364/1.252, allocations: 0.6275 MB / 0.9954 GB, free: 13.75 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.787e-06/1.252, allocations: 0 / 0.9954 GB, free: 13.75 MB / 0.7325 GB Notification: Performance of matching and sorting (n=87) (initialization): time 0.003084/1.255, allocations: 1.424 MB / 0.9968 GB, free: 13.39 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 0.0003014/1.256, allocations: 0.5628 MB / 0.9973 GB, free: 12.8 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.002e-05/1.256, allocations: 4.688 kB / 0.9973 GB, free: 12.8 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.274e-05/1.256, allocations: 2.781 kB / 0.9973 GB, free: 12.8 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001526/1.257, allocations: 281.9 kB / 0.9976 GB, free: 12.74 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008375/1.258, allocations: 1.193 MB / 0.9988 GB, free: 11.55 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001374/1.259, allocations: 194.6 kB / 0.999 GB, free: 11.47 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.639e-05/1.259, allocations: 34.77 kB / 0.999 GB, free: 11.47 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 1.095e-05/1.259, allocations: 2.812 kB / 0.999 GB, free: 11.47 MB / 0.7325 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003057/1.263, allocations: 1.326 MB / 1 GB, free: 11.19 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.43e-06/1.263, allocations: 4.062 kB / 1 GB, free: 11.19 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.477e-06/1.263, allocations: 4.625 kB / 1 GB, free: 11.19 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001201/1.264, allocations: 255.4 kB / 1.001 GB, free: 11.13 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.578e-06/1.264, allocations: 5.656 kB / 1.001 GB, free: 11.13 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001375/1.265, allocations: 194.4 kB / 1.001 GB, free: 11.05 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.167e-05/1.265, allocations: 33.83 kB / 1.001 GB, free: 11.04 MB / 0.7325 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * 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.0008026/1.266, allocations: 376.3 kB / 1.001 GB, free: 10.84 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002169/1.266, allocations: 103.3 kB / 1.001 GB, free: 10.79 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003397/1.27, allocations: 1.428 MB / 1.003 GB, free: 10.42 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.648e-06/1.27, allocations: 8.562 kB / 1.003 GB, free: 10.42 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.943e-06/1.27, allocations: 0 / 1.003 GB, free: 10.42 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.648e-06/1.27, allocations: 3.984 kB / 1.003 GB, free: 10.42 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005903/1.276, allocations: 2.986 MB / 1.006 GB, free: 9.312 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.484e-05/1.276, allocations: 9.719 kB / 1.006 GB, free: 9.309 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00124/1.277, allocations: 253.8 kB / 1.006 GB, free: 9.254 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.57e-05/1.277, allocations: 5.812 kB / 1.006 GB, free: 9.254 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.082e-05/1.277, allocations: 26.75 kB / 1.006 GB, free: 9.246 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006815/1.278, allocations: 1.196 MB / 1.007 GB, free: 8.062 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.865e-06/1.278, allocations: 8.641 kB / 1.007 GB, free: 8.059 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003643/1.281, allocations: 1.752 MB / 1.009 GB, free: 7.184 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000718/1.282, allocations: 311 kB / 1.009 GB, free: 6.984 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001491/1.282, allocations: 23.28 kB / 1.009 GB, free: 6.98 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001212/1.284, allocations: 167.1 kB / 1.009 GB, free: 6.926 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000144/1.284, allocations: 57.2 kB / 1.009 GB, free: 6.906 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.443e-05/1.284, allocations: 37.62 kB / 1.009 GB, free: 6.898 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.00083/1.285, allocations: 0.5663 MB / 1.01 GB, free: 6.699 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.71e-07/1.285, allocations: 0 / 1.01 GB, free: 6.699 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.001652/1.286, allocations: 0.5316 MB / 1.01 GB, free: 6.637 MB / 0.7325 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 18 * 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.005142/1.291, allocations: 3.626 MB / 1.014 GB, free: 4.059 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.005847/1.297, allocations: 2.138 MB / 1.016 GB, free: 3.543 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 1.391e-05/1.297, allocations: 2.812 kB / 1.016 GB, free: 3.543 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.001899/1.299, allocations: 0.7101 MB / 1.017 GB, free: 3.414 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002901/1.302, allocations: 0.4973 MB / 1.017 GB, free: 3.238 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006075/1.308, allocations: 3.782 MB / 1.021 GB, free: 15.75 MB / 0.7481 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006797/1.309, allocations: 1.119 MB / 1.022 GB, free: 14.62 MB / 0.7481 GB Notification: Performance of simCode: alias equations: time 0.001667/1.311, allocations: 391.5 kB / 1.022 GB, free: 14.24 MB / 0.7481 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005897/1.311, allocations: 387 kB / 1.023 GB, free: 14.13 MB / 0.7481 GB Notification: Performance of SimCode: time 1.423e-06/1.311, allocations: 0 / 1.023 GB, free: 14.13 MB / 0.7481 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06588/1.377, allocations: 28.23 MB / 1.05 GB, free: 2.422 MB / 0.7637 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002106/1.377, allocations: 255.3 kB / 1.051 GB, free: 2.07 MB / 0.7637 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.533/3.91, allocations: 3.938 kB / 1.051 GB, free: 2.066 MB / 0.7637 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/linux/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) Environment - environmentSimulation: