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.0009068/0.0009069, allocations: 86.56 kB / 15.06 MB, free: 1.09 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.001006/0.001006, allocations: 168.7 kB / 15.95 MB, free: 204 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.302/1.302, allocations: 223.3 MB / 240 MB, free: 5.438 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001797/0.001797, allocations: 274.9 kB / 291.4 MB, free: 1.984 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9419/0.9419, allocations: 169.5 MB / 0.5 GB, free: 14.21 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0004066/0.0004067, allocations: 15.25 kB / 0.598 GB, free: 28.52 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.13/0.1304, allocations: 88.55 MB / 0.6845 GB, free: 15.46 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.HeatExchangers.Validation.EvaporatorCondenser): time 0.03055/0.161, allocations: 33.01 MB / 0.7167 GB, free: 14.38 MB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.009616/0.1706, allocations: 7.482 MB / 0.724 GB, free: 6.875 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005821/0.1712, allocations: 27.81 kB / 0.7241 GB, free: 6.848 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 0.0007671/0.172, allocations: 302.1 kB / 0.7243 GB, free: 6.551 MB / 0.5137 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/Fluid/Sources.mo:784:36-785:54:writable] Warning: 'each' used when modifying non-array element m_flow. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/Fluid/Sources.mo:782:36-783:54:writable] Warning: 'each' used when modifying non-array element m_flow. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/Fluid/Sources.mo:730:36-731:54:writable] Warning: 'each' used when modifying non-array element m_flow. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/Fluid/Sources.mo:728:36-729:54:writable] Warning: 'each' used when modifying non-array element m_flow. Notification: Performance of NFTyping.typeBindings: time 0.002533/0.1746, allocations: 1.129 MB / 0.7254 GB, free: 5.422 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.002057/0.1766, allocations: 0.85 MB / 0.7263 GB, free: 4.582 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 0.002457/0.1791, allocations: 2.419 MB / 0.7286 GB, free: 2.156 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007339/0.1798, allocations: 0.5386 MB / 0.7292 GB, free: 1.602 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001095/0.181, allocations: 0.7233 MB / 0.7299 GB, free: 0.875 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006762/0.1816, allocations: 0.5601 MB / 0.7304 GB, free: 320 kB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 8.572e-05/0.1817, allocations: 28 kB / 0.7304 GB, free: 292 kB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001135/0.1829, allocations: 0.5693 MB / 0.731 GB, free: 15.71 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 0.0001709/0.1831, allocations: 151.3 kB / 0.7311 GB, free: 15.57 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 0.000181/0.1833, allocations: 197.3 kB / 0.7313 GB, free: 15.37 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.00112/0.1844, allocations: 1.095 MB / 0.7324 GB, free: 14.27 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 4.168e-06/0.1844, allocations: 0 / 0.7324 GB, free: 14.27 MB / 0.5294 GB Notification: Performance of FrontEnd: time 1.483e-06/0.1844, allocations: 4 kB / 0.7324 GB, free: 14.27 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 8.977e-06/0.1844, allocations: 0 / 0.7324 GB, free: 14.27 MB / 0.5294 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.001571/0.186, allocations: 1.057 MB / 0.7334 GB, free: 13.15 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 3.032e-05/0.186, allocations: 8.031 kB / 0.7334 GB, free: 13.14 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002131/0.1882, allocations: 314.5 kB / 0.7337 GB, free: 12.83 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001133/0.1893, allocations: 0.7261 MB / 0.7345 GB, free: 12.07 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.442e-05/0.1894, allocations: 41.31 kB / 0.7345 GB, free: 12.03 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.919e-05/0.1895, allocations: 63.94 kB / 0.7346 GB, free: 11.97 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001644/0.1911, allocations: 0.7993 MB / 0.7353 GB, free: 11.11 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.881e-05/0.1911, allocations: 7.938 kB / 0.7353 GB, free: 11.11 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.905e-05/0.1912, allocations: 31.94 kB / 0.7354 GB, free: 11.07 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.511e-05/0.1913, allocations: 19.95 kB / 0.7354 GB, free: 11.05 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001868/0.1931, allocations: 0.6295 MB / 0.736 GB, free: 10.42 MB / 0.5294 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.004393/0.1975, allocations: 3.962 MB / 0.7399 GB, free: 6.176 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001667/0.1992, allocations: 473.1 kB / 0.7403 GB, free: 5.707 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007481/0.2, allocations: 216.6 kB / 0.7405 GB, free: 5.492 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006056/0.2006, allocations: 0.5337 MB / 0.7411 GB, free: 4.848 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.413e-05/0.2006, allocations: 38.56 kB / 0.7411 GB, free: 4.801 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=26): time 1.583e-06/0.2007, allocations: 4 kB / 0.7411 GB, free: 4.797 MB / 0.5294 GB Notification: Performance of matching and sorting (n=26): time 0.002738/0.2034, allocations: 0.8077 MB / 0.7419 GB, free: 3.965 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.449e-05/0.2035, allocations: 106.8 kB / 0.742 GB, free: 3.836 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006569/0.2041, allocations: 0.5743 MB / 0.7425 GB, free: 3.25 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 4.418e-05/0.2042, allocations: 37.64 kB / 0.7426 GB, free: 3.207 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002714/0.2045, allocations: 391.6 kB / 0.743 GB, free: 2.82 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 8.431e-05/0.2046, allocations: 94.73 kB / 0.743 GB, free: 2.727 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.864e-05/0.2046, allocations: 8 kB / 0.7431 GB, free: 2.719 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001479/0.2047, allocations: 370.7 kB / 0.7434 GB, free: 2.348 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000771/0.2055, allocations: 212.7 kB / 0.7436 GB, free: 2.141 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008593/0.2064, allocations: 364.7 kB / 0.744 GB, free: 1.723 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008047/0.2072, allocations: 241.2 kB / 0.7442 GB, free: 1.488 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.835e-06/0.2072, allocations: 4 kB / 0.7442 GB, free: 1.484 MB / 0.5294 GB Notification: Performance of matching and sorting (n=51) (initialization): time 0.001906/0.2091, allocations: 0.6709 MB / 0.7448 GB, free: 0.8047 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 1.741e-05/0.2092, allocations: 12.34 kB / 0.7449 GB, free: 0.793 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.175e-06/0.2092, allocations: 7.938 kB / 0.7449 GB, free: 0.7852 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002228/0.2094, allocations: 60.83 kB / 0.7449 GB, free: 0.7227 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006934/0.2101, allocations: 143.8 kB / 0.7451 GB, free: 0.582 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004477/0.2106, allocations: 0.6187 MB / 0.7457 GB, free: 15.94 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007564/0.2113, allocations: 111.5 kB / 0.7458 GB, free: 15.83 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.859e-05/0.2114, allocations: 27.97 kB / 0.7458 GB, free: 15.8 MB / 0.545 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 (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 5} Notification: Performance of prepare postOptimizeDAE: time 0.0002846/0.2117, allocations: 225.6 kB / 0.746 GB, free: 15.57 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001051/0.2118, allocations: 63.25 kB / 0.7461 GB, free: 15.51 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001978/0.2138, allocations: 0.6389 MB / 0.7467 GB, free: 14.86 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.995e-06/0.2138, allocations: 4 kB / 0.7467 GB, free: 14.86 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.312e-06/0.2138, allocations: 3.953 kB / 0.7467 GB, free: 14.85 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001686/0.2155, allocations: 0.7196 MB / 0.7474 GB, free: 14.06 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002533/0.2181, allocations: 1.304 MB / 0.7487 GB, free: 12.68 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.666e-06/0.2181, allocations: 0 / 0.7487 GB, free: 12.68 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005211/0.2186, allocations: 84.09 kB / 0.7488 GB, free: 12.6 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000167/0.2188, allocations: 56.81 kB / 0.7488 GB, free: 12.54 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.661e-05/0.2188, allocations: 27.97 kB / 0.7488 GB, free: 12.51 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004101/0.2192, allocations: 0.6147 MB / 0.7494 GB, free: 11.87 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.864e-06/0.2193, allocations: 0 / 0.7494 GB, free: 11.87 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002488/0.2218, allocations: 0.9166 MB / 0.7503 GB, free: 10.92 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002482/0.222, allocations: 208.2 kB / 0.7505 GB, free: 10.7 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001058/0.2221, allocations: 8 kB / 0.7505 GB, free: 10.69 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007475/0.2229, allocations: 75.98 kB / 0.7506 GB, free: 10.62 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.061e-05/0.223, allocations: 27.92 kB / 0.7506 GB, free: 10.59 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.815e-05/0.223, allocations: 23.95 kB / 0.7507 GB, free: 10.57 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.0004688/0.2235, allocations: 411.1 kB / 0.7511 GB, free: 10.17 MB / 0.545 GB Notification: Performance of sort global known variables: time 2.31e-07/0.2235, allocations: 0 / 0.7511 GB, free: 10.17 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0008224/0.2243, allocations: 279.4 kB / 0.7513 GB, free: 9.895 MB / 0.545 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 (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 5} Notification: Performance of Backend phase and start with SimCode phase: time 0.0005604/0.2249, allocations: 291.4 kB / 0.7516 GB, free: 9.613 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.001724/0.2266, allocations: 0.5159 MB / 0.7521 GB, free: 9.098 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 2.805e-06/0.2266, allocations: 0 / 0.7521 GB, free: 9.098 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.0008289/0.2275, allocations: 247.5 kB / 0.7523 GB, free: 8.859 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001475/0.229, allocations: 315.7 kB / 0.7526 GB, free: 8.559 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002408/0.2314, allocations: 1.565 MB / 0.7542 GB, free: 6.949 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004665/0.2319, allocations: 0.9254 MB / 0.7551 GB, free: 5.996 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.0006141/0.2325, allocations: 151 kB / 0.7552 GB, free: 5.848 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001566/0.2326, allocations: 63.39 kB / 0.7553 GB, free: 5.785 MB / 0.545 GB Notification: Performance of SimCode: time 2.6e-07/0.2327, allocations: 0 / 0.7553 GB, free: 5.785 MB / 0.545 GB Notification: Performance of Templates: time 0.02096/0.2536, allocations: 13.33 MB / 0.7683 GB, free: 8.664 MB / 0.5606 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)