Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_IDEAS.Fluid.HeatExchangers.Validation.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/IDEAS 3.0.0/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/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.HeatExchangers.Validation.ConstantEffectiveness,fileNamePrefix="IDEAS_IDEAS_Fluid_HeatExchangers_Validation_ConstantEffectiveness",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.HeatExchangers.Validation.ConstantEffectiveness,fileNamePrefix="IDEAS_IDEAS_Fluid_HeatExchangers_Validation_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.0007996/0.0007996, allocations: 84.38 kB / 15.06 MB, free: 1.09 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.00102/0.00102, allocations: 168.7 kB / 15.95 MB, free: 204 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.291/1.291, allocations: 223.3 MB / 240 MB, free: 5.402 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7182/0.7182, allocations: 132.3 MB / 423.4 MB, free: 2.062 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003092/0.0003092, allocations: 8 kB / 0.5035 GB, free: 4.133 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3742/0.3745, allocations: 81.58 MB / 0.5832 GB, free: 3.977 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.HeatExchangers.Validation.ConstantEffectiveness): time 0.1749/0.5494, allocations: 182.2 MB / 0.761 GB, free: 9.926 MB / 0.5919 GB Notification: Performance of NFInst.instExpressions: time 0.009168/0.5586, allocations: 7.175 MB / 0.768 GB, free: 2.73 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001012/0.5597, allocations: 39.75 kB / 0.7681 GB, free: 2.691 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 0.001254/0.5609, allocations: 456.9 kB / 0.7685 GB, free: 2.242 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.003335/0.5643, allocations: 1.461 MB / 0.77 GB, free: 0.7734 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.002122/0.5664, allocations: 0.8928 MB / 0.7708 GB, free: 15.89 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.002861/0.5693, allocations: 2.98 MB / 0.7737 GB, free: 12.91 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0009108/0.5702, allocations: 0.7228 MB / 0.7744 GB, free: 12.16 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002089/0.5723, allocations: 1.217 MB / 0.7756 GB, free: 10.94 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0009211/0.5732, allocations: 0.7507 MB / 0.7764 GB, free: 10.19 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 9.205e-05/0.5733, allocations: 44 kB / 0.7764 GB, free: 10.14 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002235/0.5756, allocations: 1.263 MB / 0.7776 GB, free: 8.879 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 0.0002322/0.5758, allocations: 255 kB / 0.7779 GB, free: 8.629 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.0002332/0.5761, allocations: 249.1 kB / 0.7781 GB, free: 8.379 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.001374/0.5774, allocations: 1.489 MB / 0.7796 GB, free: 6.887 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 4.399e-06/0.5774, allocations: 0 / 0.7796 GB, free: 6.887 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.664e-06/0.5775, allocations: 0 / 0.7796 GB, free: 6.887 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 1.211e-05/0.5775, allocations: 4 kB / 0.7796 GB, free: 6.883 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: 177 * Number of variables: 177 Notification: Performance of Generate backend data structure: time 0.002786/0.5803, allocations: 1.464 MB / 0.781 GB, free: 5.363 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.57e-05/0.5803, allocations: 8.031 kB / 0.781 GB, free: 5.355 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000129/0.5804, allocations: 118.5 kB / 0.7811 GB, free: 5.23 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001933/0.5824, allocations: 482.1 kB / 0.7816 GB, free: 4.758 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001426/0.5838, allocations: 0.8675 MB / 0.7824 GB, free: 3.848 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005048/0.5843, allocations: 197.8 kB / 0.7826 GB, free: 3.652 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001054/0.5845, allocations: 79.94 kB / 0.7827 GB, free: 3.574 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002028/0.5865, allocations: 1.126 MB / 0.7838 GB, free: 2.43 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.508e-05/0.5865, allocations: 3.938 kB / 0.7838 GB, free: 2.426 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.594e-05/0.5866, allocations: 28 kB / 0.7838 GB, free: 2.398 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.807e-05/0.5866, allocations: 37.98 kB / 0.7839 GB, free: 2.359 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002675/0.5893, allocations: 1.269 MB / 0.7851 GB, free: 1.09 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.005226/0.5946, allocations: 4.157 MB / 0.7892 GB, free: 12.64 MB / 0.6231 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002134/0.5967, allocations: 0.9343 MB / 0.7901 GB, free: 11.7 MB / 0.6231 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001116/0.5978, allocations: 0.5334 MB / 0.7906 GB, free: 11.17 MB / 0.6231 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007085/0.5986, allocations: 0.6487 MB / 0.7912 GB, free: 10.39 MB / 0.6231 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001317/0.5999, allocations: 0.6304 MB / 0.7918 GB, free: 9.738 MB / 0.6231 GB Notification: Performance of pre-optimization done (n=57): time 2.845e-06/0.5999, allocations: 0 / 0.7918 GB, free: 9.738 MB / 0.6231 GB Notification: Performance of matching and sorting (n=57): time 0.003708/0.6036, allocations: 1.532 MB / 0.7933 GB, free: 8.203 MB / 0.6231 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.698e-05/0.6037, allocations: 81.67 kB / 0.7934 GB, free: 8.105 MB / 0.6231 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009545/0.6046, allocations: 0.8239 MB / 0.7942 GB, free: 7.258 MB / 0.6231 GB Notification: Performance of collectPreVariables (initialization): time 6.74e-05/0.6047, allocations: 41.7 kB / 0.7943 GB, free: 7.211 MB / 0.6231 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003133/0.605, allocations: 432.4 kB / 0.7947 GB, free: 6.785 MB / 0.6231 GB Notification: Performance of collectInitialBindings (initialization): time 0.000153/0.6052, allocations: 189.2 kB / 0.7949 GB, free: 6.598 MB / 0.6231 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.167e-05/0.6052, allocations: 12 kB / 0.7949 GB, free: 6.586 MB / 0.6231 GB Notification: Performance of setup shared object (initialization): time 0.0001192/0.6054, allocations: 333.9 kB / 0.7952 GB, free: 6.254 MB / 0.6231 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001086/0.6065, allocations: 452.8 kB / 0.7956 GB, free: 5.809 MB / 0.6231 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001178/0.6077, allocations: 0.5832 MB / 0.7962 GB, free: 5.188 MB / 0.6231 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001105/0.6088, allocations: 499.6 kB / 0.7967 GB, free: 4.691 MB / 0.6231 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.066e-06/0.6088, allocations: 0 / 0.7967 GB, free: 4.691 MB / 0.6231 GB Notification: Performance of matching and sorting (n=70) (initialization): time 0.002523/0.6113, allocations: 1.159 MB / 0.7978 GB, free: 3.52 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001111/0.6114, allocations: 175 kB / 0.798 GB, free: 3.312 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.05e-05/0.6114, allocations: 4 kB / 0.798 GB, free: 3.309 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.952e-05/0.6115, allocations: 4 kB / 0.798 GB, free: 3.305 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001234/0.6127, allocations: 255.7 kB / 0.7982 GB, free: 3.055 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000617/0.6133, allocations: 1.191 MB / 0.7994 GB, free: 1.816 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009864/0.6143, allocations: 187.4 kB / 0.7996 GB, free: 1.633 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.794e-05/0.6144, allocations: 31.98 kB / 0.7996 GB, free: 1.602 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 8.175e-06/0.6144, allocations: 6.188 kB / 0.7996 GB, free: 1.598 MB / 0.6231 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002344/0.6168, allocations: 1.057 MB / 0.8006 GB, free: 0.5391 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.528e-06/0.6168, allocations: 4 kB / 0.8006 GB, free: 0.5352 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.833e-06/0.6168, allocations: 7.938 kB / 0.8006 GB, free: 0.5273 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008834/0.6177, allocations: 219.8 kB / 0.8008 GB, free: 320 kB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.584e-06/0.6177, allocations: 11.89 kB / 0.8009 GB, free: 308 kB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009093/0.6186, allocations: 195 kB / 0.801 GB, free: 116 kB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.078e-05/0.6187, allocations: 31.98 kB / 0.8011 GB, free: 84 kB / 0.6231 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 8 * Number of states: 0 () * Number of discrete variables: 5 ($whenCondition1,$PRE.trapezoid.T_start,trapezoid.T_start,$PRE.trapezoid.count,trapezoid.count) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (69): * Single equations (assignments): 66 * 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.0004862/0.6192, allocations: 333 kB / 0.8014 GB, free: 15.75 MB / 0.6387 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001254/0.6193, allocations: 98.78 kB / 0.8015 GB, free: 15.65 MB / 0.6387 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00269/0.622, allocations: 1.211 MB / 0.8027 GB, free: 14.43 MB / 0.6387 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.554e-05/0.6221, allocations: 12 kB / 0.8027 GB, free: 14.42 MB / 0.6387 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.354e-06/0.6221, allocations: 3.953 kB / 0.8027 GB, free: 14.42 MB / 0.6387 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.417e-06/0.6221, allocations: 3.984 kB / 0.8027 GB, free: 14.41 MB / 0.6387 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004121/0.6262, allocations: 2.38 MB / 0.805 GB, free: 11.94 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.963e-06/0.6262, allocations: 4 kB / 0.805 GB, free: 11.94 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009282/0.6272, allocations: 216.1 kB / 0.8052 GB, free: 11.73 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.346e-05/0.6272, allocations: 8 kB / 0.8052 GB, free: 11.72 MB / 0.6387 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.911e-05/0.6272, allocations: 19.98 kB / 0.8052 GB, free: 11.7 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005348/0.6278, allocations: 1.199 MB / 0.8064 GB, free: 10.45 MB / 0.6387 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.459e-06/0.6278, allocations: 4.031 kB / 0.8064 GB, free: 10.45 MB / 0.6387 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002511/0.6303, allocations: 1.294 MB / 0.8077 GB, free: 9.102 MB / 0.6387 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003911/0.6307, allocations: 287.6 kB / 0.808 GB, free: 8.801 MB / 0.6387 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001256/0.6309, allocations: 19.98 kB / 0.808 GB, free: 8.781 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009374/0.6318, allocations: 155.8 kB / 0.8081 GB, free: 8.629 MB / 0.6387 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001237/0.6319, allocations: 56.36 kB / 0.8082 GB, free: 8.574 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.846e-05/0.632, allocations: 35.97 kB / 0.8082 GB, free: 8.539 MB / 0.6387 GB Notification: Performance of sorting global known variables: time 0.0006473/0.6327, allocations: 0.5781 MB / 0.8088 GB, free: 7.949 MB / 0.6387 GB Notification: Performance of sort global known variables: time 1.1e-07/0.6327, allocations: 0 / 0.8088 GB, free: 7.949 MB / 0.6387 GB Notification: Performance of remove unused functions: time 0.001121/0.6338, allocations: 483.1 kB / 0.8092 GB, free: 7.477 MB / 0.6387 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 12 * Number of states: 0 () * Number of discrete variables: 3 ($whenCondition1,trapezoid.T_start,trapezoid.count) * Number of discrete states: 1 (trapezoid.count) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (63): * Single equations (assignments): 57 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * When equations: 2 * 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.003167/0.637, allocations: 2.021 MB / 0.8112 GB, free: 5.406 MB / 0.6387 GB Notification: Performance of simCode: created initialization part: time 0.003988/0.641, allocations: 1.738 MB / 0.8129 GB, free: 3.648 MB / 0.6387 GB Notification: Performance of simCode: created event and clocks part: time 5.55e-06/0.641, allocations: 4 kB / 0.8129 GB, free: 3.645 MB / 0.6387 GB Notification: Performance of simCode: created simulation system equations: time 0.001381/0.6424, allocations: 0.5964 MB / 0.8135 GB, free: 3.043 MB / 0.6387 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002094/0.6445, allocations: 462.6 kB / 0.8139 GB, free: 2.59 MB / 0.6387 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.2565/0.901, allocations: 6.315 MB / 0.8201 GB, free: 217.5 MB / 0.6387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005197/0.9016, allocations: 1.039 MB / 0.8211 GB, free: 216.8 MB / 0.6387 GB Notification: Performance of simCode: alias equations: time 0.001289/0.9029, allocations: 287.5 kB / 0.8214 GB, free: 216.8 MB / 0.6387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004812/0.9033, allocations: 361 kB / 0.8217 GB, free: 216.5 MB / 0.6387 GB Notification: Performance of SimCode: time 6.82e-07/0.9033, allocations: 0 / 0.8217 GB, free: 216.5 MB / 0.6387 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.249/2.153, allocations: 26.95 MB / 0.8481 GB, free: 204.5 MB / 0.6387 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001377/2.153, allocations: 254 kB / 0.8483 GB, free: 204.2 MB / 0.6387 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.42/4.573, allocations: 0 / 0.8483 GB, free: 204.2 MB / 0.6387 GB (rm -f IDEAS_IDEAS.Fluid.HeatExchangers.Validation.ConstantEffectiveness.pipe ; mkfifo IDEAS_IDEAS.Fluid.HeatExchangers.Validation.ConstantEffectiveness.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.HeatExchangers.Validation.ConstantEffectiveness.pipe >> ../files/IDEAS_IDEAS.Fluid.HeatExchangers.Validation.ConstantEffectiveness.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_Fluid_HeatExchangers_Validation_ConstantEffectiveness_fmu --startTime=0 --stopTime=360 --timeout=50 --tolerance=1e-06 IDEAS_IDEAS_Fluid_HeatExchangers_Validation_ConstantEffectiveness.fmu > IDEAS_IDEAS.Fluid.HeatExchangers.Validation.ConstantEffectiveness.pipe 2>&1) Environment - environmentSimulation: