Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_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-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.EvaporatorCondenser,fileNamePrefix="IDEAS_dev_IDEAS_Fluid_HeatExchangers_Validation_EvaporatorCondenser",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.HeatExchangers.Validation.EvaporatorCondenser,fileNamePrefix="IDEAS_dev_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.001339/0.001339, 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.001104/0.001104, allocations: 195.5 kB / 16.53 MB, free: 6.699 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.322/1.322, allocations: 222.9 MB / 240.2 MB, free: 4.41 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9157/0.9157, allocations: 135.1 MB / 425.5 MB, free: 12.02 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00131/0.00131, allocations: 67.45 kB / 0.5054 GB, free: 5.242 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1277/0.129, allocations: 80.92 MB / 0.5845 GB, free: 4.488 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.HeatExchangers.Validation.EvaporatorCondenser): time 0.2477/0.3767, allocations: 35.84 MB / 0.6195 GB, free: 34.45 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.008024/0.3847, allocations: 7.993 MB / 0.6273 GB, free: 29.62 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000791/0.3856, allocations: 32.38 kB / 0.6273 GB, free: 29.61 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.0008367/0.3864, allocations: 435 kB / 0.6277 GB, free: 29.34 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.002542/0.389, allocations: 1.388 MB / 0.6291 GB, free: 28.55 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.00228/0.3913, allocations: 1.108 MB / 0.6302 GB, free: 27.96 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.00188/0.3932, allocations: 2.128 MB / 0.6322 GB, free: 26.94 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007009/0.3939, allocations: 0.7277 MB / 0.6329 GB, free: 26.6 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001479/0.3954, allocations: 0.8906 MB / 0.6338 GB, free: 26.18 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006142/0.396, allocations: 0.6156 MB / 0.6344 GB, free: 25.9 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 0.0001115/0.3961, allocations: 78.88 kB / 0.6345 GB, free: 25.89 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001333/0.3975, allocations: 0.7935 MB / 0.6353 GB, free: 25.62 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 0.0001584/0.3976, allocations: 206.3 kB / 0.6355 GB, free: 25.49 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.0003574/0.398, allocations: 480.9 kB / 0.6359 GB, free: 25.21 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.00137/0.3994, allocations: 1.516 MB / 0.6374 GB, free: 24.66 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 4.9e-06/0.3994, allocations: 3.516 kB / 0.6374 GB, free: 24.66 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.603e-06/0.3994, allocations: 0 / 0.6374 GB, free: 24.66 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 1.06e-05/0.3994, allocations: 0 / 0.6374 GB, free: 24.66 MB / 0.4981 GB 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.001536/0.401, allocations: 1.227 MB / 0.6386 GB, free: 23.79 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.416e-05/0.401, allocations: 9.219 kB / 0.6386 GB, free: 23.79 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.223e-05/0.4011, allocations: 101.2 kB / 0.6387 GB, free: 23.71 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002317/0.4034, allocations: 300 kB / 0.639 GB, free: 23.66 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009315/0.4044, allocations: 0.7325 MB / 0.6397 GB, free: 23.17 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.577e-05/0.4044, allocations: 41.88 kB / 0.6397 GB, free: 23.15 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.516e-05/0.4045, allocations: 64.28 kB / 0.6398 GB, free: 23.13 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001515/0.406, allocations: 0.7879 MB / 0.6406 GB, free: 22.74 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.57e-05/0.406, allocations: 3.938 kB / 0.6406 GB, free: 22.73 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.738e-05/0.4061, allocations: 36.77 kB / 0.6406 GB, free: 22.71 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.447e-05/0.4061, allocations: 15.78 kB / 0.6406 GB, free: 22.71 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001873/0.408, allocations: 0.6076 MB / 0.6412 GB, free: 22.53 MB / 0.4981 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.003602/0.4116, allocations: 3.96 MB / 0.6451 GB, free: 19.39 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001767/0.4134, allocations: 455.7 kB / 0.6455 GB, free: 19.24 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007722/0.4142, allocations: 213.1 kB / 0.6457 GB, free: 19.18 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004933/0.4147, allocations: 0.5176 MB / 0.6462 GB, free: 18.61 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.289e-05/0.4147, allocations: 45.17 kB / 0.6463 GB, free: 18.55 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=26): time 1.713e-06/0.4147, allocations: 0 / 0.6463 GB, free: 18.55 MB / 0.4981 GB Notification: Performance of matching and sorting (n=26): time 0.002764/0.4175, allocations: 0.7713 MB / 0.647 GB, free: 18.25 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.159e-05/0.4176, allocations: 105.4 kB / 0.6471 GB, free: 18.12 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005381/0.4181, allocations: 0.5918 MB / 0.6477 GB, free: 17.84 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 3.911e-05/0.4182, allocations: 40.27 kB / 0.6477 GB, free: 17.8 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.000184/0.4183, allocations: 381.7 kB / 0.6481 GB, free: 17.5 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 6.376e-05/0.4184, allocations: 97.3 kB / 0.6482 GB, free: 17.42 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001367/0.4186, allocations: 108.5 kB / 0.6483 GB, free: 17.37 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 7.244e-05/0.4186, allocations: 374.5 kB / 0.6487 GB, free: 17.02 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007804/0.4194, allocations: 204.7 kB / 0.6489 GB, free: 16.97 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008264/0.4203, allocations: 353.3 kB / 0.6492 GB, free: 16.73 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001577/0.4218, allocations: 0.5231 MB / 0.6497 GB, free: 16.43 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.096e-06/0.4219, allocations: 6.969 kB / 0.6497 GB, free: 16.43 MB / 0.4981 GB Notification: Performance of matching and sorting (n=51) (initialization): time 0.001896/0.4238, allocations: 0.6516 MB / 0.6504 GB, free: 16.19 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.664e-05/0.4238, allocations: 9 kB / 0.6504 GB, free: 16.19 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.374e-06/0.4238, allocations: 2.938 kB / 0.6504 GB, free: 16.19 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002227/0.424, allocations: 63.53 kB / 0.6504 GB, free: 16.16 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006978/0.4247, allocations: 132.2 kB / 0.6505 GB, free: 16.15 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003446/0.4251, allocations: 0.625 MB / 0.6512 GB, free: 15.58 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007419/0.4258, allocations: 81.94 kB / 0.6512 GB, free: 15.55 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.064e-05/0.4259, allocations: 26.2 kB / 0.6513 GB, free: 15.55 MB / 0.4981 GB 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.0002598/0.4262, allocations: 220.6 kB / 0.6515 GB, free: 15.37 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001322/0.4263, allocations: 69.47 kB / 0.6515 GB, free: 15.33 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002016/0.4283, allocations: 0.6135 MB / 0.6521 GB, free: 15.11 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.576e-06/0.4284, allocations: 3.281 kB / 0.6521 GB, free: 15.11 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.228e-06/0.4284, allocations: 0 / 0.6521 GB, free: 15.11 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001718/0.4301, allocations: 0.7025 MB / 0.6528 GB, free: 14.65 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002539/0.4326, allocations: 1.3 MB / 0.6541 GB, free: 13.96 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.031e-06/0.4327, allocations: 6.25 kB / 0.6541 GB, free: 13.96 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006834/0.4333, allocations: 75.48 kB / 0.6542 GB, free: 13.96 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001929/0.4336, allocations: 58.75 kB / 0.6542 GB, free: 13.93 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.675e-05/0.4336, allocations: 16.23 kB / 0.6542 GB, free: 13.93 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003206/0.4339, allocations: 0.6179 MB / 0.6549 GB, free: 13.36 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.514e-06/0.4339, allocations: 1.75 kB / 0.6549 GB, free: 13.36 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002897/0.4368, allocations: 0.8868 MB / 0.6557 GB, free: 12.94 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002943/0.4372, allocations: 204.4 kB / 0.6559 GB, free: 12.78 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000114/0.4373, allocations: 8.797 kB / 0.6559 GB, free: 12.78 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007965/0.4381, allocations: 48.47 kB / 0.656 GB, free: 12.77 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.648e-05/0.4381, allocations: 27.47 kB / 0.656 GB, free: 12.76 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.477e-05/0.4382, allocations: 27.66 kB / 0.656 GB, free: 12.76 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.0006076/0.4388, allocations: 486.1 kB / 0.6565 GB, free: 12.55 MB / 0.4981 GB Notification: Performance of sort global known variables: time 2.1e-07/0.4388, allocations: 0 / 0.6565 GB, free: 12.55 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0008697/0.4397, allocations: 268.9 kB / 0.6567 GB, free: 12.49 MB / 0.4981 GB 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.003433/0.4431, allocations: 1.648 MB / 0.6584 GB, free: 11.47 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.001981/0.4451, allocations: 0.4987 MB / 0.6588 GB, free: 11.33 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 3.657e-06/0.4452, allocations: 1.156 kB / 0.6588 GB, free: 11.33 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0008955/0.4461, allocations: 239.2 kB / 0.6591 GB, free: 11.27 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00173/0.4478, allocations: 397.6 kB / 0.6594 GB, free: 11.15 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009854/0.4577, allocations: 5.932 MB / 0.6652 GB, free: 7.809 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003473/0.458, allocations: 0.9278 MB / 0.6661 GB, free: 7.086 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.0007182/0.4588, allocations: 159.1 kB / 0.6663 GB, free: 7.031 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003331/0.4591, allocations: 272.1 kB / 0.6666 GB, free: 6.844 MB / 0.4981 GB Notification: Performance of SimCode: time 7.71e-07/0.4591, allocations: 0 / 0.6666 GB, free: 6.844 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04271/0.5018, allocations: 22.22 MB / 0.6883 GB, free: 15.8 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.9/11.4, allocations: 5.906 kB / 0.6883 GB, free: 15.79 MB / 0.5137 GB (rm -f IDEAS_dev_IDEAS.Fluid.HeatExchangers.Validation.EvaporatorCondenser.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.HeatExchangers.Validation.EvaporatorCondenser.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.HeatExchangers.Validation.EvaporatorCondenser.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.HeatExchangers.Validation.EvaporatorCondenser.sim & python3 -m fmpy simulate --output-file IDEAS_dev_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_dev_IDEAS_Fluid_HeatExchangers_Validation_EvaporatorCondenser.fmu > IDEAS_dev_IDEAS.Fluid.HeatExchangers.Validation.EvaporatorCondenser.pipe 2>&1)