Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.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 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.Validation.ConstantEffectivenessZeroFlowBothStreams,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Fluid_MassExchangers_Validation_ConstantEffectivenessZeroFlowBothStreams",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildSysPro.IBPSA.Fluid.MassExchangers.Validation.ConstantEffectivenessZeroFlowBothStreams,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_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.001178/0.001178, allocations: 99.08 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.001399/0.001399, allocations: 177.3 kB / 15.94 MB, free: 220 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.369/1.369, allocations: 223.2 MB / 239.9 MB, free: 5.465 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0-master/package.mo): time 1.069/1.069, allocations: 143.3 MB / 434.3 MB, free: 13.7 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003463/0.0003463, allocations: 8 kB / 0.5159 GB, free: 11.27 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.161/0.1614, allocations: 83.41 MB / 0.5973 GB, free: 7.805 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Fluid.MassExchangers.Validation.ConstantEffectivenessZeroFlowBothStreams): time 0.5027/0.6641, allocations: 176.7 MB / 0.7699 GB, free: 11.29 MB / 0.5919 GB Notification: Performance of NFInst.instExpressions: time 0.01286/0.677, allocations: 6.986 MB / 0.7768 GB, free: 4.293 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001958/0.6791, allocations: 35.75 kB / 0.7768 GB, free: 4.258 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 0.003385/0.6825, allocations: 0.7194 MB / 0.7775 GB, free: 3.535 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.009985/0.6925, allocations: 2.179 MB / 0.7796 GB, free: 1.352 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.005688/0.6982, allocations: 1.131 MB / 0.7807 GB, free: 252 kB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.004863/0.7031, allocations: 1.637 MB / 0.7823 GB, free: 14.61 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002799/0.7059, allocations: 0.8321 MB / 0.7831 GB, free: 13.77 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005518/0.7115, allocations: 1.32 MB / 0.7844 GB, free: 12.45 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001976/0.7135, allocations: 0.6225 MB / 0.785 GB, free: 11.82 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 0.0004394/0.7139, allocations: 44 kB / 0.7851 GB, free: 11.78 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004755/0.7187, allocations: 1.326 MB / 0.7864 GB, free: 10.45 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 0.0008685/0.7196, allocations: 318.9 kB / 0.7867 GB, free: 10.14 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.0009291/0.7205, allocations: 273.1 kB / 0.7869 GB, free: 9.867 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.004212/0.7248, allocations: 1.689 MB / 0.7886 GB, free: 8.18 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 6.462e-06/0.7248, allocations: 0 / 0.7886 GB, free: 8.18 MB / 0.6075 GB Notification: Performance of FrontEnd: time 3.146e-06/0.7248, allocations: 0 / 0.7886 GB, free: 8.18 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 9.114e-05/0.7249, allocations: 4 kB / 0.7886 GB, free: 8.176 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.007347/0.7323, allocations: 1.579 MB / 0.7901 GB, free: 6.543 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 6.636e-05/0.7324, allocations: 11.97 kB / 0.7902 GB, free: 6.531 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0005203/0.7329, allocations: 135.1 kB / 0.7903 GB, free: 6.391 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004694/0.7376, allocations: 0.5838 MB / 0.7909 GB, free: 5.805 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002243/0.7399, allocations: 0.9259 MB / 0.7918 GB, free: 4.836 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000665/0.7406, allocations: 193.9 kB / 0.7919 GB, free: 4.645 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001615/0.7407, allocations: 84 kB / 0.792 GB, free: 4.562 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00291/0.7437, allocations: 1.26 MB / 0.7933 GB, free: 3.297 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.111e-05/0.7437, allocations: 0 / 0.7933 GB, free: 3.297 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001063/0.7438, allocations: 39.92 kB / 0.7933 GB, free: 3.258 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.621e-05/0.7439, allocations: 49.98 kB / 0.7933 GB, free: 3.211 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003877/0.7478, allocations: 1.601 MB / 0.7949 GB, free: 1.605 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.00707/0.7548, allocations: 4.101 MB / 0.7989 GB, free: 13.23 MB / 0.6231 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002724/0.7576, allocations: 1.07 MB / 0.7999 GB, free: 12.16 MB / 0.6231 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007856/0.7584, allocations: 290.9 kB / 0.8002 GB, free: 11.84 MB / 0.6231 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.653e-05/0.7585, allocations: 43.22 kB / 0.8003 GB, free: 11.79 MB / 0.6231 GB Notification: Performance of pre-optimization done (n=76): time 3.116e-06/0.7585, allocations: 0 / 0.8003 GB, free: 11.79 MB / 0.6231 GB Notification: Performance of matching and sorting (n=76): time 0.0051/0.7636, allocations: 1.91 MB / 0.8021 GB, free: 9.871 MB / 0.6231 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.245e-05/0.7636, allocations: 60.06 kB / 0.8022 GB, free: 9.797 MB / 0.6231 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001204/0.7648, allocations: 0.8114 MB / 0.803 GB, free: 8.961 MB / 0.6231 GB Notification: Performance of collectPreVariables (initialization): time 0.0001407/0.765, allocations: 49.64 kB / 0.803 GB, free: 8.906 MB / 0.6231 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003518/0.7654, allocations: 436.5 kB / 0.8034 GB, free: 8.473 MB / 0.6231 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002238/0.7656, allocations: 264.2 kB / 0.8037 GB, free: 8.211 MB / 0.6231 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.536e-05/0.7656, allocations: 20 kB / 0.8037 GB, free: 8.191 MB / 0.6231 GB Notification: Performance of setup shared object (initialization): time 0.0001258/0.7658, allocations: 326 kB / 0.804 GB, free: 7.867 MB / 0.6231 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001486/0.7673, allocations: 0.5602 MB / 0.8046 GB, free: 7.309 MB / 0.6231 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001584/0.7689, allocations: 0.7036 MB / 0.8053 GB, free: 6.57 MB / 0.6231 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001552/0.7704, allocations: 0.6178 MB / 0.8059 GB, free: 5.945 MB / 0.6231 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.927e-06/0.7704, allocations: 0 / 0.8059 GB, free: 5.945 MB / 0.6231 GB Notification: Performance of matching and sorting (n=87) (initialization): time 0.00355/0.774, allocations: 1.431 MB / 0.8073 GB, free: 4.5 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 0.0003099/0.7743, allocations: 0.5608 MB / 0.8078 GB, free: 3.895 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.104e-05/0.7743, allocations: 2.312 kB / 0.8078 GB, free: 3.895 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.418e-05/0.7744, allocations: 8 kB / 0.8078 GB, free: 3.887 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00167/0.7761, allocations: 280.8 kB / 0.8081 GB, free: 3.613 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000841/0.7769, allocations: 1.195 MB / 0.8093 GB, free: 2.371 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001407/0.7783, allocations: 201 kB / 0.8094 GB, free: 2.176 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.657e-05/0.7784, allocations: 36.53 kB / 0.8095 GB, free: 2.141 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 1.245e-05/0.7785, allocations: 9.562 kB / 0.8095 GB, free: 2.133 MB / 0.6231 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003254/0.7817, allocations: 1.317 MB / 0.8108 GB, free: 0.8086 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.993e-06/0.7817, allocations: 4.047 kB / 0.8108 GB, free: 0.8047 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.182e-05/0.7818, allocations: 7.984 kB / 0.8108 GB, free: 0.7969 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001206/0.783, allocations: 247.8 kB / 0.811 GB, free: 0.5547 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.975e-06/0.783, allocations: 4 kB / 0.811 GB, free: 0.5508 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001249/0.7842, allocations: 199.7 kB / 0.8112 GB, free: 364 kB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.095e-05/0.7843, allocations: 35.97 kB / 0.8113 GB, free: 328 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.0006411/0.785, allocations: 382.5 kB / 0.8116 GB, free: 15.94 MB / 0.6387 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001776/0.7852, allocations: 98.78 kB / 0.8117 GB, free: 15.84 MB / 0.6387 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003523/0.7887, allocations: 1.437 MB / 0.8131 GB, free: 14.39 MB / 0.6387 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.468e-06/0.7887, allocations: 8 kB / 0.8131 GB, free: 14.39 MB / 0.6387 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.721e-06/0.7887, allocations: 0 / 0.8131 GB, free: 14.39 MB / 0.6387 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.658e-06/0.7887, allocations: 3.984 kB / 0.8131 GB, free: 14.38 MB / 0.6387 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005756/0.7945, allocations: 2.995 MB / 0.8161 GB, free: 11.28 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.174e-06/0.7945, allocations: 4 kB / 0.8161 GB, free: 11.28 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001293/0.7958, allocations: 248.9 kB / 0.8163 GB, free: 11.04 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.153e-05/0.7959, allocations: 8 kB / 0.8163 GB, free: 11.03 MB / 0.6387 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.385e-05/0.7959, allocations: 19.98 kB / 0.8163 GB, free: 11.01 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006702/0.7966, allocations: 1.196 MB / 0.8175 GB, free: 9.766 MB / 0.6387 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.082e-06/0.7966, allocations: 11.94 kB / 0.8175 GB, free: 9.754 MB / 0.6387 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003468/0.8001, allocations: 1.742 MB / 0.8192 GB, free: 7.84 MB / 0.6387 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005791/0.8007, allocations: 315.5 kB / 0.8195 GB, free: 7.512 MB / 0.6387 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001444/0.8008, allocations: 19.98 kB / 0.8195 GB, free: 7.492 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001222/0.8021, allocations: 159.8 kB / 0.8197 GB, free: 7.336 MB / 0.6387 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001267/0.8022, allocations: 68.31 kB / 0.8197 GB, free: 7.27 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.686e-05/0.8023, allocations: 39.97 kB / 0.8198 GB, free: 7.23 MB / 0.6387 GB Notification: Performance of sorting global known variables: time 0.0007476/0.803, allocations: 0.5583 MB / 0.8203 GB, free: 6.66 MB / 0.6387 GB Notification: Performance of sort global known variables: time 1.6e-07/0.8031, allocations: 0 / 0.8203 GB, free: 6.66 MB / 0.6387 GB Notification: Performance of remove unused functions: time 0.001363/0.8044, allocations: 0.538 MB / 0.8208 GB, free: 6.121 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.004579/0.809, allocations: 3.638 MB / 0.8244 GB, free: 2.363 MB / 0.6387 GB Notification: Performance of simCode: created initialization part: time 0.00539/0.8144, allocations: 2.143 MB / 0.8265 GB, free: 204 kB / 0.6387 GB Notification: Performance of simCode: created event and clocks part: time 5.53e-06/0.8144, allocations: 0 / 0.8265 GB, free: 204 kB / 0.6387 GB Notification: Performance of simCode: created simulation system equations: time 0.001718/0.8162, allocations: 0.7107 MB / 0.8272 GB, free: 15.49 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00249/0.8187, allocations: 0.4999 MB / 0.8277 GB, free: 15 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005362/0.824, allocations: 3.774 MB / 0.8314 GB, free: 11.11 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006521/0.8247, allocations: 1.114 MB / 0.8324 GB, free: 9.961 MB / 0.6544 GB Notification: Performance of simCode: alias equations: time 0.001546/0.8263, allocations: 396.3 kB / 0.8328 GB, free: 9.57 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000585/0.8269, allocations: 387.3 kB / 0.8332 GB, free: 9.195 MB / 0.6544 GB Notification: Performance of SimCode: time 9.42e-07/0.8269, allocations: 4 kB / 0.8332 GB, free: 9.191 MB / 0.6544 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3758/1.203, allocations: 28.35 MB / 0.8609 GB, free: 205.4 MB / 0.67 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001882/1.203, allocations: 290.6 kB / 0.8612 GB, free: 205 MB / 0.67 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.478/3.681, allocations: 5.984 kB / 0.8612 GB, free: 205 MB / 0.67 GB (rm -f BuildSysPro_BuildSysPro.IBPSA.Fluid.MassExchangers.Validation.ConstantEffectivenessZeroFlowBothStreams.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Fluid.MassExchangers.Validation.ConstantEffectivenessZeroFlowBothStreams.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Fluid.MassExchangers.Validation.ConstantEffectivenessZeroFlowBothStreams.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Fluid.MassExchangers.Validation.ConstantEffectivenessZeroFlowBothStreams.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_BuildSysPro_BuildSysPro_IBPSA_Fluid_MassExchangers_Validation_ConstantEffectivenessZeroFlowBothStreams_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 BuildSysPro_BuildSysPro_IBPSA_Fluid_MassExchangers_Validation_ConstantEffectivenessZeroFlowBothStreams.fmu > BuildSysPro_BuildSysPro.IBPSA.Fluid.MassExchangers.Validation.ConstantEffectivenessZeroFlowBothStreams.pipe 2>&1) Environment - environmentSimulation: