Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_dev_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-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.HeatExchangers.Validation.ConstantEffectiveness,fileNamePrefix="IDEAS_dev_IDEAS_Fluid_HeatExchangers_Validation_ConstantEffectiveness",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.HeatExchangers.Validation.ConstantEffectiveness,fileNamePrefix="IDEAS_dev_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.0008622/0.0008623, allocations: 98.03 kB / 15.36 MB, free: 0.7344 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.004592/0.004592, allocations: 168.4 kB / 16.26 MB, free: 6.648 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.181/1.181, allocations: 223.3 MB / 240.3 MB, free: 5.344 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.7844/0.7844, allocations: 135.3 MB / 426.7 MB, free: 14.19 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002529/0.0002529, allocations: 9.438 kB / 0.5077 GB, free: 4.652 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.121/0.1213, allocations: 82.3 MB / 0.5881 GB, free: 2.52 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.HeatExchangers.Validation.ConstantEffectiveness): time 0.3689/0.4903, allocations: 195 MB / 0.7785 GB, free: 9.398 MB / 0.5919 GB Notification: Performance of NFInst.instExpressions: time 0.008978/0.4993, allocations: 7.641 MB / 0.786 GB, free: 1.738 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006725/0.5, allocations: 35.75 kB / 0.786 GB, free: 1.703 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 0.001223/0.5012, allocations: 0.5672 MB / 0.7865 GB, free: 1.133 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.003351/0.5046, allocations: 1.836 MB / 0.7883 GB, free: 15.29 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.002006/0.5066, allocations: 1.057 MB / 0.7894 GB, free: 14.25 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.002988/0.5096, allocations: 3.472 MB / 0.7928 GB, free: 10.77 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0009437/0.5105, allocations: 0.8217 MB / 0.7936 GB, free: 9.934 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00212/0.5127, allocations: 1.365 MB / 0.7949 GB, free: 8.562 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001126/0.5138, allocations: 0.7941 MB / 0.7957 GB, free: 7.766 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 8.894e-05/0.5139, allocations: 40 kB / 0.7957 GB, free: 7.727 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002661/0.5166, allocations: 1.968 MB / 0.7976 GB, free: 5.754 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 0.0002296/0.5168, allocations: 266.9 kB / 0.7979 GB, free: 5.492 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.0004653/0.5173, allocations: 0.565 MB / 0.7984 GB, free: 4.918 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.002026/0.5193, allocations: 2.111 MB / 0.8005 GB, free: 2.801 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 2.635e-06/0.5193, allocations: 0 / 0.8005 GB, free: 2.801 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.603e-06/0.5193, allocations: 0 / 0.8005 GB, free: 2.801 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 8.807e-06/0.5194, allocations: 0 / 0.8005 GB, free: 2.801 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.00287/0.5222, allocations: 1.471 MB / 0.8019 GB, free: 1.277 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.234e-05/0.5223, allocations: 8.031 kB / 0.8019 GB, free: 1.27 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.00013/0.5224, allocations: 118.5 kB / 0.8021 GB, free: 1.145 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002139/0.5245, allocations: 482.1 kB / 0.8025 GB, free: 0.6719 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001392/0.526, allocations: 0.9136 MB / 0.8034 GB, free: 15.71 MB / 0.6231 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006023/0.5266, allocations: 189.9 kB / 0.8036 GB, free: 15.52 MB / 0.6231 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001218/0.5267, allocations: 75.84 kB / 0.8037 GB, free: 15.45 MB / 0.6231 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002216/0.5289, allocations: 1.13 MB / 0.8048 GB, free: 14.3 MB / 0.6231 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.443e-05/0.5289, allocations: 0 / 0.8048 GB, free: 14.3 MB / 0.6231 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.181e-05/0.529, allocations: 28 kB / 0.8048 GB, free: 14.28 MB / 0.6231 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.538e-05/0.5291, allocations: 34 kB / 0.8048 GB, free: 14.24 MB / 0.6231 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002998/0.5321, allocations: 1.28 MB / 0.8061 GB, free: 12.96 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.005479/0.5376, allocations: 4.159 MB / 0.8101 GB, free: 8.512 MB / 0.6231 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002483/0.5401, allocations: 0.9332 MB / 0.811 GB, free: 7.57 MB / 0.6231 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001268/0.5413, allocations: 0.5334 MB / 0.8116 GB, free: 7.035 MB / 0.6231 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007131/0.5421, allocations: 0.6487 MB / 0.8122 GB, free: 6.258 MB / 0.6231 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001429/0.5435, allocations: 0.6343 MB / 0.8128 GB, free: 5.609 MB / 0.6231 GB Notification: Performance of pre-optimization done (n=57): time 1.733e-06/0.5435, allocations: 4 kB / 0.8128 GB, free: 5.605 MB / 0.6231 GB Notification: Performance of matching and sorting (n=57): time 0.003979/0.5475, allocations: 1.524 MB / 0.8143 GB, free: 4.07 MB / 0.6231 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.951e-05/0.5476, allocations: 89.61 kB / 0.8144 GB, free: 3.965 MB / 0.6231 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000862/0.5484, allocations: 0.8318 MB / 0.8152 GB, free: 3.109 MB / 0.6231 GB Notification: Performance of collectPreVariables (initialization): time 6.775e-05/0.5485, allocations: 37.7 kB / 0.8152 GB, free: 3.066 MB / 0.6231 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002889/0.5488, allocations: 428.4 kB / 0.8157 GB, free: 2.645 MB / 0.6231 GB Notification: Performance of collectInitialBindings (initialization): time 0.000148/0.549, allocations: 201.1 kB / 0.8158 GB, free: 2.445 MB / 0.6231 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.531e-05/0.5491, allocations: 49.69 kB / 0.8159 GB, free: 2.391 MB / 0.6231 GB Notification: Performance of setup shared object (initialization): time 0.0001016/0.5492, allocations: 330 kB / 0.8162 GB, free: 2.062 MB / 0.6231 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00122/0.5504, allocations: 464.7 kB / 0.8167 GB, free: 1.609 MB / 0.6231 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001319/0.5517, allocations: 0.5877 MB / 0.8172 GB, free: 0.9766 MB / 0.6231 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002426/0.5541, allocations: 0.9835 MB / 0.8182 GB, free: 15.96 MB / 0.6387 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.746e-06/0.5542, allocations: 0 / 0.8182 GB, free: 15.96 MB / 0.6387 GB Notification: Performance of matching and sorting (n=70) (initialization): time 0.002784/0.557, allocations: 1.167 MB / 0.8193 GB, free: 14.78 MB / 0.6387 GB Notification: Performance of prepare postOptimizeDAE: time 9.193e-05/0.5571, allocations: 185.1 kB / 0.8195 GB, free: 14.57 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.17e-06/0.5571, allocations: 0 / 0.8195 GB, free: 14.57 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.296e-05/0.5571, allocations: 4 kB / 0.8195 GB, free: 14.57 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001273/0.5584, allocations: 243.7 kB / 0.8197 GB, free: 14.33 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005903/0.559, allocations: 1.199 MB / 0.8209 GB, free: 13.08 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001054/0.56, allocations: 198.6 kB / 0.8211 GB, free: 12.89 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.575e-05/0.5601, allocations: 31.97 kB / 0.8211 GB, free: 12.86 MB / 0.6387 GB Notification: Performance of prepare postOptimizeDAE: time 6.963e-06/0.5601, allocations: 4 kB / 0.8211 GB, free: 12.86 MB / 0.6387 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002643/0.5628, allocations: 1.053 MB / 0.8222 GB, free: 11.79 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.966e-06/0.5628, allocations: 0 / 0.8222 GB, free: 11.79 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.342e-06/0.5628, allocations: 8 kB / 0.8222 GB, free: 11.79 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009641/0.5638, allocations: 227.8 kB / 0.8224 GB, free: 11.56 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.073e-06/0.5638, allocations: 5.016 kB / 0.8224 GB, free: 11.56 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009357/0.5647, allocations: 187.2 kB / 0.8226 GB, free: 11.38 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.576e-05/0.5648, allocations: 27.92 kB / 0.8226 GB, free: 11.35 MB / 0.6387 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 (trapezoid.count,$PRE.trapezoid.count,trapezoid.T_start,$PRE.trapezoid.T_start,$whenCondition1) * 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 (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.0003548/0.5651, allocations: 345.5 kB / 0.8229 GB, free: 11 MB / 0.6387 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001198/0.5653, allocations: 98.78 kB / 0.823 GB, free: 10.9 MB / 0.6387 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00295/0.5682, allocations: 1.209 MB / 0.8242 GB, free: 9.699 MB / 0.6387 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.267e-06/0.5682, allocations: 8 kB / 0.8242 GB, free: 9.691 MB / 0.6387 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.52e-06/0.5683, allocations: 3.984 kB / 0.8242 GB, free: 9.688 MB / 0.6387 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.713e-06/0.5683, allocations: 0 / 0.8242 GB, free: 9.688 MB / 0.6387 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004145/0.5724, allocations: 2.4 MB / 0.8266 GB, free: 7.199 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.671e-06/0.5724, allocations: 3.938 kB / 0.8266 GB, free: 7.195 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009612/0.5734, allocations: 224 kB / 0.8268 GB, free: 6.977 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.44e-06/0.5734, allocations: 4 kB / 0.8268 GB, free: 6.973 MB / 0.6387 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.826e-05/0.5735, allocations: 19.98 kB / 0.8268 GB, free: 6.953 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004754/0.5739, allocations: 1.199 MB / 0.828 GB, free: 5.707 MB / 0.6387 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.436e-06/0.574, allocations: 4 kB / 0.828 GB, free: 5.703 MB / 0.6387 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002724/0.5767, allocations: 1.29 MB / 0.8292 GB, free: 4.363 MB / 0.6387 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003306/0.577, allocations: 291.6 kB / 0.8295 GB, free: 4.059 MB / 0.6387 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001145/0.5772, allocations: 19.94 kB / 0.8295 GB, free: 4.039 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001046/0.5782, allocations: 163.6 kB / 0.8297 GB, free: 3.879 MB / 0.6387 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001271/0.5783, allocations: 60.3 kB / 0.8297 GB, free: 3.816 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.899e-05/0.5784, allocations: 27.98 kB / 0.8298 GB, free: 3.789 MB / 0.6387 GB Notification: Performance of sorting global known variables: time 0.0006087/0.579, allocations: 0.5821 MB / 0.8303 GB, free: 3.195 MB / 0.6387 GB Notification: Performance of sort global known variables: time 1.4e-07/0.579, allocations: 0 / 0.8303 GB, free: 3.195 MB / 0.6387 GB Notification: Performance of remove unused functions: time 0.001002/0.58, allocations: 483.2 kB / 0.8308 GB, free: 2.723 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 (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.003436/0.5835, allocations: 2.033 MB / 0.8328 GB, free: 0.6367 MB / 0.6387 GB Notification: Performance of simCode: created initialization part: time 0.004385/0.5879, allocations: 1.746 MB / 0.8345 GB, free: 14.87 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 2.695e-06/0.5879, allocations: 0 / 0.8345 GB, free: 14.87 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 0.001518/0.5894, allocations: 0.6003 MB / 0.8351 GB, free: 14.27 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002374/0.5918, allocations: 457.9 kB / 0.8355 GB, free: 13.82 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01507/0.6069, allocations: 8.72 MB / 0.844 GB, free: 4.793 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005351/0.6074, allocations: 1.046 MB / 0.8451 GB, free: 3.719 MB / 0.6544 GB Notification: Performance of simCode: alias equations: time 0.001081/0.6085, allocations: 285.9 kB / 0.8453 GB, free: 3.441 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004964/0.609, allocations: 363.3 kB / 0.8457 GB, free: 3.086 MB / 0.6544 GB Notification: Performance of SimCode: time 3.91e-07/0.609, allocations: 0 / 0.8457 GB, free: 3.086 MB / 0.6544 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.7264/1.335, allocations: 25.79 MB / 0.8709 GB, free: 217.3 MB / 0.67 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001503/1.336, allocations: 285.7 kB / 0.8711 GB, free: 216.9 MB / 0.67 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.366/3.701, allocations: 0 / 0.8711 GB, free: 216.9 MB / 0.67 GB (rm -f IDEAS_dev_IDEAS.Fluid.HeatExchangers.Validation.ConstantEffectiveness.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.HeatExchangers.Validation.ConstantEffectiveness.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.HeatExchangers.Validation.ConstantEffectiveness.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.HeatExchangers.Validation.ConstantEffectiveness.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_Fluid_HeatExchangers_Validation_ConstantEffectiveness_fmu --startTime=0 --stopTime=360 --timeout=50 --tolerance=1e-06 IDEAS_dev_IDEAS_Fluid_HeatExchangers_Validation_ConstantEffectiveness.fmu > IDEAS_dev_IDEAS.Fluid.HeatExchangers.Validation.ConstantEffectiveness.pipe 2>&1)