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: translateModel(BuildingSystems.Fluid.HeatExchangers.Validation.EvaporatorCondenser,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.HeatExchangers.Validation.EvaporatorCondenser") translateModel(BuildingSystems.Fluid.HeatExchangers.Validation.EvaporatorCondenser,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.HeatExchangers.Validation.EvaporatorCondenser") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001398/0.001398, allocations: 105 kB / 16.41 MB, free: 6.504 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.001338/0.001338, allocations: 189.7 kB / 17.34 MB, free: 5.742 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.332/1.332, allocations: 222.9 MB / 241 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002377/0.002378, allocations: 279 kB / 291.5 MB, free: 14.44 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9731/0.9731, allocations: 169.2 MB / 0.499 GB, free: 4.395 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001991/0.001991, allocations: 95.8 kB / 0.6821 GB, free: 6.953 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4236/0.4256, allocations: 86.97 MB / 0.767 GB, free: 3.895 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.HeatExchangers.Validation.EvaporatorCondenser): time 0.03889/0.4646, allocations: 35.84 MB / 0.802 GB, free: 15.92 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.01145/0.4761, allocations: 8.018 MB / 0.8099 GB, free: 7.887 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001427/0.4775, allocations: 31.81 kB / 0.8099 GB, free: 7.855 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.001335/0.4789, allocations: 425.3 kB / 0.8103 GB, free: 7.438 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.003904/0.4828, allocations: 1.4 MB / 0.8117 GB, free: 6.035 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.002887/0.4857, allocations: 1.118 MB / 0.8128 GB, free: 4.926 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.00291/0.4887, allocations: 2.128 MB / 0.8148 GB, free: 2.789 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00115/0.4898, allocations: 0.7212 MB / 0.8155 GB, free: 2.055 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002285/0.4921, allocations: 0.908 MB / 0.8164 GB, free: 1.148 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001133/0.4933, allocations: 0.6106 MB / 0.817 GB, free: 0.5352 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 0.0002118/0.4935, allocations: 76 kB / 0.8171 GB, free: 472 kB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001888/0.4954, allocations: 0.8542 MB / 0.8179 GB, free: 15.61 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 0.0002779/0.4957, allocations: 203.3 kB / 0.8181 GB, free: 15.41 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.0007592/0.4965, allocations: 481.8 kB / 0.8186 GB, free: 14.93 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.002457/0.4989, allocations: 1.526 MB / 0.8201 GB, free: 13.41 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 5.801e-06/0.499, allocations: 4 kB / 0.8201 GB, free: 13.4 MB / 0.5919 GB Notification: Performance of FrontEnd: time 2.054e-06/0.499, allocations: 0 / 0.8201 GB, free: 13.4 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 3.25e-05/0.499, allocations: 0 / 0.8201 GB, free: 13.4 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.002255/0.5013, allocations: 1.229 MB / 0.8213 GB, free: 12.11 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 3.857e-05/0.5013, allocations: 8.031 kB / 0.8213 GB, free: 12.11 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002427/0.5037, allocations: 295.6 kB / 0.8216 GB, free: 11.82 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001527/0.5053, allocations: 0.7533 MB / 0.8223 GB, free: 11.02 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.722e-05/0.5053, allocations: 45.31 kB / 0.8223 GB, free: 10.98 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001211/0.5055, allocations: 60 kB / 0.8224 GB, free: 10.92 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001854/0.5073, allocations: 0.7914 MB / 0.8232 GB, free: 10.07 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.766e-05/0.5074, allocations: 4 kB / 0.8232 GB, free: 10.07 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.348e-05/0.5075, allocations: 31.98 kB / 0.8232 GB, free: 10.04 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.049e-05/0.5075, allocations: 19.98 kB / 0.8232 GB, free: 10.02 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001999/0.5095, allocations: 0.6099 MB / 0.8238 GB, free: 9.41 MB / 0.5919 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.004973/0.5145, allocations: 3.942 MB / 0.8277 GB, free: 5.184 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001842/0.5164, allocations: 457.1 kB / 0.8281 GB, free: 4.73 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007985/0.5172, allocations: 208.7 kB / 0.8283 GB, free: 4.523 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006199/0.5178, allocations: 0.522 MB / 0.8288 GB, free: 3.891 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.528e-05/0.5179, allocations: 38.55 kB / 0.8289 GB, free: 3.844 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=26): time 2.434e-06/0.5179, allocations: 0 / 0.8289 GB, free: 3.844 MB / 0.5919 GB Notification: Performance of matching and sorting (n=26): time 0.003063/0.5209, allocations: 0.7795 MB / 0.8296 GB, free: 3.035 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.775e-05/0.521, allocations: 106.8 kB / 0.8297 GB, free: 2.906 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008212/0.5218, allocations: 0.5938 MB / 0.8303 GB, free: 2.301 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 6.831e-05/0.5219, allocations: 29.7 kB / 0.8303 GB, free: 2.266 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.000276/0.5222, allocations: 387.6 kB / 0.8307 GB, free: 1.883 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001035/0.5223, allocations: 94.67 kB / 0.8308 GB, free: 1.789 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001645/0.5225, allocations: 98 kB / 0.8309 GB, free: 1.688 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0001446/0.5226, allocations: 374.7 kB / 0.8312 GB, free: 1.312 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008471/0.5235, allocations: 204.7 kB / 0.8314 GB, free: 1.109 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009171/0.5244, allocations: 359.3 kB / 0.8318 GB, free: 0.6953 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001725/0.5262, allocations: 0.5177 MB / 0.8323 GB, free: 128 kB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.621e-06/0.5262, allocations: 4 kB / 0.8323 GB, free: 124 kB / 0.5919 GB Notification: Performance of matching and sorting (n=51) (initialization): time 0.002209/0.5284, allocations: 0.6506 MB / 0.8329 GB, free: 15.46 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 2.12e-05/0.5284, allocations: 11.98 kB / 0.8329 GB, free: 15.45 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.257e-05/0.5285, allocations: 8 kB / 0.8329 GB, free: 15.44 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002646/0.5287, allocations: 56.83 kB / 0.833 GB, free: 15.38 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00073/0.5295, allocations: 136.1 kB / 0.8331 GB, free: 15.25 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004789/0.53, allocations: 0.6187 MB / 0.8337 GB, free: 14.61 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008475/0.5308, allocations: 87.45 kB / 0.8338 GB, free: 14.52 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.21e-05/0.5309, allocations: 35.84 kB / 0.8338 GB, free: 14.48 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.0003968/0.5313, allocations: 218.9 kB / 0.8341 GB, free: 14.27 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000224/0.5315, allocations: 63.28 kB / 0.8341 GB, free: 14.2 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002164/0.5337, allocations: 0.6254 MB / 0.8347 GB, free: 13.56 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.838e-06/0.5337, allocations: 0 / 0.8347 GB, free: 13.56 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.53e-06/0.5338, allocations: 0 / 0.8347 GB, free: 13.56 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001783/0.5355, allocations: 0.7062 MB / 0.8354 GB, free: 12.79 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003185/0.5387, allocations: 1.29 MB / 0.8367 GB, free: 11.42 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.597e-06/0.5388, allocations: 4 kB / 0.8367 GB, free: 11.41 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005631/0.5394, allocations: 83.98 kB / 0.8368 GB, free: 11.33 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000216/0.5396, allocations: 52.83 kB / 0.8368 GB, free: 11.28 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.801e-05/0.5396, allocations: 19.91 kB / 0.8368 GB, free: 11.26 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004601/0.5401, allocations: 0.6149 MB / 0.8374 GB, free: 10.62 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.043e-06/0.5401, allocations: 7.969 kB / 0.8374 GB, free: 10.61 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002864/0.543, allocations: 0.886 MB / 0.8383 GB, free: 9.688 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004355/0.5435, allocations: 200.1 kB / 0.8385 GB, free: 9.473 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002225/0.5437, allocations: 11.98 kB / 0.8385 GB, free: 9.461 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000906/0.5446, allocations: 47.94 kB / 0.8386 GB, free: 9.414 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.413e-05/0.5447, allocations: 27.92 kB / 0.8386 GB, free: 9.387 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.618e-05/0.5448, allocations: 31.95 kB / 0.8386 GB, free: 9.355 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.0007716/0.5456, allocations: 483 kB / 0.8391 GB, free: 8.887 MB / 0.6075 GB Notification: Performance of sort global known variables: time 4.11e-07/0.5456, allocations: 0 / 0.8391 GB, free: 8.887 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.001149/0.5467, allocations: 275.5 kB / 0.8393 GB, free: 8.617 MB / 0.6075 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.00111/0.5478, allocations: 314 kB / 0.8396 GB, free: 8.316 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.002095/0.5499, allocations: 0.4903 MB / 0.8401 GB, free: 7.828 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 6.272e-06/0.55, allocations: 0 / 0.8401 GB, free: 7.828 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.0009652/0.5509, allocations: 236.2 kB / 0.8403 GB, free: 7.598 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002076/0.553, allocations: 393.8 kB / 0.8407 GB, free: 7.223 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002727/0.5558, allocations: 1.287 MB / 0.842 GB, free: 5.883 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004904/0.5563, allocations: 0.9256 MB / 0.8429 GB, free: 4.93 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002464/0.5565, allocations: 83.36 kB / 0.843 GB, free: 4.848 MB / 0.6075 GB Notification: Performance of SimCode: time 4.11e-07/0.5565, allocations: 0 / 0.843 GB, free: 4.848 MB / 0.6075 GB Notification: Performance of Templates: time 0.0229/0.5794, allocations: 16.9 MB / 0.8595 GB, free: 4.102 MB / 0.6231 GB make -j1 -f BuildingSystems_BuildingSystems.Fluid.HeatExchangers.Validation.EvaporatorCondenser.makefile (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 & ./BuildingSystems_BuildingSystems.Fluid.HeatExchangers.Validation.EvaporatorCondenser -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Fluid.HeatExchangers.Validation.EvaporatorCondenser.pipe 2>&1)