Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.Fluid.HeatExchangers.Validation.EvaporatorCondenser.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.EvaporatorCondenser,fileNamePrefix="IDEAS_IDEAS_Fluid_HeatExchangers_Validation_EvaporatorCondenser",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.HeatExchangers.Validation.EvaporatorCondenser,fileNamePrefix="IDEAS_IDEAS_Fluid_HeatExchangers_Validation_EvaporatorCondenser",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.001167/0.001167, allocations: 108 kB / 15.61 MB, free: 152 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.001292/0.001292, allocations: 194.8 kB / 16.53 MB, free: 6.664 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.26/1.26, allocations: 222.9 MB / 240.2 MB, free: 4.391 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7299/0.7299, allocations: 132.2 MB / 422.6 MB, free: 1.805 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00119/0.00119, allocations: 58.92 kB / 0.5019 GB, free: 3.781 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3262/0.3274, allocations: 80.21 MB / 0.5802 GB, free: 4.566 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.HeatExchangers.Validation.EvaporatorCondenser): time 0.03317/0.3606, allocations: 35.85 MB / 0.6152 GB, free: 9.723 MB / 462.1 MB Notification: Performance of NFInst.instExpressions: time 0.0103/0.3709, allocations: 7.992 MB / 0.623 GB, free: 3.234 MB / 462.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001005/0.372, allocations: 32.66 kB / 0.623 GB, free: 3.223 MB / 462.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001055/0.3731, allocations: 421.6 kB / 0.6234 GB, free: 2.871 MB / 462.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003226/0.3763, allocations: 1.397 MB / 0.6248 GB, free: 1.773 MB / 462.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002529/0.3789, allocations: 1.106 MB / 0.6259 GB, free: 0.957 MB / 462.1 MB Notification: Performance of NFFlatten.flatten: time 0.002245/0.3811, allocations: 2.13 MB / 0.628 GB, free: 15.73 MB / 478.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0008422/0.382, allocations: 0.7308 MB / 0.6287 GB, free: 15.25 MB / 478.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001742/0.3837, allocations: 0.8859 MB / 0.6295 GB, free: 14.74 MB / 478.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007604/0.3845, allocations: 0.6183 MB / 0.6301 GB, free: 14.29 MB / 478.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001224/0.3846, allocations: 76 kB / 0.6302 GB, free: 14.21 MB / 478.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00148/0.3861, allocations: 0.7996 MB / 0.631 GB, free: 13.41 MB / 478.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001841/0.3863, allocations: 195.3 kB / 0.6312 GB, free: 13.22 MB / 478.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004253/0.3867, allocations: 485.8 kB / 0.6317 GB, free: 12.75 MB / 478.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001699/0.3885, allocations: 1.523 MB / 0.6331 GB, free: 11.22 MB / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.657e-06/0.3885, allocations: 4 kB / 0.6331 GB, free: 11.21 MB / 478.1 MB Notification: Performance of FrontEnd: time 1.112e-06/0.3885, allocations: 0 / 0.6331 GB, free: 11.21 MB / 478.1 MB Notification: Performance of Transformations before backend: time 1.406e-05/0.3885, allocations: 0 / 0.6331 GB, free: 11.21 MB / 478.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 145 * Number of variables: 145 Notification: Performance of Generate backend data structure: time 0.001658/0.3902, allocations: 1.221 MB / 0.6343 GB, free: 9.938 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.406e-05/0.3902, allocations: 8.031 kB / 0.6343 GB, free: 9.93 MB / 478.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000112/0.3903, allocations: 106.7 kB / 0.6344 GB, free: 9.816 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002342/0.3927, allocations: 299.1 kB / 0.6347 GB, free: 9.523 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001118/0.3938, allocations: 0.7295 MB / 0.6354 GB, free: 8.75 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.486e-05/0.3938, allocations: 45.31 kB / 0.6355 GB, free: 8.707 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.758e-05/0.3939, allocations: 56 kB / 0.6355 GB, free: 8.652 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001675/0.3956, allocations: 0.7992 MB / 0.6363 GB, free: 7.797 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.498e-05/0.3957, allocations: 0 / 0.6363 GB, free: 7.797 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.89e-05/0.3957, allocations: 24 kB / 0.6363 GB, free: 7.773 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.877e-05/0.3958, allocations: 20 kB / 0.6364 GB, free: 7.754 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001956/0.3977, allocations: 0.6177 MB / 0.637 GB, free: 7.137 MB / 478.1 MB 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.004288/0.402, allocations: 3.97 MB / 0.6408 GB, free: 2.875 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001815/0.4038, allocations: 450.7 kB / 0.6413 GB, free: 2.426 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007962/0.4047, allocations: 204.7 kB / 0.6415 GB, free: 2.223 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0005705/0.4052, allocations: 0.522 MB / 0.642 GB, free: 1.59 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.571e-05/0.4053, allocations: 34.56 kB / 0.642 GB, free: 1.547 MB / 478.1 MB Notification: Performance of pre-optimization done (n=26): time 2.325e-06/0.4053, allocations: 0 / 0.642 GB, free: 1.547 MB / 478.1 MB Notification: Performance of matching and sorting (n=26): time 0.002917/0.4082, allocations: 0.7811 MB / 0.6428 GB, free: 0.7383 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.337e-05/0.4083, allocations: 106.8 kB / 0.6429 GB, free: 0.6094 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006389/0.4089, allocations: 0.5898 MB / 0.6434 GB, free: 8 kB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 5.679e-05/0.409, allocations: 29.7 kB / 0.6435 GB, free: 15.97 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002413/0.4092, allocations: 399.6 kB / 0.6439 GB, free: 15.57 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.383e-05/0.4093, allocations: 98.66 kB / 0.644 GB, free: 15.48 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001514/0.4095, allocations: 101.9 kB / 0.644 GB, free: 15.37 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001237/0.4096, allocations: 370.8 kB / 0.6444 GB, free: 15 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008081/0.4104, allocations: 200.7 kB / 0.6446 GB, free: 14.8 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009088/0.4114, allocations: 359.3 kB / 0.6449 GB, free: 14.38 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001674/0.413, allocations: 0.5221 MB / 0.6454 GB, free: 13.81 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.049e-06/0.4131, allocations: 4 kB / 0.6455 GB, free: 13.8 MB / 494.1 MB Notification: Performance of matching and sorting (n=51) (initialization): time 0.002007/0.4151, allocations: 0.6429 MB / 0.6461 GB, free: 13.15 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.663e-05/0.4151, allocations: 8.406 kB / 0.6461 GB, free: 13.14 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.015e-06/0.4151, allocations: 8 kB / 0.6461 GB, free: 13.14 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002447/0.4154, allocations: 64.75 kB / 0.6462 GB, free: 13.07 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007232/0.4161, allocations: 135.8 kB / 0.6463 GB, free: 12.94 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004355/0.4165, allocations: 0.6226 MB / 0.6469 GB, free: 12.29 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007586/0.4173, allocations: 83.47 kB / 0.647 GB, free: 12.21 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.912e-05/0.4174, allocations: 23.97 kB / 0.647 GB, free: 12.18 MB / 494.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 18 * 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 initialization (46): * Single equations (assignments): 45 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,5)} Notification: Performance of prepare postOptimizeDAE: time 0.000319/0.4177, allocations: 225.7 kB / 0.6472 GB, free: 11.95 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001385/0.4178, allocations: 63.25 kB / 0.6473 GB, free: 11.89 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002056/0.4199, allocations: 0.6211 MB / 0.6479 GB, free: 11.27 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.296e-06/0.4199, allocations: 8 kB / 0.6479 GB, free: 11.26 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.268e-06/0.4199, allocations: 0 / 0.6479 GB, free: 11.26 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001738/0.4217, allocations: 0.6984 MB / 0.6486 GB, free: 10.49 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002634/0.4243, allocations: 1.288 MB / 0.6498 GB, free: 9.125 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.278e-06/0.4243, allocations: 0 / 0.6498 GB, free: 9.125 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005675/0.4249, allocations: 91.92 kB / 0.6499 GB, free: 9.035 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000181/0.4251, allocations: 52.83 kB / 0.65 GB, free: 8.98 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.299e-05/0.4252, allocations: 15.97 kB / 0.65 GB, free: 8.965 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003852/0.4255, allocations: 0.6031 MB / 0.6506 GB, free: 8.336 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.256e-06/0.4256, allocations: 4.094 kB / 0.6506 GB, free: 8.332 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002674/0.4282, allocations: 0.8921 MB / 0.6514 GB, free: 7.406 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000248/0.4285, allocations: 208.2 kB / 0.6516 GB, free: 7.184 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001086/0.4286, allocations: 15.89 kB / 0.6517 GB, free: 7.168 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007583/0.4294, allocations: 52.06 kB / 0.6517 GB, free: 7.117 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.534e-05/0.4294, allocations: 23.86 kB / 0.6517 GB, free: 7.094 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.797e-05/0.4295, allocations: 27.95 kB / 0.6518 GB, free: 7.066 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.0005294/0.43, allocations: 487 kB / 0.6522 GB, free: 6.598 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.51e-07/0.43, allocations: 0 / 0.6522 GB, free: 6.598 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0007699/0.4308, allocations: 275.5 kB / 0.6525 GB, free: 6.328 MB / 494.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 1 (senTem.T) * 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 (21): * Single equations (assignments): 18 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,5)} Notification: Performance of Backend phase and start with SimCode phase: time 0.003407/0.4342, allocations: 1.641 MB / 0.6541 GB, free: 4.656 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.001879/0.4361, allocations: 0.5002 MB / 0.6546 GB, free: 4.156 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 4.999e-06/0.4361, allocations: 8 kB / 0.6546 GB, free: 4.148 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0008841/0.437, allocations: 228 kB / 0.6548 GB, free: 3.926 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001715/0.4388, allocations: 388.7 kB / 0.6552 GB, free: 3.566 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01012/0.4489, allocations: 5.946 MB / 0.661 GB, free: 13.4 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004119/0.4493, allocations: 0.9295 MB / 0.6619 GB, free: 12.45 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.0006784/0.45, allocations: 153.7 kB / 0.662 GB, free: 12.3 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003481/0.4504, allocations: 271.3 kB / 0.6623 GB, free: 12.03 MB / 0.4981 GB Notification: Performance of SimCode: time 5.81e-07/0.4504, allocations: 4 kB / 0.6623 GB, free: 12.03 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04099/0.4914, allocations: 22.19 MB / 0.684 GB, free: 6.25 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.62/11.11, allocations: 6.156 kB / 0.684 GB, free: 6.246 MB / 0.5137 GB (rm -f IDEAS_IDEAS.Fluid.HeatExchangers.Validation.EvaporatorCondenser.pipe ; mkfifo IDEAS_IDEAS.Fluid.HeatExchangers.Validation.EvaporatorCondenser.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.HeatExchangers.Validation.EvaporatorCondenser.pipe >> ../files/IDEAS_IDEAS.Fluid.HeatExchangers.Validation.EvaporatorCondenser.sim & python3 -m fmpy simulate --output-file IDEAS_IDEAS.Fluid.HeatExchangers.Validation.EvaporatorCondenser_res.csv --start-time 0 --stop-time 100 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.04 IDEAS_IDEAS_Fluid_HeatExchangers_Validation_EvaporatorCondenser.fmu > IDEAS_IDEAS.Fluid.HeatExchangers.Validation.EvaporatorCondenser.pipe 2>&1)