Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildSysPro_BuildSysPro.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/BuildSysPro 3.5.0-master/package.mo", uses=false) Using package BuildSysPro with version 3.5.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.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(BuildSysPro.IBPSA.Fluid.MassExchangers.Examples.ConstantEffectiveness,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Fluid_MassExchangers_Examples_ConstantEffectiveness",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildSysPro.IBPSA.Fluid.MassExchangers.Examples.ConstantEffectiveness,fileNamePrefix="BuildSysPro_BuildSysPro_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.001491/0.001491, allocations: 99.86 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.001615/0.001615, 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 4.0.0+maint.om/package.mo): time 1.343/1.343, allocations: 223.2 MB / 239.9 MB, free: 5.328 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0-master/package.mo): time 0.9769/0.9769, allocations: 143.3 MB / 434.2 MB, free: 13.78 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003337/0.0003337, allocations: 12 kB / 0.5159 GB, free: 11.29 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1599/0.1602, allocations: 83.42 MB / 0.5974 GB, free: 7.816 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Fluid.MassExchangers.Examples.ConstantEffectiveness): time 0.4701/0.6304, allocations: 176.7 MB / 0.7699 GB, free: 11.34 MB / 0.5919 GB Notification: Performance of NFInst.instExpressions: time 0.01198/0.6424, allocations: 6.984 MB / 0.7768 GB, free: 4.34 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001545/0.644, allocations: 35.75 kB / 0.7768 GB, free: 4.305 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 0.002289/0.6463, allocations: 0.7156 MB / 0.7775 GB, free: 3.586 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.007906/0.6542, allocations: 2.177 MB / 0.7796 GB, free: 1.402 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.00374/0.658, allocations: 1.132 MB / 0.7807 GB, free: 300 kB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.003638/0.6616, allocations: 1.629 MB / 0.7823 GB, free: 14.66 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001474/0.6631, allocations: 0.8425 MB / 0.7831 GB, free: 13.82 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003891/0.667, allocations: 1.312 MB / 0.7844 GB, free: 12.5 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001313/0.6683, allocations: 0.6185 MB / 0.785 GB, free: 11.88 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 0.0001289/0.6685, allocations: 48 kB / 0.7851 GB, free: 11.83 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003611/0.6721, allocations: 1.322 MB / 0.7864 GB, free: 10.51 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 0.0004121/0.6725, allocations: 319 kB / 0.7867 GB, free: 10.2 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.0004191/0.673, allocations: 273 kB / 0.7869 GB, free: 9.922 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.002519/0.6755, allocations: 1.697 MB / 0.7886 GB, free: 8.227 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 4.348e-06/0.6755, allocations: 0 / 0.7886 GB, free: 8.227 MB / 0.6075 GB Notification: Performance of FrontEnd: time 2.876e-06/0.6755, allocations: 3.938 kB / 0.7886 GB, free: 8.223 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 2.197e-05/0.6755, allocations: 0 / 0.7886 GB, free: 8.223 MB / 0.6075 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.004438/0.68, allocations: 1.579 MB / 0.7901 GB, free: 6.59 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 4.144e-05/0.6801, allocations: 12.03 kB / 0.7901 GB, free: 6.578 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001826/0.6802, allocations: 131.8 kB / 0.7903 GB, free: 6.441 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003116/0.6834, allocations: 0.5878 MB / 0.7908 GB, free: 5.852 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002351/0.6857, allocations: 0.9281 MB / 0.7917 GB, free: 4.883 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006694/0.6864, allocations: 205.9 kB / 0.7919 GB, free: 4.68 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000193/0.6866, allocations: 80 kB / 0.792 GB, free: 4.602 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003192/0.6898, allocations: 1.26 MB / 0.7932 GB, free: 3.336 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.24e-05/0.6899, allocations: 3.125 kB / 0.7933 GB, free: 3.336 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001207/0.69, allocations: 36 kB / 0.7933 GB, free: 3.301 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.87e-05/0.6901, allocations: 41.98 kB / 0.7933 GB, free: 3.262 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004005/0.6941, allocations: 1.608 MB / 0.7949 GB, free: 1.648 MB / 0.6075 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.007268/0.7014, allocations: 4.095 MB / 0.7989 GB, free: 13.28 MB / 0.6231 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002643/0.704, allocations: 1.072 MB / 0.7999 GB, free: 12.2 MB / 0.6231 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007701/0.7048, allocations: 286.9 kB / 0.8002 GB, free: 11.88 MB / 0.6231 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.936e-05/0.7049, allocations: 43.22 kB / 0.8003 GB, free: 11.83 MB / 0.6231 GB Notification: Performance of pre-optimization done (n=76): time 2.675e-06/0.7049, allocations: 0 / 0.8003 GB, free: 11.83 MB / 0.6231 GB Notification: Performance of matching and sorting (n=76): time 0.00508/0.71, allocations: 1.906 MB / 0.8021 GB, free: 9.922 MB / 0.6231 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.755e-05/0.7101, allocations: 64 kB / 0.8022 GB, free: 9.844 MB / 0.6231 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00116/0.7112, allocations: 0.8193 MB / 0.803 GB, free: 9 MB / 0.6231 GB Notification: Performance of collectPreVariables (initialization): time 0.0001354/0.7114, allocations: 41.7 kB / 0.803 GB, free: 8.953 MB / 0.6231 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004141/0.7118, allocations: 440.5 kB / 0.8034 GB, free: 8.516 MB / 0.6231 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002655/0.7121, allocations: 256.2 kB / 0.8037 GB, free: 8.262 MB / 0.6231 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.888e-05/0.7121, allocations: 19.94 kB / 0.8037 GB, free: 8.242 MB / 0.6231 GB Notification: Performance of setup shared object (initialization): time 0.0001486/0.7123, allocations: 334 kB / 0.804 GB, free: 7.91 MB / 0.6231 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001556/0.7139, allocations: 0.5602 MB / 0.8046 GB, free: 7.352 MB / 0.6231 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001574/0.7154, allocations: 0.6958 MB / 0.8052 GB, free: 6.621 MB / 0.6231 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001538/0.717, allocations: 0.6216 MB / 0.8059 GB, free: 5.992 MB / 0.6231 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.729e-06/0.717, allocations: 0 / 0.8059 GB, free: 5.992 MB / 0.6231 GB Notification: Performance of matching and sorting (n=87) (initialization): time 0.003563/0.7206, allocations: 1.427 MB / 0.8072 GB, free: 4.551 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 0.0003471/0.7209, allocations: 0.5609 MB / 0.8078 GB, free: 3.945 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.437e-05/0.721, allocations: 4 kB / 0.8078 GB, free: 3.941 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.401e-05/0.721, allocations: 4 kB / 0.8078 GB, free: 3.938 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001589/0.7226, allocations: 288.3 kB / 0.8081 GB, free: 3.656 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008578/0.7235, allocations: 1.192 MB / 0.8092 GB, free: 2.418 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001441/0.7249, allocations: 200.8 kB / 0.8094 GB, free: 2.223 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.279e-05/0.725, allocations: 36.83 kB / 0.8095 GB, free: 2.188 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 1.445e-05/0.725, allocations: 4 kB / 0.8095 GB, free: 2.184 MB / 0.6231 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003287/0.7283, allocations: 1.317 MB / 0.8108 GB, free: 0.8594 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.303e-06/0.7284, allocations: 4 kB / 0.8108 GB, free: 0.8555 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.996e-06/0.7284, allocations: 7.938 kB / 0.8108 GB, free: 0.8477 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001369/0.7297, allocations: 247.8 kB / 0.811 GB, free: 0.6055 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.261e-05/0.7298, allocations: 4 kB / 0.811 GB, free: 0.6016 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001399/0.7312, allocations: 195.6 kB / 0.8112 GB, free: 420 kB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.696e-05/0.7313, allocations: 43.97 kB / 0.8112 GB, free: 376 kB / 0.6231 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.0007596/0.7321, allocations: 373 kB / 0.8116 GB, free: 15.99 MB / 0.6387 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002105/0.7323, allocations: 98.78 kB / 0.8117 GB, free: 15.89 MB / 0.6387 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00358/0.7359, allocations: 1.441 MB / 0.8131 GB, free: 14.45 MB / 0.6387 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.086e-05/0.7359, allocations: 11.94 kB / 0.8131 GB, free: 14.43 MB / 0.6387 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.543e-06/0.7359, allocations: 0 / 0.8131 GB, free: 14.43 MB / 0.6387 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.016e-05/0.7359, allocations: 7.984 kB / 0.8131 GB, free: 14.43 MB / 0.6387 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006053/0.742, allocations: 2.98 MB / 0.816 GB, free: 11.34 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.178e-05/0.742, allocations: 4 kB / 0.816 GB, free: 11.34 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001259/0.7433, allocations: 249.5 kB / 0.8163 GB, free: 11.09 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.565e-05/0.7433, allocations: 11.94 kB / 0.8163 GB, free: 11.08 MB / 0.6387 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.009e-05/0.7434, allocations: 27.98 kB / 0.8163 GB, free: 11.05 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007501/0.7442, allocations: 1.192 MB / 0.8175 GB, free: 9.816 MB / 0.6387 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.791e-06/0.7442, allocations: 4 kB / 0.8175 GB, free: 9.812 MB / 0.6387 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003638/0.7478, allocations: 1.757 MB / 0.8192 GB, free: 7.883 MB / 0.6387 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007146/0.7486, allocations: 311.5 kB / 0.8195 GB, free: 7.559 MB / 0.6387 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001456/0.7487, allocations: 16 kB / 0.8195 GB, free: 7.543 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001247/0.75, allocations: 163.7 kB / 0.8197 GB, free: 7.383 MB / 0.6387 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001432/0.7501, allocations: 64.44 kB / 0.8197 GB, free: 7.32 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.487e-05/0.7502, allocations: 35.97 kB / 0.8198 GB, free: 7.285 MB / 0.6387 GB Notification: Performance of sorting global known variables: time 0.000877/0.7511, allocations: 0.5583 MB / 0.8203 GB, free: 6.715 MB / 0.6387 GB Notification: Performance of sort global known variables: time 1.713e-06/0.7511, allocations: 0 / 0.8203 GB, free: 6.715 MB / 0.6387 GB Notification: Performance of remove unused functions: time 0.001555/0.7527, allocations: 0.5379 MB / 0.8208 GB, free: 6.176 MB / 0.6387 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.004819/0.7575, allocations: 3.647 MB / 0.8244 GB, free: 2.41 MB / 0.6387 GB Notification: Performance of simCode: created initialization part: time 0.005416/0.7629, allocations: 2.148 MB / 0.8265 GB, free: 248 kB / 0.6387 GB Notification: Performance of simCode: created event and clocks part: time 6.092e-06/0.763, allocations: 0 / 0.8265 GB, free: 248 kB / 0.6387 GB Notification: Performance of simCode: created simulation system equations: time 0.001757/0.7647, allocations: 0.7068 MB / 0.8272 GB, free: 15.54 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002671/0.7674, allocations: 0.5052 MB / 0.8277 GB, free: 15.04 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005888/0.7733, allocations: 3.765 MB / 0.8313 GB, free: 11.15 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007167/0.7741, allocations: 1.122 MB / 0.8324 GB, free: 9.996 MB / 0.6544 GB Notification: Performance of simCode: alias equations: time 0.001725/0.7758, allocations: 385 kB / 0.8328 GB, free: 9.617 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006294/0.7765, allocations: 395.3 kB / 0.8332 GB, free: 9.234 MB / 0.6544 GB Notification: Performance of SimCode: time 1.213e-06/0.7765, allocations: 0 / 0.8332 GB, free: 9.234 MB / 0.6544 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3639/1.14, allocations: 28.31 MB / 0.8608 GB, free: 205.2 MB / 0.67 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001596/1.141, allocations: 267.3 kB / 0.8611 GB, free: 204.9 MB / 0.67 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.604/3.745, allocations: 2.812 kB / 0.8611 GB, free: 204.9 MB / 0.67 GB (rm -f BuildSysPro_BuildSysPro.IBPSA.Fluid.MassExchangers.Examples.ConstantEffectiveness.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Fluid.MassExchangers.Examples.ConstantEffectiveness.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Fluid.MassExchangers.Examples.ConstantEffectiveness.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Fluid.MassExchangers.Examples.ConstantEffectiveness.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_BuildSysPro_BuildSysPro_IBPSA_Fluid_MassExchangers_Examples_ConstantEffectiveness_fmu --startTime=0 --stopTime=360 --timeout=50 --tolerance=1e-06 BuildSysPro_BuildSysPro_IBPSA_Fluid_MassExchangers_Examples_ConstantEffectiveness.fmu > BuildSysPro_BuildSysPro.IBPSA.Fluid.MassExchangers.Examples.ConstantEffectiveness.pipe 2>&1) Environment - environmentSimulation: