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.0007758/0.0007756, 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.0009126/0.0009125, allocations: 177.3 kB / 16.92 MB, free: 6.68 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.391/1.391, allocations: 223.3 MB / 241 MB, free: 5.363 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.6968/0.6968, allocations: 115.5 MB / 407.6 MB, free: 2.742 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003226/0.0003226, allocations: 9.094 kB / 495.9 MB, free: 6.281 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1462/0.1466, allocations: 77.53 MB / 0.56 GB, free: 8.949 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.MassExchangers.Examples.ConstantEffectiveness): time 0.512/0.6586, allocations: 209.2 MB / 0.7643 GB, free: 5.453 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.01044/0.6691, allocations: 7.054 MB / 0.7712 GB, free: 14.38 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001396/0.6705, allocations: 35.75 kB / 0.7712 GB, free: 14.34 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 0.002038/0.6725, allocations: 0.6566 MB / 0.7719 GB, free: 13.68 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.006426/0.679, allocations: 2.37 MB / 0.7742 GB, free: 11.3 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.00299/0.682, allocations: 1.054 MB / 0.7752 GB, free: 10.27 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.004509/0.6865, allocations: 3.745 MB / 0.7789 GB, free: 6.516 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001678/0.6882, allocations: 0.8986 MB / 0.7798 GB, free: 5.598 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004369/0.6926, allocations: 1.759 MB / 0.7815 GB, free: 3.832 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002483/0.6951, allocations: 0.92 MB / 0.7824 GB, free: 2.914 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 0.0002762/0.6954, allocations: 48 kB / 0.7824 GB, free: 2.867 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005526/0.7009, allocations: 2.798 MB / 0.7852 GB, free: 64 kB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 0.0006347/0.7016, allocations: 350.7 kB / 0.7855 GB, free: 15.72 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.001159/0.7027, allocations: 0.6273 MB / 0.7861 GB, free: 15.08 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.004579/0.7073, allocations: 2.523 MB / 0.7886 GB, free: 12.55 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 2.605e-06/0.7073, allocations: 0 / 0.7886 GB, free: 12.55 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.353e-06/0.7074, allocations: 0 / 0.7886 GB, free: 12.55 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 4.361e-05/0.7074, allocations: 0 / 0.7886 GB, free: 12.55 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.004327/0.7117, allocations: 1.603 MB / 0.7901 GB, free: 10.89 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.554e-05/0.7118, allocations: 8.031 kB / 0.7901 GB, free: 10.88 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002505/0.712, allocations: 135.1 kB / 0.7903 GB, free: 10.74 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00318/0.7152, allocations: 0.5838 MB / 0.7908 GB, free: 10.15 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001756/0.717, allocations: 0.9602 MB / 0.7918 GB, free: 9.148 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006409/0.7176, allocations: 193.9 kB / 0.792 GB, free: 8.961 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001848/0.7178, allocations: 95.91 kB / 0.7921 GB, free: 8.867 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002712/0.7206, allocations: 1.264 MB / 0.7933 GB, free: 7.598 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.657e-05/0.7206, allocations: 0 / 0.7933 GB, free: 7.598 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001071/0.7207, allocations: 32 kB / 0.7933 GB, free: 7.566 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.953e-05/0.7208, allocations: 45.98 kB / 0.7934 GB, free: 7.52 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003785/0.7245, allocations: 1.616 MB / 0.7949 GB, free: 5.902 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.00611/0.7307, allocations: 4.093 MB / 0.7989 GB, free: 1.531 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002542/0.7332, allocations: 1.052 MB / 0.8 GB, free: 484 kB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001587/0.7348, allocations: 0.7059 MB / 0.8007 GB, free: 15.76 MB / 0.6231 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001108/0.7359, allocations: 0.6399 MB / 0.8013 GB, free: 15.01 MB / 0.6231 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.465e-05/0.736, allocations: 43.22 kB / 0.8013 GB, free: 14.96 MB / 0.6231 GB Notification: Performance of pre-optimization done (n=76): time 2.365e-06/0.736, allocations: 0 / 0.8013 GB, free: 14.96 MB / 0.6231 GB Notification: Performance of matching and sorting (n=76): time 0.005053/0.7411, allocations: 1.918 MB / 0.8032 GB, free: 13.04 MB / 0.6231 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.706e-05/0.7411, allocations: 60.06 kB / 0.8032 GB, free: 12.96 MB / 0.6231 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001121/0.7422, allocations: 0.8155 MB / 0.804 GB, free: 12.12 MB / 0.6231 GB Notification: Performance of collectPreVariables (initialization): time 0.0001057/0.7424, allocations: 45.7 kB / 0.8041 GB, free: 12.07 MB / 0.6231 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003225/0.7427, allocations: 444.5 kB / 0.8045 GB, free: 11.63 MB / 0.6231 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002167/0.7429, allocations: 260.1 kB / 0.8048 GB, free: 11.38 MB / 0.6231 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001086/0.743, allocations: 61.69 kB / 0.8048 GB, free: 11.31 MB / 0.6231 GB Notification: Performance of setup shared object (initialization): time 0.0001079/0.7431, allocations: 341.8 kB / 0.8051 GB, free: 10.97 MB / 0.6231 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001496/0.7446, allocations: 0.568 MB / 0.8057 GB, free: 10.4 MB / 0.6231 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001603/0.7463, allocations: 0.6824 MB / 0.8064 GB, free: 9.695 MB / 0.6231 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002911/0.7492, allocations: 1.209 MB / 0.8075 GB, free: 8.469 MB / 0.6231 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.915e-06/0.7492, allocations: 0 / 0.8075 GB, free: 8.469 MB / 0.6231 GB Notification: Performance of matching and sorting (n=84) (initialization): time 0.00343/0.7526, allocations: 1.415 MB / 0.8089 GB, free: 7.039 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 9.175e-05/0.7527, allocations: 146 kB / 0.8091 GB, free: 6.879 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.027e-06/0.7528, allocations: 4 kB / 0.8091 GB, free: 6.875 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.47e-05/0.7528, allocations: 4 kB / 0.8091 GB, free: 6.871 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001568/0.7543, allocations: 275.6 kB / 0.8093 GB, free: 6.602 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006625/0.755, allocations: 1.191 MB / 0.8105 GB, free: 5.363 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001275/0.7563, allocations: 203.3 kB / 0.8107 GB, free: 5.164 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.55e-05/0.7564, allocations: 27.98 kB / 0.8107 GB, free: 5.137 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 8.476e-06/0.7564, allocations: 4 kB / 0.8107 GB, free: 5.133 MB / 0.6231 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003251/0.7597, allocations: 1.313 MB / 0.812 GB, free: 3.812 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.536e-06/0.7597, allocations: 4.062 kB / 0.812 GB, free: 3.809 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.476e-06/0.7597, allocations: 7.938 kB / 0.812 GB, free: 3.801 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001181/0.7609, allocations: 243.7 kB / 0.8123 GB, free: 3.562 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.388e-06/0.7609, allocations: 4 kB / 0.8123 GB, free: 3.559 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001232/0.7622, allocations: 191.2 kB / 0.8124 GB, free: 3.371 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.368e-05/0.7622, allocations: 39.95 kB / 0.8125 GB, free: 3.332 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.0005505/0.7628, allocations: 369 kB / 0.8128 GB, free: 2.961 MB / 0.6231 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002261/0.763, allocations: 110.6 kB / 0.8129 GB, free: 2.852 MB / 0.6231 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003645/0.7667, allocations: 1.441 MB / 0.8143 GB, free: 1.398 MB / 0.6231 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.366e-06/0.7667, allocations: 8 kB / 0.8143 GB, free: 1.391 MB / 0.6231 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.709e-06/0.7667, allocations: 0 / 0.8143 GB, free: 1.391 MB / 0.6231 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.165e-06/0.7667, allocations: 3.984 kB / 0.8144 GB, free: 1.387 MB / 0.6231 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005693/0.7724, allocations: 2.921 MB / 0.8172 GB, free: 14.36 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.931e-06/0.7725, allocations: 4.031 kB / 0.8172 GB, free: 14.36 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001254/0.7737, allocations: 255.7 kB / 0.8175 GB, free: 14.11 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.408e-06/0.7737, allocations: 7.938 kB / 0.8175 GB, free: 14.1 MB / 0.6387 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.856e-05/0.7738, allocations: 31.92 kB / 0.8175 GB, free: 14.07 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005355/0.7744, allocations: 1.188 MB / 0.8187 GB, free: 12.83 MB / 0.6387 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.336e-06/0.7744, allocations: 15.86 kB / 0.8187 GB, free: 12.82 MB / 0.6387 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003331/0.7777, allocations: 1.533 MB / 0.8202 GB, free: 11.21 MB / 0.6387 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004916/0.7782, allocations: 307.5 kB / 0.8205 GB, free: 10.89 MB / 0.6387 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001416/0.7784, allocations: 24 kB / 0.8205 GB, free: 10.87 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001277/0.7797, allocations: 163.6 kB / 0.8206 GB, free: 10.71 MB / 0.6387 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001351/0.7798, allocations: 68.34 kB / 0.8207 GB, free: 10.64 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.442e-05/0.7799, allocations: 39.97 kB / 0.8207 GB, free: 10.61 MB / 0.6387 GB Notification: Performance of sorting global known variables: time 0.0007241/0.7806, allocations: 0.5739 MB / 0.8213 GB, free: 10.02 MB / 0.6387 GB Notification: Performance of sort global known variables: time 2.01e-07/0.7806, allocations: 0 / 0.8213 GB, free: 10.02 MB / 0.6387 GB Notification: Performance of remove unused functions: time 0.001328/0.782, allocations: 0.5263 MB / 0.8218 GB, free: 9.492 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.004032/0.786, allocations: 2.244 MB / 0.824 GB, free: 7.199 MB / 0.6387 GB Notification: Performance of simCode: created initialization part: time 0.005357/0.7914, allocations: 2.135 MB / 0.8261 GB, free: 5.039 MB / 0.6387 GB Notification: Performance of simCode: created event and clocks part: time 3.687e-06/0.7914, allocations: 4.062 kB / 0.8261 GB, free: 5.035 MB / 0.6387 GB Notification: Performance of simCode: created simulation system equations: time 0.00174/0.7931, allocations: 0.7065 MB / 0.8268 GB, free: 4.328 MB / 0.6387 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003054/0.7962, allocations: 0.5219 MB / 0.8273 GB, free: 3.82 MB / 0.6387 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.2691/1.065, allocations: 9.646 MB / 0.8367 GB, free: 231.5 MB / 0.6387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006461/1.066, allocations: 1.093 MB / 0.8378 GB, free: 230.8 MB / 0.6387 GB Notification: Performance of simCode: alias equations: time 0.001707/1.068, allocations: 389.6 kB / 0.8382 GB, free: 230.8 MB / 0.6387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005999/1.068, allocations: 388.6 kB / 0.8385 GB, free: 230.5 MB / 0.6387 GB Notification: Performance of SimCode: time 1.282e-06/1.068, allocations: 0 / 0.8385 GB, free: 230.5 MB / 0.6387 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05304/1.121, allocations: 27.73 MB / 0.8656 GB, free: 221 MB / 0.6387 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000211/1.122, allocations: 283.3 kB / 0.8659 GB, free: 220.7 MB / 0.6387 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.906/4.028, allocations: 0 / 0.8659 GB, free: 220.7 MB / 0.6387 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/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)