Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IBPSA_latest_IBPSA.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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo", uses=false) Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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(IBPSA.Fluid.MassExchangers.Examples.ConstantEffectiveness,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_MassExchangers_Examples_ConstantEffectiveness",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Fluid.MassExchangers.Examples.ConstantEffectiveness,fileNamePrefix="IBPSA_latest_IBPSA_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.000678/0.000678, allocations: 88.17 kB / 15.7 MB, free: 460 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00077/0.0007702, allocations: 181.5 kB / 16.59 MB, free: 6.504 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.169/1.169, allocations: 223.2 MB / 240.6 MB, free: 5.43 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.612/0.612, allocations: 113.7 MB / 405.4 MB, free: 4.59 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002612/0.0002612, allocations: 12.92 kB / 493.1 MB, free: 8.578 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1175/0.1178, allocations: 77.11 MB / 0.5569 GB, free: 11.67 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.MassExchangers.Examples.ConstantEffectiveness): time 0.3914/0.5092, allocations: 195.1 MB / 0.7475 GB, free: 7.641 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.00892/0.5182, allocations: 6.611 MB / 0.7539 GB, free: 1.016 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001115/0.5193, allocations: 43.69 kB / 0.754 GB, free: 0.9727 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.001377/0.5207, allocations: 0.4928 MB / 0.7544 GB, free: 488 kB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.004431/0.5252, allocations: 1.8 MB / 0.7562 GB, free: 14.67 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.002202/0.5274, allocations: 0.9032 MB / 0.7571 GB, free: 13.79 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.003443/0.5308, allocations: 3.198 MB / 0.7602 GB, free: 10.58 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001105/0.5319, allocations: 0.7959 MB / 0.761 GB, free: 9.77 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00293/0.5349, allocations: 1.529 MB / 0.7625 GB, free: 8.234 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001097/0.536, allocations: 0.8677 MB / 0.7633 GB, free: 7.363 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 0.0001081/0.5361, allocations: 44 kB / 0.7634 GB, free: 7.32 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002784/0.5389, allocations: 1.54 MB / 0.7649 GB, free: 5.777 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.0003035/0.5392, allocations: 342.8 kB / 0.7652 GB, free: 5.441 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.0003027/0.5395, allocations: 277 kB / 0.7655 GB, free: 5.164 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.001698/0.5412, allocations: 1.707 MB / 0.7671 GB, free: 3.453 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 4.499e-06/0.5412, allocations: 0 / 0.7671 GB, free: 3.453 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.432e-06/0.5412, allocations: 4 kB / 0.7671 GB, free: 3.449 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 1.045e-05/0.5413, allocations: 4 kB / 0.7671 GB, free: 3.445 MB / 0.5762 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.003275/0.5445, allocations: 1.603 MB / 0.7687 GB, free: 1.785 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 3.695e-05/0.5446, allocations: 12.03 kB / 0.7687 GB, free: 1.773 MB / 0.5762 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001669/0.5448, allocations: 131.1 kB / 0.7688 GB, free: 1.637 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002601/0.5474, allocations: 0.5915 MB / 0.7694 GB, free: 1.043 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00144/0.5488, allocations: 0.9298 MB / 0.7703 GB, free: 72 kB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005287/0.5494, allocations: 193.8 kB / 0.7705 GB, free: 15.88 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001247/0.5495, allocations: 91.97 kB / 0.7706 GB, free: 15.79 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002298/0.5518, allocations: 1.264 MB / 0.7718 GB, free: 14.52 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.624e-05/0.5518, allocations: 0 / 0.7718 GB, free: 14.52 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.872e-05/0.5519, allocations: 32 kB / 0.7719 GB, free: 14.49 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.885e-05/0.552, allocations: 49.98 kB / 0.7719 GB, free: 14.44 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003197/0.5552, allocations: 1.605 MB / 0.7735 GB, free: 12.83 MB / 0.5919 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.005532/0.5607, allocations: 4.088 MB / 0.7775 GB, free: 8.473 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002177/0.5629, allocations: 1.049 MB / 0.7785 GB, free: 7.414 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001286/0.5642, allocations: 0.7018 MB / 0.7792 GB, free: 6.711 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009385/0.5652, allocations: 0.636 MB / 0.7798 GB, free: 5.965 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.786e-05/0.5652, allocations: 43.17 kB / 0.7798 GB, free: 5.914 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=76): time 2.224e-06/0.5652, allocations: 0 / 0.7798 GB, free: 5.914 MB / 0.5919 GB Notification: Performance of matching and sorting (n=76): time 0.004138/0.5694, allocations: 1.914 MB / 0.7817 GB, free: 3.992 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.252e-05/0.5694, allocations: 64.05 kB / 0.7818 GB, free: 3.918 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008649/0.5703, allocations: 0.8076 MB / 0.7826 GB, free: 3.086 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 8.328e-05/0.5704, allocations: 49.64 kB / 0.7826 GB, free: 3.031 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003009/0.5707, allocations: 444.5 kB / 0.783 GB, free: 2.59 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001873/0.5709, allocations: 264.1 kB / 0.7833 GB, free: 2.328 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.358e-05/0.5709, allocations: 12 kB / 0.7833 GB, free: 2.316 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0001025/0.571, allocations: 330 kB / 0.7836 GB, free: 1.988 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001203/0.5722, allocations: 0.564 MB / 0.7842 GB, free: 1.422 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001262/0.5735, allocations: 0.6863 MB / 0.7848 GB, free: 0.7109 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001237/0.5748, allocations: 0.6138 MB / 0.7854 GB, free: 92 kB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.845e-06/0.5748, allocations: 0 / 0.7854 GB, free: 92 kB / 0.5919 GB Notification: Performance of matching and sorting (n=84) (initialization): time 0.002746/0.5775, allocations: 1.396 MB / 0.7868 GB, free: 14.68 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 8.669e-05/0.5776, allocations: 151.9 kB / 0.7869 GB, free: 14.51 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.172e-06/0.5776, allocations: 0 / 0.7869 GB, free: 14.51 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.706e-05/0.5777, allocations: 7.984 kB / 0.7869 GB, free: 14.5 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001324/0.579, allocations: 276.4 kB / 0.7872 GB, free: 14.23 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006075/0.5796, allocations: 1.203 MB / 0.7884 GB, free: 12.98 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001013/0.5806, allocations: 191.3 kB / 0.7886 GB, free: 12.79 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.532e-05/0.5807, allocations: 31.98 kB / 0.7886 GB, free: 12.76 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 8.366e-06/0.5807, allocations: 4 kB / 0.7886 GB, free: 12.76 MB / 0.6075 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002651/0.5834, allocations: 1.301 MB / 0.7899 GB, free: 11.45 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.587e-06/0.5834, allocations: 0 / 0.7899 GB, free: 11.45 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.312e-06/0.5834, allocations: 4 kB / 0.7899 GB, free: 11.45 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001027/0.5845, allocations: 251.8 kB / 0.7901 GB, free: 11.2 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.292e-06/0.5845, allocations: 4 kB / 0.7901 GB, free: 11.2 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009528/0.5854, allocations: 191.2 kB / 0.7903 GB, free: 11.01 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.378e-05/0.5855, allocations: 35.97 kB / 0.7903 GB, free: 10.97 MB / 0.6075 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * 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 (83): * Single equations (assignments): 80 * 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.000466/0.586, allocations: 368.9 kB / 0.7907 GB, free: 10.6 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000163/0.5862, allocations: 106.7 kB / 0.7908 GB, free: 10.5 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002962/0.5891, allocations: 1.434 MB / 0.7922 GB, free: 9.055 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.306e-06/0.5892, allocations: 7.984 kB / 0.7922 GB, free: 9.047 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.963e-06/0.5892, allocations: 8 kB / 0.7922 GB, free: 9.039 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.855e-06/0.5892, allocations: 3.984 kB / 0.7922 GB, free: 9.035 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004767/0.5939, allocations: 2.932 MB / 0.7951 GB, free: 6.008 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.011e-06/0.594, allocations: 0 / 0.7951 GB, free: 6.008 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001078/0.5951, allocations: 260.1 kB / 0.7953 GB, free: 5.754 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.215e-05/0.5951, allocations: 8 kB / 0.7953 GB, free: 5.746 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.068e-05/0.5951, allocations: 19.98 kB / 0.7953 GB, free: 5.727 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004966/0.5957, allocations: 1.192 MB / 0.7965 GB, free: 4.488 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.781e-06/0.5957, allocations: 4 kB / 0.7965 GB, free: 4.484 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002743/0.5984, allocations: 1.537 MB / 0.798 GB, free: 2.887 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004449/0.5989, allocations: 315.5 kB / 0.7983 GB, free: 2.559 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001399/0.599, allocations: 16 kB / 0.7983 GB, free: 2.543 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001061/0.6001, allocations: 163.7 kB / 0.7985 GB, free: 2.383 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000111/0.6002, allocations: 64.44 kB / 0.7985 GB, free: 2.32 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.717e-05/0.6003, allocations: 35.91 kB / 0.7986 GB, free: 2.285 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.0006537/0.601, allocations: 0.5622 MB / 0.7991 GB, free: 1.711 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.4e-07/0.601, allocations: 0 / 0.7991 GB, free: 1.711 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.001237/0.6022, allocations: 0.5341 MB / 0.7996 GB, free: 1.176 MB / 0.6075 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.003429/0.6056, allocations: 2.255 MB / 0.8018 GB, free: 14.87 MB / 0.6231 GB Notification: Performance of simCode: created initialization part: time 0.0045/0.6102, allocations: 2.127 MB / 0.8039 GB, free: 12.71 MB / 0.6231 GB Notification: Performance of simCode: created event and clocks part: time 5.27e-06/0.6102, allocations: 0 / 0.8039 GB, free: 12.71 MB / 0.6231 GB Notification: Performance of simCode: created simulation system equations: time 0.001462/0.6116, allocations: 0.7066 MB / 0.8046 GB, free: 12.01 MB / 0.6231 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002351/0.614, allocations: 0.5264 MB / 0.8051 GB, free: 11.5 MB / 0.6231 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01276/0.6268, allocations: 6.927 MB / 0.8119 GB, free: 4.328 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006213/0.6274, allocations: 1.098 MB / 0.813 GB, free: 3.203 MB / 0.6231 GB Notification: Performance of simCode: alias equations: time 0.001569/0.629, allocations: 391.5 kB / 0.8133 GB, free: 2.816 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005696/0.6296, allocations: 391.3 kB / 0.8137 GB, free: 2.434 MB / 0.6231 GB Notification: Performance of SimCode: time 4.61e-07/0.6296, allocations: 0 / 0.8137 GB, free: 2.434 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2619/0.8915, allocations: 28.97 MB / 0.842 GB, free: 210.3 MB / 0.6231 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001376/0.8917, allocations: 260 kB / 0.8423 GB, free: 209.9 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.146/3.038, allocations: 0 / 0.8423 GB, free: 209.9 MB / 0.6231 GB (rm -f IBPSA_latest_IBPSA.Fluid.MassExchangers.Examples.ConstantEffectiveness.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.MassExchangers.Examples.ConstantEffectiveness.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.MassExchangers.Examples.ConstantEffectiveness.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.MassExchangers.Examples.ConstantEffectiveness.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Fluid_MassExchangers_Examples_ConstantEffectiveness_fmu --startTime=0 --stopTime=360 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_Fluid_MassExchangers_Examples_ConstantEffectiveness.fmu > IBPSA_latest_IBPSA.Fluid.MassExchangers.Examples.ConstantEffectiveness.pipe 2>&1) Environment - environmentSimulation: