Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_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/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.Validation.ConstantEffectivenessZeroFlowBothStreams,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_MassExchangers_Validation_ConstantEffectivenessZeroFlowBothStreams",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Fluid.MassExchangers.Validation.ConstantEffectivenessZeroFlowBothStreams,fileNamePrefix="IBPSA_latest_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.0009102/0.0009102, allocations: 92.72 kB / 16.02 MB, free: 84 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.0007947/0.0007946, allocations: 177.9 kB / 16.92 MB, free: 6.684 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.396/1.396, allocations: 223.3 MB / 241 MB, free: 5.336 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.705/0.705, allocations: 115.5 MB / 407.6 MB, free: 2.688 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003148/0.0003148, allocations: 8 kB / 495.9 MB, free: 6.25 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1476/0.1479, allocations: 77.53 MB / 0.56 GB, free: 8.93 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.MassExchangers.Validation.ConstantEffectivenessZeroFlowBothStreams): time 0.5052/0.6531, allocations: 209.2 MB / 0.7643 GB, free: 5.367 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.0106/0.6637, allocations: 7.052 MB / 0.7712 GB, free: 14.3 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0017/0.6655, allocations: 35.75 kB / 0.7713 GB, free: 14.26 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 0.001971/0.6675, allocations: 0.6567 MB / 0.7719 GB, free: 13.6 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.006572/0.6741, allocations: 2.374 MB / 0.7742 GB, free: 11.22 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.003/0.6771, allocations: 1.049 MB / 0.7752 GB, free: 10.19 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.004671/0.6818, allocations: 3.752 MB / 0.7789 GB, free: 6.43 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001886/0.6837, allocations: 0.8947 MB / 0.7798 GB, free: 5.516 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004106/0.6878, allocations: 1.763 MB / 0.7815 GB, free: 3.746 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002523/0.6903, allocations: 0.9166 MB / 0.7824 GB, free: 2.836 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 0.0002816/0.6906, allocations: 44 kB / 0.7824 GB, free: 2.793 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004973/0.6956, allocations: 2.806 MB / 0.7852 GB, free: 15.98 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 0.0004959/0.6961, allocations: 346.7 kB / 0.7855 GB, free: 15.64 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.001002/0.6971, allocations: 0.6234 MB / 0.7861 GB, free: 15.01 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.003778/0.7009, allocations: 2.523 MB / 0.7886 GB, free: 12.48 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 3.496e-06/0.7009, allocations: 0 / 0.7886 GB, free: 12.48 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.412e-06/0.7009, allocations: 0 / 0.7886 GB, free: 12.48 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 3.841e-05/0.701, allocations: 0 / 0.7886 GB, free: 12.48 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.00429/0.7053, allocations: 1.611 MB / 0.7902 GB, free: 10.8 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.826e-05/0.7053, allocations: 8.031 kB / 0.7902 GB, free: 10.8 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002357/0.7056, allocations: 127.1 kB / 0.7903 GB, free: 10.66 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003122/0.7087, allocations: 0.5916 MB / 0.7909 GB, free: 10.07 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001659/0.7104, allocations: 0.9602 MB / 0.7918 GB, free: 9.066 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006473/0.711, allocations: 197.9 kB / 0.792 GB, free: 8.875 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001641/0.7112, allocations: 83.98 kB / 0.7921 GB, free: 8.793 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002744/0.7139, allocations: 1.272 MB / 0.7933 GB, free: 7.516 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.859e-05/0.714, allocations: 0 / 0.7933 GB, free: 7.516 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001049/0.7141, allocations: 32 kB / 0.7933 GB, free: 7.484 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.989e-05/0.7141, allocations: 41.98 kB / 0.7934 GB, free: 7.441 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003803/0.7179, allocations: 1.624 MB / 0.795 GB, free: 5.816 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.006102/0.7241, allocations: 4.085 MB / 0.799 GB, free: 1.453 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002613/0.7267, allocations: 1.054 MB / 0.8 GB, free: 400 kB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001579/0.7283, allocations: 0.7059 MB / 0.8007 GB, free: 15.68 MB / 0.6231 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001057/0.7293, allocations: 0.636 MB / 0.8013 GB, free: 14.93 MB / 0.6231 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.572e-05/0.7294, allocations: 43.16 kB / 0.8013 GB, free: 14.88 MB / 0.6231 GB Notification: Performance of pre-optimization done (n=76): time 2.755e-06/0.7294, allocations: 0 / 0.8013 GB, free: 14.88 MB / 0.6231 GB Notification: Performance of matching and sorting (n=76): time 0.005036/0.7344, allocations: 1.918 MB / 0.8032 GB, free: 12.96 MB / 0.6231 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.862e-05/0.7345, allocations: 60.06 kB / 0.8033 GB, free: 12.89 MB / 0.6231 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001094/0.7356, allocations: 0.8194 MB / 0.8041 GB, free: 12.04 MB / 0.6231 GB Notification: Performance of collectPreVariables (initialization): time 0.0001027/0.7357, allocations: 45.69 kB / 0.8041 GB, free: 11.99 MB / 0.6231 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003485/0.7361, allocations: 444.5 kB / 0.8045 GB, free: 11.55 MB / 0.6231 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002159/0.7363, allocations: 260.1 kB / 0.8048 GB, free: 11.29 MB / 0.6231 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001156/0.7364, allocations: 65.69 kB / 0.8048 GB, free: 11.22 MB / 0.6231 GB Notification: Performance of setup shared object (initialization): time 0.0001065/0.7365, allocations: 329.9 kB / 0.8052 GB, free: 10.89 MB / 0.6231 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001458/0.738, allocations: 0.568 MB / 0.8057 GB, free: 10.33 MB / 0.6231 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001572/0.7396, allocations: 0.6902 MB / 0.8064 GB, free: 9.613 MB / 0.6231 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002942/0.7425, allocations: 1.209 MB / 0.8076 GB, free: 8.387 MB / 0.6231 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.196e-06/0.7425, allocations: 0 / 0.8076 GB, free: 8.387 MB / 0.6231 GB Notification: Performance of matching and sorting (n=84) (initialization): time 0.003424/0.746, allocations: 1.411 MB / 0.8089 GB, free: 6.961 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 8.909e-05/0.7461, allocations: 139.9 kB / 0.8091 GB, free: 6.805 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.584e-06/0.7461, allocations: 4 kB / 0.8091 GB, free: 6.801 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.316e-05/0.7461, allocations: 4.062 kB / 0.8091 GB, free: 6.797 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001521/0.7476, allocations: 284.2 kB / 0.8094 GB, free: 6.52 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006825/0.7483, allocations: 1.203 MB / 0.8105 GB, free: 5.27 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001227/0.7496, allocations: 195.2 kB / 0.8107 GB, free: 5.078 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.084e-05/0.7497, allocations: 31.92 kB / 0.8107 GB, free: 5.047 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 8.536e-06/0.7497, allocations: 4 kB / 0.8108 GB, free: 5.043 MB / 0.6231 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003229/0.7529, allocations: 1.309 MB / 0.812 GB, free: 3.727 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.897e-06/0.7529, allocations: 0 / 0.812 GB, free: 3.727 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.995e-06/0.7529, allocations: 7.938 kB / 0.812 GB, free: 3.719 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001188/0.7541, allocations: 247.8 kB / 0.8123 GB, free: 3.477 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.857e-06/0.7542, allocations: 4 kB / 0.8123 GB, free: 3.473 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001182/0.7553, allocations: 191.2 kB / 0.8125 GB, free: 3.285 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.876e-05/0.7554, allocations: 31.97 kB / 0.8125 GB, free: 3.254 MB / 0.6231 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.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 (83): * Single equations (assignments): 80 * 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.0005202/0.756, allocations: 373 kB / 0.8128 GB, free: 2.879 MB / 0.6231 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001832/0.7562, allocations: 110.6 kB / 0.813 GB, free: 2.77 MB / 0.6231 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003533/0.7597, allocations: 1.433 MB / 0.8144 GB, free: 1.324 MB / 0.6231 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.975e-06/0.7597, allocations: 8 kB / 0.8144 GB, free: 1.316 MB / 0.6231 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.552e-06/0.7597, allocations: 4 kB / 0.8144 GB, free: 1.312 MB / 0.6231 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.366e-06/0.7597, allocations: 3.984 kB / 0.8144 GB, free: 1.309 MB / 0.6231 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005527/0.7653, allocations: 2.925 MB / 0.8172 GB, free: 14.28 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.392e-06/0.7653, allocations: 4 kB / 0.8172 GB, free: 14.28 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001237/0.7665, allocations: 256 kB / 0.8175 GB, free: 14.03 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.876e-06/0.7666, allocations: 4 kB / 0.8175 GB, free: 14.02 MB / 0.6387 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.576e-05/0.7666, allocations: 27.92 kB / 0.8175 GB, free: 14 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005321/0.7672, allocations: 1.195 MB / 0.8187 GB, free: 12.75 MB / 0.6387 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.063e-06/0.7672, allocations: 11.92 kB / 0.8187 GB, free: 12.74 MB / 0.6387 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003662/0.7708, allocations: 1.537 MB / 0.8202 GB, free: 11.14 MB / 0.6387 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004627/0.7713, allocations: 311.5 kB / 0.8205 GB, free: 10.81 MB / 0.6387 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001381/0.7715, allocations: 16 kB / 0.8205 GB, free: 10.8 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001294/0.7728, allocations: 167.7 kB / 0.8207 GB, free: 10.63 MB / 0.6387 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001273/0.7729, allocations: 60.44 kB / 0.8207 GB, free: 10.57 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.417e-05/0.773, allocations: 31.97 kB / 0.8207 GB, free: 10.54 MB / 0.6387 GB Notification: Performance of sorting global known variables: time 0.0006995/0.7737, allocations: 0.5739 MB / 0.8213 GB, free: 9.957 MB / 0.6387 GB Notification: Performance of sort global known variables: time 2.31e-07/0.7737, allocations: 0 / 0.8213 GB, free: 9.957 MB / 0.6387 GB Notification: Performance of remove unused functions: time 0.001259/0.775, allocations: 0.5302 MB / 0.8218 GB, free: 9.426 MB / 0.6387 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.004041/0.779, allocations: 2.269 MB / 0.824 GB, free: 7.105 MB / 0.6387 GB Notification: Performance of simCode: created initialization part: time 0.005317/0.7843, allocations: 2.131 MB / 0.8261 GB, free: 4.949 MB / 0.6387 GB Notification: Performance of simCode: created event and clocks part: time 3.517e-06/0.7844, allocations: 0 / 0.8261 GB, free: 4.949 MB / 0.6387 GB Notification: Performance of simCode: created simulation system equations: time 0.001739/0.7861, allocations: 0.7105 MB / 0.8268 GB, free: 4.238 MB / 0.6387 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003017/0.7891, allocations: 0.5078 MB / 0.8273 GB, free: 3.738 MB / 0.6387 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.2647/1.054, allocations: 9.656 MB / 0.8367 GB, free: 231.3 MB / 0.6387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006696/1.055, allocations: 1.097 MB / 0.8378 GB, free: 230.6 MB / 0.6387 GB Notification: Performance of simCode: alias equations: time 0.001782/1.056, allocations: 387 kB / 0.8382 GB, free: 230.6 MB / 0.6387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005695/1.057, allocations: 390.6 kB / 0.8386 GB, free: 230.3 MB / 0.6387 GB Notification: Performance of SimCode: time 8.81e-07/1.057, allocations: 0.75 kB / 0.8386 GB, free: 230.3 MB / 0.6387 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04398/1.101, allocations: 27.75 MB / 0.8656 GB, free: 220.9 MB / 0.6387 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002477/1.101, allocations: 312.4 kB / 0.8659 GB, free: 220.5 MB / 0.6387 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.878/3.979, allocations: 3.938 kB / 0.8659 GB, free: 220.5 MB / 0.6387 GB (rm -f IBPSA_latest_IBPSA.Fluid.MassExchangers.Validation.ConstantEffectivenessZeroFlowBothStreams.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.MassExchangers.Validation.ConstantEffectivenessZeroFlowBothStreams.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.MassExchangers.Validation.ConstantEffectivenessZeroFlowBothStreams.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.MassExchangers.Validation.ConstantEffectivenessZeroFlowBothStreams.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Fluid_MassExchangers_Validation_ConstantEffectivenessZeroFlowBothStreams_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_Fluid_MassExchangers_Validation_ConstantEffectivenessZeroFlowBothStreams.fmu > IBPSA_latest_IBPSA.Fluid.MassExchangers.Validation.ConstantEffectivenessZeroFlowBothStreams.pipe 2>&1)