Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.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/NcDataReader2 2.5.1-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-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(BuildingSystems.Fluid.HeatExchangers.Validation.EvaporatorCondenser,fileNamePrefix="BuildingSystems_BuildingSystems_Fluid_HeatExchangers_Validation_EvaporatorCondenser",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Fluid.HeatExchangers.Validation.EvaporatorCondenser,fileNamePrefix="BuildingSystems_BuildingSystems_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.004356/0.004356, allocations: 101 kB / 15.73 MB, free: 6.059 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.001235/0.001235, allocations: 193.8 kB / 16.67 MB, free: 5.969 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.289/1.289, allocations: 222.9 MB / 240.4 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002366/0.002366, allocations: 304.7 kB / 290.8 MB, free: 14.45 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 1.128/1.128, allocations: 178.5 MB / 0.5074 GB, free: 12.67 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002875/0.002875, allocations: 95.83 kB / 0.6943 GB, free: 15.19 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4156/0.4185, allocations: 89.13 MB / 0.7813 GB, free: 1.098 MB / 0.545 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.HeatExchangers.Validation.EvaporatorCondenser): time 0.03628/0.4549, allocations: 35.85 MB / 0.8163 GB, free: 4.293 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.01133/0.4662, allocations: 8.017 MB / 0.8242 GB, free: 12.71 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001048/0.4673, allocations: 35.81 kB / 0.8242 GB, free: 12.67 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 0.00114/0.4685, allocations: 425.2 kB / 0.8246 GB, free: 12.25 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.003502/0.472, allocations: 1.398 MB / 0.826 GB, free: 10.86 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.00278/0.4748, allocations: 1.118 MB / 0.8271 GB, free: 9.746 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.00272/0.4775, allocations: 2.128 MB / 0.8291 GB, free: 7.613 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00092/0.4785, allocations: 0.7173 MB / 0.8298 GB, free: 6.879 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001783/0.4803, allocations: 0.894 MB / 0.8307 GB, free: 5.984 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007909/0.4811, allocations: 0.6184 MB / 0.8313 GB, free: 5.363 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 0.000117/0.4812, allocations: 80 kB / 0.8314 GB, free: 5.285 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001734/0.4829, allocations: 0.8464 MB / 0.8322 GB, free: 4.438 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 0.0002279/0.4832, allocations: 207.3 kB / 0.8324 GB, free: 4.234 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.0005052/0.4837, allocations: 465.9 kB / 0.8329 GB, free: 3.777 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.002426/0.4861, allocations: 1.536 MB / 0.8344 GB, free: 2.238 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 4.618e-06/0.4861, allocations: 0 / 0.8344 GB, free: 2.238 MB / 0.5919 GB Notification: Performance of FrontEnd: time 1.883e-06/0.4861, allocations: 4 kB / 0.8344 GB, free: 2.234 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 1.225e-05/0.4862, allocations: 0 / 0.8344 GB, free: 2.234 MB / 0.5919 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.001986/0.4881, allocations: 1.255 MB / 0.8356 GB, free: 0.918 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 4.634e-05/0.4882, allocations: 12.03 kB / 0.8356 GB, free: 0.9062 MB / 0.5919 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001262/0.4883, allocations: 102.7 kB / 0.8357 GB, free: 0.7969 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002214/0.4906, allocations: 296.1 kB / 0.836 GB, free: 0.5078 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001333/0.4919, allocations: 0.773 MB / 0.8367 GB, free: 15.7 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.702e-05/0.4919, allocations: 45.31 kB / 0.8368 GB, free: 15.65 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.403e-05/0.492, allocations: 56 kB / 0.8368 GB, free: 15.6 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001722/0.4938, allocations: 0.7915 MB / 0.8376 GB, free: 14.75 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.891e-05/0.4938, allocations: 3.938 kB / 0.8376 GB, free: 14.75 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.778e-05/0.4939, allocations: 28 kB / 0.8376 GB, free: 14.72 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.167e-05/0.4939, allocations: 16 kB / 0.8377 GB, free: 14.7 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001944/0.4959, allocations: 0.6177 MB / 0.8383 GB, free: 14.08 MB / 0.6075 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.004725/0.5006, allocations: 3.947 MB / 0.8421 GB, free: 9.852 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001749/0.5024, allocations: 458.6 kB / 0.8425 GB, free: 9.395 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000775/0.5031, allocations: 200.7 kB / 0.8427 GB, free: 9.195 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006387/0.5038, allocations: 0.5259 MB / 0.8433 GB, free: 8.559 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.035e-05/0.5038, allocations: 34.56 kB / 0.8433 GB, free: 8.516 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=26): time 1.773e-06/0.5038, allocations: 0 / 0.8433 GB, free: 8.516 MB / 0.6075 GB Notification: Performance of matching and sorting (n=26): time 0.002909/0.5068, allocations: 0.784 MB / 0.8441 GB, free: 7.707 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.478e-05/0.5068, allocations: 106.8 kB / 0.8442 GB, free: 7.578 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007061/0.5075, allocations: 0.586 MB / 0.8447 GB, free: 6.984 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 4.49e-05/0.5076, allocations: 37.64 kB / 0.8448 GB, free: 6.941 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002994/0.5079, allocations: 392.5 kB / 0.8451 GB, free: 6.551 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 9.067e-05/0.508, allocations: 99.16 kB / 0.8452 GB, free: 6.453 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001776/0.5082, allocations: 106 kB / 0.8453 GB, free: 6.344 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001708/0.5084, allocations: 374.7 kB / 0.8457 GB, free: 5.969 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007999/0.5092, allocations: 200.7 kB / 0.8459 GB, free: 5.773 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000916/0.5101, allocations: 351.4 kB / 0.8462 GB, free: 5.363 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001676/0.5118, allocations: 0.5327 MB / 0.8467 GB, free: 4.777 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.286e-06/0.5118, allocations: 0 / 0.8467 GB, free: 4.777 MB / 0.6075 GB Notification: Performance of matching and sorting (n=51) (initialization): time 0.002037/0.5138, allocations: 0.6548 MB / 0.8474 GB, free: 4.113 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.952e-05/0.5139, allocations: 8 kB / 0.8474 GB, free: 4.105 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.078e-05/0.5139, allocations: 4 kB / 0.8474 GB, free: 4.102 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002483/0.5141, allocations: 65.16 kB / 0.8474 GB, free: 4.035 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006695/0.5148, allocations: 131.8 kB / 0.8476 GB, free: 3.906 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005096/0.5153, allocations: 0.6225 MB / 0.8482 GB, free: 3.258 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006979/0.516, allocations: 87.67 kB / 0.8483 GB, free: 3.172 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.263e-05/0.5161, allocations: 28.05 kB / 0.8483 GB, free: 3.145 MB / 0.6075 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.0003527/0.5165, allocations: 225.6 kB / 0.8485 GB, free: 2.914 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000131/0.5166, allocations: 71.52 kB / 0.8486 GB, free: 2.844 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002077/0.5187, allocations: 0.6151 MB / 0.8492 GB, free: 2.219 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.087e-05/0.5187, allocations: 4 kB / 0.8492 GB, free: 2.215 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.65e-06/0.5187, allocations: 0 / 0.8492 GB, free: 2.215 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.00187/0.5206, allocations: 0.7073 MB / 0.8499 GB, free: 1.438 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002959/0.5236, allocations: 1.297 MB / 0.8511 GB, free: 64 kB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.352e-06/0.5236, allocations: 4 kB / 0.8511 GB, free: 60 kB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005464/0.5241, allocations: 71.89 kB / 0.8512 GB, free: 15.99 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002242/0.5244, allocations: 56.83 kB / 0.8513 GB, free: 15.93 MB / 0.6231 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.998e-05/0.5244, allocations: 19.91 kB / 0.8513 GB, free: 15.91 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004927/0.5249, allocations: 0.6188 MB / 0.8519 GB, free: 15.27 MB / 0.6231 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.194e-06/0.5249, allocations: 0 / 0.8519 GB, free: 15.27 MB / 0.6231 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00274/0.5277, allocations: 0.886 MB / 0.8528 GB, free: 14.35 MB / 0.6231 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003239/0.528, allocations: 212.5 kB / 0.853 GB, free: 14.12 MB / 0.6231 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001198/0.5282, allocations: 11.95 kB / 0.853 GB, free: 14.11 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007292/0.5289, allocations: 52 kB / 0.853 GB, free: 14.06 MB / 0.6231 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.143e-05/0.529, allocations: 23.91 kB / 0.853 GB, free: 14.04 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.408e-05/0.529, allocations: 27.95 kB / 0.8531 GB, free: 14.01 MB / 0.6231 GB Notification: Performance of sorting global known variables: time 0.0006379/0.5297, allocations: 483 kB / 0.8535 GB, free: 13.54 MB / 0.6231 GB Notification: Performance of sort global known variables: time 1.21e-07/0.5297, allocations: 0 / 0.8535 GB, free: 13.54 MB / 0.6231 GB Notification: Performance of remove unused functions: time 0.0008434/0.5305, allocations: 275.4 kB / 0.8538 GB, free: 13.27 MB / 0.6231 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.003855/0.5344, allocations: 1.65 MB / 0.8554 GB, free: 11.59 MB / 0.6231 GB Notification: Performance of simCode: created initialization part: time 0.00204/0.5364, allocations: 0.4884 MB / 0.8559 GB, free: 11.11 MB / 0.6231 GB Notification: Performance of simCode: created event and clocks part: time 9.628e-06/0.5365, allocations: 4 kB / 0.8559 GB, free: 11.1 MB / 0.6231 GB Notification: Performance of simCode: created simulation system equations: time 0.0009049/0.5374, allocations: 241 kB / 0.8561 GB, free: 10.87 MB / 0.6231 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002/0.5394, allocations: 388.2 kB / 0.8565 GB, free: 10.49 MB / 0.6231 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01159/0.551, allocations: 5.764 MB / 0.8621 GB, free: 4.504 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005879/0.5516, allocations: 0.9257 MB / 0.863 GB, free: 3.551 MB / 0.6231 GB Notification: Performance of simCode: alias equations: time 0.0006515/0.5523, allocations: 153.5 kB / 0.8632 GB, free: 3.402 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004063/0.5527, allocations: 271.3 kB / 0.8634 GB, free: 3.137 MB / 0.6231 GB Notification: Performance of SimCode: time 6.61e-07/0.5527, allocations: 0 / 0.8634 GB, free: 3.137 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05575/0.6085, allocations: 22.43 MB / 0.8853 GB, free: 13.16 MB / 0.6544 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.84/12.45, allocations: 15.25 kB / 0.8853 GB, free: 13.15 MB / 0.6544 GB (rm -f BuildingSystems_BuildingSystems.Fluid.HeatExchangers.Validation.EvaporatorCondenser.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.HeatExchangers.Validation.EvaporatorCondenser.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.HeatExchangers.Validation.EvaporatorCondenser.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.HeatExchangers.Validation.EvaporatorCondenser.sim & python3 -m fmpy simulate --output-file BuildingSystems_BuildingSystems.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 BuildingSystems_BuildingSystems_Fluid_HeatExchangers_Validation_EvaporatorCondenser.fmu > BuildingSystems_BuildingSystems.Fluid.HeatExchangers.Validation.EvaporatorCondenser.pipe 2>&1)