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.0016/0.0016, allocations: 110.7 kB / 16.41 MB, free: 6.512 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.001636/0.001636, allocations: 185.2 kB / 17.34 MB, free: 5.734 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.424/1.424, allocations: 222.9 MB / 241 MB, free: 15.1 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002455/0.002455, allocations: 289.5 kB / 291.5 MB, free: 14.46 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9926/0.9926, allocations: 169.3 MB / 0.499 GB, free: 4.422 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.003847/0.003847, allocations: 95.84 kB / 0.6821 GB, free: 6.996 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.431/0.4348, allocations: 86.97 MB / 0.767 GB, free: 3.957 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.HeatExchangers.Validation.EvaporatorCondenser): time 0.03903/0.4739, allocations: 35.9 MB / 0.8021 GB, free: 15.92 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.01217/0.486, allocations: 8.032 MB / 0.8099 GB, free: 7.867 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001051/0.4871, allocations: 31.81 kB / 0.81 GB, free: 7.836 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.001224/0.4883, allocations: 449.1 kB / 0.8104 GB, free: 7.395 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.003625/0.4919, allocations: 1.448 MB / 0.8118 GB, free: 5.945 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.002959/0.4949, allocations: 1.13 MB / 0.8129 GB, free: 4.824 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.002947/0.4979, allocations: 2.137 MB / 0.815 GB, free: 2.68 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008723/0.4987, allocations: 0.604 MB / 0.8156 GB, free: 2.066 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00194/0.5007, allocations: 0.9118 MB / 0.8165 GB, free: 1.156 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0008448/0.5015, allocations: 0.6173 MB / 0.8171 GB, free: 0.5391 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 0.0001121/0.5016, allocations: 76 kB / 0.8172 GB, free: 476 kB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001733/0.5034, allocations: 0.8464 MB / 0.818 GB, free: 15.62 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 0.0002252/0.5036, allocations: 211.2 kB / 0.8182 GB, free: 15.41 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.0005/0.5041, allocations: 473.8 kB / 0.8186 GB, free: 14.95 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.002182/0.5063, allocations: 1.536 MB / 0.8201 GB, free: 13.41 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 4.147e-06/0.5063, allocations: 0 / 0.8201 GB, free: 13.41 MB / 0.5919 GB Notification: Performance of FrontEnd: time 1.373e-06/0.5063, allocations: 0 / 0.8201 GB, free: 13.41 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 1.043e-05/0.5063, allocations: 0 / 0.8201 GB, free: 13.41 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.002005/0.5083, allocations: 1.258 MB / 0.8214 GB, free: 12.09 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 3.531e-05/0.5083, allocations: 8.031 kB / 0.8214 GB, free: 12.08 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002476/0.5108, allocations: 304 kB / 0.8217 GB, free: 11.79 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001388/0.5122, allocations: 0.7693 MB / 0.8224 GB, free: 10.98 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.891e-05/0.5122, allocations: 45.25 kB / 0.8225 GB, free: 10.93 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001134/0.5123, allocations: 60 kB / 0.8225 GB, free: 10.88 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001941/0.5143, allocations: 0.7954 MB / 0.8233 GB, free: 10.02 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.057e-05/0.5143, allocations: 3.938 kB / 0.8233 GB, free: 10.02 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.754e-05/0.5144, allocations: 31.94 kB / 0.8233 GB, free: 9.988 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.006e-05/0.5144, allocations: 19.98 kB / 0.8233 GB, free: 9.969 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00213/0.5166, allocations: 0.6139 MB / 0.8239 GB, free: 9.355 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.00557/0.5221, allocations: 3.935 MB / 0.8278 GB, free: 5.137 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001897/0.524, allocations: 446.7 kB / 0.8282 GB, free: 4.691 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008269/0.5249, allocations: 196.6 kB / 0.8284 GB, free: 4.496 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007275/0.5256, allocations: 0.5181 MB / 0.8289 GB, free: 3.867 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.796e-05/0.5256, allocations: 38.56 kB / 0.8289 GB, free: 3.82 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=26): time 2.996e-06/0.5256, allocations: 0 / 0.8289 GB, free: 3.82 MB / 0.5919 GB Notification: Performance of matching and sorting (n=26): time 0.003186/0.5288, allocations: 0.7796 MB / 0.8297 GB, free: 3.016 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.018e-05/0.5289, allocations: 106.8 kB / 0.8298 GB, free: 2.887 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008419/0.5297, allocations: 0.5899 MB / 0.8304 GB, free: 2.285 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 6.768e-05/0.5298, allocations: 33.7 kB / 0.8304 GB, free: 2.246 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003255/0.5301, allocations: 400.4 kB / 0.8308 GB, free: 1.852 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001061/0.5302, allocations: 95.17 kB / 0.8309 GB, free: 1.758 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000169/0.5304, allocations: 106 kB / 0.831 GB, free: 1.648 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0001883/0.5306, allocations: 374.7 kB / 0.8313 GB, free: 1.273 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008707/0.5315, allocations: 196.7 kB / 0.8315 GB, free: 1.078 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000985/0.5324, allocations: 355.4 kB / 0.8319 GB, free: 0.668 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001787/0.5342, allocations: 0.5216 MB / 0.8324 GB, free: 96 kB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.015e-06/0.5342, allocations: 8 kB / 0.8324 GB, free: 88 kB / 0.5919 GB Notification: Performance of matching and sorting (n=51) (initialization): time 0.002232/0.5365, allocations: 0.6509 MB / 0.833 GB, free: 15.43 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.983e-05/0.5365, allocations: 8 kB / 0.833 GB, free: 15.42 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.005e-05/0.5365, allocations: 4 kB / 0.833 GB, free: 15.41 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002813/0.5368, allocations: 61.17 kB / 0.8331 GB, free: 15.35 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007661/0.5376, allocations: 135.8 kB / 0.8332 GB, free: 15.22 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005673/0.5381, allocations: 0.6225 MB / 0.8338 GB, free: 14.57 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007846/0.5389, allocations: 87.67 kB / 0.8339 GB, free: 14.48 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.972e-05/0.539, allocations: 19.98 kB / 0.8339 GB, free: 14.46 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.0003911/0.5393, allocations: 226.4 kB / 0.8342 GB, free: 14.23 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001508/0.5395, allocations: 71.52 kB / 0.8342 GB, free: 14.16 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00219/0.5417, allocations: 0.6113 MB / 0.8348 GB, free: 13.54 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.029e-05/0.5417, allocations: 4 kB / 0.8348 GB, free: 13.54 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.658e-06/0.5417, allocations: 0 / 0.8348 GB, free: 13.54 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001914/0.5436, allocations: 0.7021 MB / 0.8355 GB, free: 12.77 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002943/0.5466, allocations: 1.309 MB / 0.8368 GB, free: 11.38 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.308e-06/0.5466, allocations: 3.938 kB / 0.8368 GB, free: 11.38 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000579/0.5471, allocations: 75.84 kB / 0.8369 GB, free: 11.3 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001941/0.5473, allocations: 56.81 kB / 0.8369 GB, free: 11.24 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.621e-05/0.5474, allocations: 15.92 kB / 0.8369 GB, free: 11.23 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005107/0.5479, allocations: 0.6228 MB / 0.8375 GB, free: 10.58 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.002e-06/0.5479, allocations: 4.031 kB / 0.8375 GB, free: 10.57 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002943/0.5508, allocations: 0.8824 MB / 0.8384 GB, free: 9.656 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003559/0.5512, allocations: 208.5 kB / 0.8386 GB, free: 9.434 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.967e-05/0.5513, allocations: 11.94 kB / 0.8386 GB, free: 9.422 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007928/0.5521, allocations: 52 kB / 0.8387 GB, free: 9.371 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.786e-05/0.5521, allocations: 23.91 kB / 0.8387 GB, free: 9.348 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.186e-05/0.5522, allocations: 23.97 kB / 0.8387 GB, free: 9.324 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.0006565/0.5528, allocations: 487 kB / 0.8392 GB, free: 8.852 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.1e-07/0.5528, allocations: 0 / 0.8392 GB, free: 8.852 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0008861/0.5537, allocations: 271.4 kB / 0.8394 GB, free: 8.586 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.0006834/0.5544, allocations: 314.6 kB / 0.8397 GB, free: 8.281 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.00198/0.5564, allocations: 480.1 kB / 0.8402 GB, free: 7.812 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 5.441e-06/0.5564, allocations: 4 kB / 0.8402 GB, free: 7.809 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.0009415/0.5573, allocations: 230.3 kB / 0.8404 GB, free: 7.586 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001781/0.5591, allocations: 390 kB / 0.8408 GB, free: 7.215 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002777/0.5619, allocations: 1.288 MB / 0.842 GB, free: 5.879 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006016/0.5625, allocations: 0.9217 MB / 0.8429 GB, free: 4.93 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 0.0005655/0.5631, allocations: 148.5 kB / 0.8431 GB, free: 4.785 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001748/0.5632, allocations: 71.38 kB / 0.8432 GB, free: 4.715 MB / 0.6075 GB Notification: Performance of SimCode: time 3.51e-07/0.5632, allocations: 4 kB / 0.8432 GB, free: 4.711 MB / 0.6075 GB Notification: Performance of Templates: time 0.0298/0.593, allocations: 16.39 MB / 0.8592 GB, free: 4.582 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 -s cvode -lv LOG_STATS > BuildingSystems_BuildingSystems.Fluid.HeatExchangers.Validation.EvaporatorCondenser.pipe 2>&1)