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.001807/0.001807, allocations: 103.4 kB / 15.33 MB, free: 0.5078 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.001998/0.001998, allocations: 197.8 kB / 16.26 MB, free: 6.625 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 2.044/2.044, allocations: 222.9 MB / 239.9 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 1.316/1.316, allocations: 135.1 MB / 425.2 MB, free: 11.86 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00143/0.00143, allocations: 68.52 kB / 0.505 GB, free: 5.539 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1513/0.1528, allocations: 80.92 MB / 0.584 GB, free: 4.781 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.HeatExchangers.Validation.EvaporatorCondenser): time 0.31/0.4628, allocations: 35.57 MB / 0.6187 GB, free: 34.43 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.009693/0.4726, allocations: 7.955 MB / 0.6265 GB, free: 29.74 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001494/0.4741, allocations: 32.19 kB / 0.6265 GB, free: 29.73 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.001209/0.4754, allocations: 364.7 kB / 0.6269 GB, free: 29.53 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.003533/0.4789, allocations: 1.287 MB / 0.6281 GB, free: 28.79 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.00283/0.4818, allocations: 1.026 MB / 0.6291 GB, free: 28.24 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.002444/0.4842, allocations: 2.145 MB / 0.6312 GB, free: 27.2 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008944/0.4852, allocations: 0.7112 MB / 0.6319 GB, free: 26.88 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001948/0.4871, allocations: 0.9012 MB / 0.6328 GB, free: 26.45 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007817/0.4879, allocations: 0.6427 MB / 0.6334 GB, free: 26.16 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 0.0001098/0.488, allocations: 73.19 kB / 0.6335 GB, free: 26.16 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00152/0.4896, allocations: 0.8029 MB / 0.6343 GB, free: 25.87 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 0.0002149/0.4898, allocations: 204.9 kB / 0.6345 GB, free: 25.75 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.0004662/0.4903, allocations: 481.7 kB / 0.6349 GB, free: 25.47 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.001931/0.4922, allocations: 1.523 MB / 0.6364 GB, free: 24.91 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 5.34e-06/0.4922, allocations: 3.469 kB / 0.6364 GB, free: 24.91 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.733e-06/0.4922, allocations: 4 kB / 0.6364 GB, free: 24.91 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 1.103e-05/0.4922, allocations: 0 / 0.6364 GB, free: 24.91 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.001721/0.494, allocations: 1.221 MB / 0.6376 GB, free: 24.04 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.968e-05/0.494, allocations: 8.531 kB / 0.6376 GB, free: 24.04 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001056/0.4941, allocations: 102.5 kB / 0.6377 GB, free: 23.97 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002549/0.4967, allocations: 301.2 kB / 0.638 GB, free: 23.91 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001511/0.4982, allocations: 0.7551 MB / 0.6388 GB, free: 23.41 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.817e-05/0.4983, allocations: 41.41 kB / 0.6388 GB, free: 23.39 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001329/0.4984, allocations: 61.91 kB / 0.6389 GB, free: 23.37 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002104/0.5005, allocations: 0.7912 MB / 0.6396 GB, free: 22.98 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.349e-05/0.5006, allocations: 6.75 kB / 0.6396 GB, free: 22.97 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.599e-05/0.5006, allocations: 27.78 kB / 0.6397 GB, free: 22.95 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.315e-05/0.5007, allocations: 20.06 kB / 0.6397 GB, free: 22.95 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002301/0.503, allocations: 0.6135 MB / 0.6403 GB, free: 22.77 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.006403/0.5094, allocations: 3.933 MB / 0.6441 GB, free: 19.63 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00287/0.5123, allocations: 460.7 kB / 0.6446 GB, free: 19.48 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001246/0.5136, allocations: 205.6 kB / 0.6448 GB, free: 19.41 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000766/0.5144, allocations: 0.5199 MB / 0.6453 GB, free: 18.84 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.35e-05/0.5144, allocations: 33.62 kB / 0.6453 GB, free: 18.8 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=26): time 3.497e-06/0.5144, allocations: 4 kB / 0.6453 GB, free: 18.8 MB / 0.4981 GB Notification: Performance of matching and sorting (n=26): time 0.004729/0.5192, allocations: 0.7782 MB / 0.6461 GB, free: 18.49 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.995e-05/0.5192, allocations: 105.5 kB / 0.6462 GB, free: 18.36 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000979/0.5202, allocations: 0.5821 MB / 0.6467 GB, free: 18.09 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 7.467e-05/0.5203, allocations: 36.33 kB / 0.6468 GB, free: 18.05 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002891/0.5206, allocations: 388.9 kB / 0.6471 GB, free: 17.74 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001173/0.5207, allocations: 89.66 kB / 0.6472 GB, free: 17.67 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002696/0.521, allocations: 111.2 kB / 0.6473 GB, free: 17.62 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001149/0.5212, allocations: 373.9 kB / 0.6477 GB, free: 17.27 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001306/0.5225, allocations: 201.1 kB / 0.6479 GB, free: 17.22 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001382/0.5239, allocations: 352.5 kB / 0.6482 GB, free: 16.98 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002639/0.5265, allocations: 0.5241 MB / 0.6487 GB, free: 16.69 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.031e-06/0.5266, allocations: 0 / 0.6487 GB, free: 16.69 MB / 0.4981 GB Notification: Performance of matching and sorting (n=51) (initialization): time 0.003225/0.5298, allocations: 0.6535 MB / 0.6494 GB, free: 16.44 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 2.649e-05/0.5298, allocations: 6.219 kB / 0.6494 GB, free: 16.44 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.36e-05/0.5299, allocations: 9.094 kB / 0.6494 GB, free: 16.44 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003486/0.5302, allocations: 61.31 kB / 0.6494 GB, free: 16.42 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001165/0.5314, allocations: 129.6 kB / 0.6496 GB, free: 16.41 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005339/0.5319, allocations: 0.6232 MB / 0.6502 GB, free: 15.84 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001432/0.5334, allocations: 103.9 kB / 0.6503 GB, free: 15.81 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.717e-05/0.5335, allocations: 26.98 kB / 0.6503 GB, free: 15.8 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.0004763/0.534, allocations: 228.4 kB / 0.6505 GB, free: 15.62 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001972/0.5342, allocations: 66.5 kB / 0.6506 GB, free: 15.59 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00339/0.5376, allocations: 0.6087 MB / 0.6512 GB, free: 15.37 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.295e-05/0.5376, allocations: 3.188 kB / 0.6512 GB, free: 15.37 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.896e-06/0.5376, allocations: 6.031 kB / 0.6512 GB, free: 15.37 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002898/0.5406, allocations: 0.7043 MB / 0.6519 GB, free: 14.91 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004531/0.5451, allocations: 1.298 MB / 0.6531 GB, free: 14.21 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.965e-06/0.5452, allocations: 2.531 kB / 0.6531 GB, free: 14.21 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009457/0.5461, allocations: 81.55 kB / 0.6532 GB, free: 14.2 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003144/0.5464, allocations: 60.53 kB / 0.6533 GB, free: 14.18 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.515e-05/0.5465, allocations: 15.83 kB / 0.6533 GB, free: 14.18 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005276/0.547, allocations: 0.6075 MB / 0.6539 GB, free: 13.62 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.31e-06/0.5471, allocations: 2.188 kB / 0.6539 GB, free: 13.62 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004559/0.5516, allocations: 0.8882 MB / 0.6547 GB, free: 13.2 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005627/0.5522, allocations: 207.8 kB / 0.6549 GB, free: 13.04 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002393/0.5525, allocations: 11.53 kB / 0.6549 GB, free: 13.03 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001495/0.554, allocations: 88.94 kB / 0.655 GB, free: 13.01 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.941e-05/0.5541, allocations: 19.3 kB / 0.6551 GB, free: 13.01 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.033e-05/0.5542, allocations: 26.77 kB / 0.6551 GB, free: 13 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.001025/0.5552, allocations: 479.6 kB / 0.6555 GB, free: 12.8 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.152e-06/0.5552, allocations: 0 / 0.6555 GB, free: 12.8 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.001553/0.5568, allocations: 281.7 kB / 0.6558 GB, free: 12.73 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.005857/0.5627, allocations: 1.621 MB / 0.6574 GB, free: 11.73 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.003324/0.566, allocations: 0.5024 MB / 0.6579 GB, free: 11.59 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 7.143e-06/0.5661, allocations: 1.281 kB / 0.6579 GB, free: 11.59 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.001496/0.5676, allocations: 241.6 kB / 0.6581 GB, free: 11.53 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003243/0.5708, allocations: 388.1 kB / 0.6585 GB, free: 11.42 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0191/0.5899, allocations: 6.163 MB / 0.6645 GB, free: 7.82 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006057/0.5906, allocations: 0.9235 MB / 0.6654 GB, free: 7.102 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.001427/0.5921, allocations: 155.3 kB / 0.6655 GB, free: 7.051 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005935/0.5927, allocations: 277.2 kB / 0.6658 GB, free: 6.859 MB / 0.4981 GB Notification: Performance of SimCode: time 7.02e-07/0.5927, allocations: 0 / 0.6658 GB, free: 6.859 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2538/0.8465, allocations: 21.84 MB / 0.6871 GB, free: 0.5352 MB / 0.4981 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002493/0.8468, allocations: 287.4 kB / 0.6874 GB, free: 152 kB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.075/3.922, allocations: 0 / 0.6874 GB, free: 152 kB / 0.4981 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_Fluid_HeatExchangers_Validation_EvaporatorCondenser_fmu --startTime=0 --stopTime=100 --timeout=50 --tolerance=1e-06 IDEAS_dev_IDEAS_Fluid_HeatExchangers_Validation_EvaporatorCondenser.fmu > IDEAS_dev_IDEAS.Fluid.HeatExchangers.Validation.EvaporatorCondenser.pipe 2>&1)