Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_dev_IDEAS.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/IDEAS 3.0.0-master/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.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(IDEAS.Fluid.MassExchangers.Validation.ConstantEffectivenessZeroFlowBothStreams,fileNamePrefix="IDEAS_dev_IDEAS_Fluid_MassExchangers_Validation_ConstantEffectivenessZeroFlowBothStreams",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.MassExchangers.Validation.ConstantEffectivenessZeroFlowBothStreams,fileNamePrefix="IDEAS_dev_IDEAS_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.0007939/0.0007941, allocations: 91.3 kB / 15.06 MB, free: 1.098 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.000935/0.000935, allocations: 172.7 kB / 15.95 MB, free: 208 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.334/1.334, allocations: 223.3 MB / 240 MB, free: 5.414 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9473/0.9473, allocations: 135.3 MB / 426.3 MB, free: 14.18 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003326/0.0003328, allocations: 8 kB / 0.5071 GB, free: 5.016 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1872/0.1876, allocations: 82.31 MB / 0.5875 GB, free: 2.871 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.MassExchangers.Validation.ConstantEffectivenessZeroFlowBothStreams): time 0.5387/0.7263, allocations: 195.2 MB / 0.7781 GB, free: 9.68 MB / 0.5919 GB Notification: Performance of NFInst.instExpressions: time 0.01313/0.7395, allocations: 6.615 MB / 0.7845 GB, free: 3.055 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001714/0.7413, allocations: 47.69 kB / 0.7846 GB, free: 3.008 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 0.002099/0.7434, allocations: 0.4928 MB / 0.785 GB, free: 2.512 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.005997/0.7494, allocations: 1.784 MB / 0.7868 GB, free: 0.7188 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.002899/0.7523, allocations: 0.9044 MB / 0.7877 GB, free: 15.84 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.004312/0.7566, allocations: 3.19 MB / 0.7908 GB, free: 12.64 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001398/0.758, allocations: 0.7971 MB / 0.7916 GB, free: 11.83 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004017/0.7621, allocations: 1.529 MB / 0.7931 GB, free: 10.3 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001475/0.7636, allocations: 0.8638 MB / 0.7939 GB, free: 9.43 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 0.0001161/0.7637, allocations: 48 kB / 0.7939 GB, free: 9.383 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003511/0.7672, allocations: 1.536 MB / 0.7954 GB, free: 7.84 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 0.0004369/0.7677, allocations: 346.8 kB / 0.7958 GB, free: 7.5 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.0004003/0.7681, allocations: 265.1 kB / 0.796 GB, free: 7.234 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.002115/0.7702, allocations: 1.711 MB / 0.7977 GB, free: 5.52 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 8.346e-06/0.7702, allocations: 0 / 0.7977 GB, free: 5.52 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.803e-06/0.7702, allocations: 3.938 kB / 0.7977 GB, free: 5.516 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 1.669e-05/0.7702, allocations: 0 / 0.7977 GB, free: 5.516 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.003743/0.774, allocations: 1.612 MB / 0.7993 GB, free: 3.848 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 4.295e-05/0.774, allocations: 8.031 kB / 0.7993 GB, free: 3.84 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001685/0.7742, allocations: 135.1 kB / 0.7994 GB, free: 3.699 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00278/0.777, allocations: 0.5877 MB / 0.8 GB, free: 3.109 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001813/0.7788, allocations: 0.9298 MB / 0.8009 GB, free: 2.137 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005583/0.7794, allocations: 193.9 kB / 0.8011 GB, free: 1.945 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001587/0.7796, allocations: 80 kB / 0.8012 GB, free: 1.867 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002756/0.7823, allocations: 1.268 MB / 0.8024 GB, free: 0.5898 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.103e-05/0.7824, allocations: 0 / 0.8024 GB, free: 0.5898 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001052/0.7825, allocations: 39.94 kB / 0.8024 GB, free: 0.5508 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.89e-05/0.7825, allocations: 49.97 kB / 0.8025 GB, free: 0.5039 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00352/0.7861, allocations: 1.608 MB / 0.804 GB, free: 14.89 MB / 0.6231 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.006875/0.793, allocations: 4.087 MB / 0.808 GB, free: 10.53 MB / 0.6231 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002395/0.7954, allocations: 1.048 MB / 0.8091 GB, free: 9.477 MB / 0.6231 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001444/0.7968, allocations: 0.6982 MB / 0.8097 GB, free: 8.777 MB / 0.6231 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001084/0.7979, allocations: 0.6437 MB / 0.8104 GB, free: 8.02 MB / 0.6231 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.153e-05/0.798, allocations: 39.22 kB / 0.8104 GB, free: 7.973 MB / 0.6231 GB Notification: Performance of pre-optimization done (n=76): time 2.595e-06/0.798, allocations: 0 / 0.8104 GB, free: 7.973 MB / 0.6231 GB Notification: Performance of matching and sorting (n=76): time 0.004668/0.8027, allocations: 1.906 MB / 0.8123 GB, free: 6.066 MB / 0.6231 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.408e-05/0.8027, allocations: 60.06 kB / 0.8123 GB, free: 5.992 MB / 0.6231 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001177/0.8039, allocations: 0.8231 MB / 0.8131 GB, free: 5.145 MB / 0.6231 GB Notification: Performance of collectPreVariables (initialization): time 0.0001064/0.804, allocations: 41.7 kB / 0.8132 GB, free: 5.098 MB / 0.6231 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004209/0.8045, allocations: 436.6 kB / 0.8136 GB, free: 4.664 MB / 0.6231 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002539/0.8047, allocations: 260.1 kB / 0.8138 GB, free: 4.406 MB / 0.6231 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.491e-05/0.8048, allocations: 16 kB / 0.8139 GB, free: 4.391 MB / 0.6231 GB Notification: Performance of setup shared object (initialization): time 0.0001529/0.805, allocations: 341.9 kB / 0.8142 GB, free: 4.051 MB / 0.6231 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001341/0.8063, allocations: 0.564 MB / 0.8147 GB, free: 3.488 MB / 0.6231 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001432/0.8077, allocations: 0.6911 MB / 0.8154 GB, free: 2.77 MB / 0.6231 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001403/0.8092, allocations: 0.6139 MB / 0.816 GB, free: 2.148 MB / 0.6231 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.729e-06/0.8092, allocations: 4 kB / 0.816 GB, free: 2.145 MB / 0.6231 GB Notification: Performance of matching and sorting (n=87) (initialization): time 0.003188/0.8124, allocations: 1.427 MB / 0.8174 GB, free: 0.7031 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001245/0.8125, allocations: 152.9 kB / 0.8175 GB, free: 0.5312 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.086e-05/0.8125, allocations: 4.922 kB / 0.8175 GB, free: 0.5273 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.763e-05/0.8125, allocations: 8 kB / 0.8176 GB, free: 0.5195 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001438/0.814, allocations: 281.1 kB / 0.8178 GB, free: 252 kB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008728/0.8149, allocations: 1.191 MB / 0.819 GB, free: 15.01 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001246/0.8161, allocations: 193.9 kB / 0.8192 GB, free: 14.82 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001003/0.8162, allocations: 39.97 kB / 0.8192 GB, free: 14.78 MB / 0.6387 GB Notification: Performance of prepare postOptimizeDAE: time 1.038e-05/0.8163, allocations: 7.938 kB / 0.8192 GB, free: 14.77 MB / 0.6387 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003023/0.8193, allocations: 1.309 MB / 0.8205 GB, free: 13.46 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.609e-06/0.8193, allocations: 0 / 0.8205 GB, free: 13.46 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.158e-05/0.8193, allocations: 7.953 kB / 0.8205 GB, free: 13.45 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001174/0.8205, allocations: 267 kB / 0.8208 GB, free: 13.19 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.721e-05/0.8205, allocations: 7.984 kB / 0.8208 GB, free: 13.18 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001192/0.8217, allocations: 191.1 kB / 0.821 GB, free: 13 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.421e-05/0.8218, allocations: 31.98 kB / 0.821 GB, free: 12.96 MB / 0.6387 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * 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.0007715/0.8226, allocations: 377.5 kB / 0.8213 GB, free: 12.59 MB / 0.6387 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002838/0.8229, allocations: 102.7 kB / 0.8214 GB, free: 12.48 MB / 0.6387 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003473/0.8264, allocations: 1.424 MB / 0.8228 GB, free: 11.05 MB / 0.6387 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.258e-05/0.8264, allocations: 15.95 kB / 0.8228 GB, free: 11.04 MB / 0.6387 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.288e-06/0.8264, allocations: 0 / 0.8228 GB, free: 11.04 MB / 0.6387 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.296e-05/0.8265, allocations: 3.984 kB / 0.8228 GB, free: 11.03 MB / 0.6387 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005868/0.8323, allocations: 2.925 MB / 0.8257 GB, free: 8.004 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.015e-06/0.8324, allocations: 4 kB / 0.8257 GB, free: 8 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001158/0.8335, allocations: 255.5 kB / 0.826 GB, free: 7.754 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.416e-05/0.8335, allocations: 11.95 kB / 0.826 GB, free: 7.742 MB / 0.6387 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.609e-05/0.8336, allocations: 23.98 kB / 0.826 GB, free: 7.719 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007568/0.8344, allocations: 1.188 MB / 0.8271 GB, free: 6.484 MB / 0.6387 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.611e-06/0.8344, allocations: 4 kB / 0.8272 GB, free: 6.48 MB / 0.6387 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003315/0.8377, allocations: 1.537 MB / 0.8287 GB, free: 4.879 MB / 0.6387 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006869/0.8384, allocations: 311.5 kB / 0.8289 GB, free: 4.555 MB / 0.6387 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002293/0.8387, allocations: 16 kB / 0.829 GB, free: 4.539 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001276/0.84, allocations: 167.8 kB / 0.8291 GB, free: 4.375 MB / 0.6387 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001529/0.8401, allocations: 64.38 kB / 0.8292 GB, free: 4.312 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.953e-05/0.8402, allocations: 35.92 kB / 0.8292 GB, free: 4.277 MB / 0.6387 GB Notification: Performance of sorting global known variables: time 0.0008948/0.8411, allocations: 0.5622 MB / 0.8298 GB, free: 3.703 MB / 0.6387 GB Notification: Performance of sort global known variables: time 2.3e-07/0.8411, allocations: 0 / 0.8298 GB, free: 3.703 MB / 0.6387 GB Notification: Performance of remove unused functions: time 0.001773/0.8429, allocations: 0.538 MB / 0.8303 GB, free: 3.164 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 (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.004101/0.847, allocations: 2.262 MB / 0.8325 GB, free: 0.8555 MB / 0.6387 GB Notification: Performance of simCode: created initialization part: time 0.005127/0.8522, allocations: 2.127 MB / 0.8346 GB, free: 14.7 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 7.544e-06/0.8522, allocations: 0 / 0.8346 GB, free: 14.7 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 0.001631/0.8538, allocations: 0.7105 MB / 0.8353 GB, free: 13.99 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002796/0.8566, allocations: 0.5101 MB / 0.8358 GB, free: 13.49 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01552/0.8722, allocations: 6.94 MB / 0.8426 GB, free: 6.301 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001005/0.8732, allocations: 1.094 MB / 0.8436 GB, free: 5.18 MB / 0.6544 GB Notification: Performance of simCode: alias equations: time 0.00176/0.875, allocations: 395.5 kB / 0.844 GB, free: 4.789 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006653/0.8757, allocations: 387.3 kB / 0.8444 GB, free: 4.414 MB / 0.6544 GB Notification: Performance of SimCode: time 9.02e-07/0.8757, allocations: 0 / 0.8444 GB, free: 4.414 MB / 0.6544 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3633/1.239, allocations: 28.76 MB / 0.8724 GB, free: 216.3 MB / 0.67 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001812/1.239, allocations: 283.8 kB / 0.8727 GB, free: 216 MB / 0.67 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.5/3.74, allocations: 0 / 0.8727 GB, free: 216 MB / 0.67 GB (rm -f IDEAS_dev_IDEAS.Fluid.MassExchangers.Validation.ConstantEffectivenessZeroFlowBothStreams.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.MassExchangers.Validation.ConstantEffectivenessZeroFlowBothStreams.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.MassExchangers.Validation.ConstantEffectivenessZeroFlowBothStreams.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.MassExchangers.Validation.ConstantEffectivenessZeroFlowBothStreams.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_Fluid_MassExchangers_Validation_ConstantEffectivenessZeroFlowBothStreams_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 IDEAS_dev_IDEAS_Fluid_MassExchangers_Validation_ConstantEffectivenessZeroFlowBothStreams.fmu > IDEAS_dev_IDEAS.Fluid.MassExchangers.Validation.ConstantEffectivenessZeroFlowBothStreams.pipe 2>&1) Environment - environmentSimulation: