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.01066/0.01066, allocations: 103.6 kB / 15.74 MB, free: 6.043 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.002388/0.002388, allocations: 202.5 kB / 16.68 MB, free: 5.965 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 3.031/3.031, allocations: 222.9 MB / 240.4 MB, free: 4.301 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 1.739/1.739, allocations: 135.2 MB / 425.7 MB, free: 12.01 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.003764/0.003764, allocations: 67.91 kB / 0.5852 GB, free: 3.801 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8096/0.8134, allocations: 80.93 MB / 0.6642 GB, free: 7.195 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.HeatExchangers.Validation.EvaporatorCondenser): time 0.08455/0.898, allocations: 35.86 MB / 0.6992 GB, free: 10.39 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.03058/0.9286, allocations: 8 MB / 0.707 GB, free: 3.895 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002583/0.9313, allocations: 32.66 kB / 0.7071 GB, free: 3.883 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 0.002585/0.9339, allocations: 420.7 kB / 0.7075 GB, free: 3.531 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 0.008829/0.9428, allocations: 1.386 MB / 0.7088 GB, free: 2.441 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.006547/0.9494, allocations: 1.12 MB / 0.7099 GB, free: 1.609 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 0.006965/0.9564, allocations: 2.145 MB / 0.712 GB, free: 348 kB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002426/0.9588, allocations: 0.7225 MB / 0.7127 GB, free: 15.69 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005116/0.964, allocations: 0.8973 MB / 0.7136 GB, free: 14.79 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002533/0.9665, allocations: 0.6068 MB / 0.7142 GB, free: 14.18 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 0.0004328/0.967, allocations: 72 kB / 0.7143 GB, free: 14.11 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004909/0.9719, allocations: 0.8542 MB / 0.7151 GB, free: 13.26 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 0.0006878/0.9726, allocations: 199.3 kB / 0.7153 GB, free: 13.06 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 0.001893/0.9746, allocations: 477.8 kB / 0.7157 GB, free: 12.59 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.01117/0.9857, allocations: 1.535 MB / 0.7172 GB, free: 11.06 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 1.226e-05/0.9859, allocations: 0 / 0.7172 GB, free: 11.06 MB / 0.545 GB Notification: Performance of FrontEnd: time 4.969e-06/0.9859, allocations: 4 kB / 0.7172 GB, free: 11.05 MB / 0.545 GB Notification: Performance of Transformations before backend: time 8.486e-05/0.986, allocations: 0 / 0.7172 GB, free: 11.05 MB / 0.545 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.00591/0.9919, allocations: 1.247 MB / 0.7185 GB, free: 9.746 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 7.953e-05/0.992, allocations: 12.03 kB / 0.7185 GB, free: 9.734 MB / 0.545 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003903/0.9924, allocations: 102.7 kB / 0.7186 GB, free: 9.625 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004783/0.9972, allocations: 307.4 kB / 0.7189 GB, free: 9.324 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007608/1.005, allocations: 0.769 MB / 0.7196 GB, free: 8.512 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001127/1.005, allocations: 45.3 kB / 0.7197 GB, free: 8.469 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003181/1.005, allocations: 67.94 kB / 0.7197 GB, free: 8.402 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004245/1.01, allocations: 0.7914 MB / 0.7205 GB, free: 7.555 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.132e-05/1.01, allocations: 4 kB / 0.7205 GB, free: 7.551 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001828/1.01, allocations: 28 kB / 0.7205 GB, free: 7.523 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.657e-05/1.01, allocations: 19.94 kB / 0.7205 GB, free: 7.504 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004197/1.014, allocations: 0.6177 MB / 0.7211 GB, free: 6.887 MB / 0.545 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.01618/1.03, allocations: 3.928 MB / 0.725 GB, free: 2.672 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003414/1.034, allocations: 462.2 kB / 0.7254 GB, free: 2.215 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001366/1.035, allocations: 208.6 kB / 0.7256 GB, free: 2.008 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00124/1.037, allocations: 0.5181 MB / 0.7261 GB, free: 1.379 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.985e-05/1.037, allocations: 38.56 kB / 0.7262 GB, free: 1.332 MB / 0.545 GB Notification: Performance of pre-optimization done (n=26): time 1.097e-05/1.037, allocations: 0 / 0.7262 GB, free: 1.332 MB / 0.545 GB Notification: Performance of matching and sorting (n=26): time 0.006298/1.043, allocations: 0.7792 MB / 0.7269 GB, free: 0.5273 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001796/1.043, allocations: 110.8 kB / 0.727 GB, free: 404 kB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001883/1.045, allocations: 0.586 MB / 0.7276 GB, free: 15.8 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 0.0001343/1.045, allocations: 33.7 kB / 0.7276 GB, free: 15.76 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.000599/1.046, allocations: 408.4 kB / 0.728 GB, free: 15.36 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.000229/1.046, allocations: 91.22 kB / 0.7281 GB, free: 15.27 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003437/1.047, allocations: 110 kB / 0.7282 GB, free: 15.15 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0003051/1.047, allocations: 362.8 kB / 0.7286 GB, free: 14.79 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001392/1.048, allocations: 200.7 kB / 0.7288 GB, free: 14.59 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002043/1.05, allocations: 359.3 kB / 0.7291 GB, free: 14.18 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003543/1.054, allocations: 0.5216 MB / 0.7296 GB, free: 13.6 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.022e-05/1.054, allocations: 0 / 0.7296 GB, free: 13.6 MB / 0.5606 GB Notification: Performance of matching and sorting (n=51) (initialization): time 0.004456/1.058, allocations: 0.6554 MB / 0.7302 GB, free: 12.94 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 3.378e-05/1.058, allocations: 8.406 kB / 0.7303 GB, free: 12.93 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.054e-05/1.059, allocations: 8 kB / 0.7303 GB, free: 12.92 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005574/1.059, allocations: 64.77 kB / 0.7303 GB, free: 12.86 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001428/1.061, allocations: 135.7 kB / 0.7305 GB, free: 12.72 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001075/1.062, allocations: 0.6227 MB / 0.7311 GB, free: 12.07 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001624/1.063, allocations: 79.56 kB / 0.7311 GB, free: 12 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001171/1.063, allocations: 23.98 kB / 0.7312 GB, free: 11.97 MB / 0.5606 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.0009436/1.064, allocations: 229.7 kB / 0.7314 GB, free: 11.74 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005059/1.065, allocations: 67.56 kB / 0.7314 GB, free: 11.67 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003821/1.069, allocations: 0.6122 MB / 0.732 GB, free: 11.04 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.895e-05/1.069, allocations: 4 kB / 0.732 GB, free: 11.04 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.576e-06/1.069, allocations: 0 / 0.732 GB, free: 11.04 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.00365/1.073, allocations: 0.7062 MB / 0.7327 GB, free: 10.26 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006049/1.079, allocations: 1.305 MB / 0.734 GB, free: 8.879 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.171e-05/1.079, allocations: 3.938 kB / 0.734 GB, free: 8.875 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001158/1.08, allocations: 80 kB / 0.7341 GB, free: 8.797 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004059/1.08, allocations: 60.81 kB / 0.7341 GB, free: 8.734 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.312e-05/1.08, allocations: 15.98 kB / 0.7342 GB, free: 8.719 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009723/1.081, allocations: 0.6032 MB / 0.7348 GB, free: 8.09 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.896e-06/1.081, allocations: 3.938 kB / 0.7348 GB, free: 8.086 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005848/1.087, allocations: 0.8907 MB / 0.7356 GB, free: 7.16 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008698/1.088, allocations: 220.4 kB / 0.7358 GB, free: 6.926 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003267/1.088, allocations: 8 kB / 0.7358 GB, free: 6.918 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001542/1.09, allocations: 56.06 kB / 0.7359 GB, free: 6.863 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001154/1.09, allocations: 23.91 kB / 0.7359 GB, free: 6.84 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001209/1.09, allocations: 23.97 kB / 0.7359 GB, free: 6.816 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.001499/1.092, allocations: 487 kB / 0.7364 GB, free: 6.348 MB / 0.5606 GB Notification: Performance of sort global known variables: time 5.31e-07/1.092, allocations: 4 kB / 0.7364 GB, free: 6.344 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.001977/1.094, allocations: 275.4 kB / 0.7367 GB, free: 6.074 MB / 0.5606 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.007714/1.102, allocations: 1.629 MB / 0.7383 GB, free: 4.406 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.00365/1.105, allocations: 496.2 kB / 0.7387 GB, free: 3.922 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 7.414e-06/1.105, allocations: 0 / 0.7387 GB, free: 3.922 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.001474/1.107, allocations: 240 kB / 0.739 GB, free: 3.688 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003472/1.11, allocations: 395.1 kB / 0.7393 GB, free: 3.316 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0207/1.131, allocations: 5.783 MB / 0.745 GB, free: 13.32 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009387/1.132, allocations: 0.9217 MB / 0.7459 GB, free: 12.37 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.001181/1.133, allocations: 153.8 kB / 0.746 GB, free: 12.21 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006561/1.134, allocations: 271.3 kB / 0.7463 GB, free: 11.95 MB / 0.5762 GB Notification: Performance of SimCode: time 9.82e-07/1.134, allocations: 4 kB / 0.7463 GB, free: 11.95 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1661/1.3, allocations: 22.39 MB / 0.7682 GB, free: 5.93 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate platform static: time 25.37/26.67, allocations: 0.5938 kB / 0.7682 GB, free: 5.93 MB / 0.5919 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)