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.001561/0.001561, allocations: 108 kB / 15.61 MB, free: 152 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001749/0.001749, allocations: 194.6 kB / 16.53 MB, free: 6.664 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.298/1.298, allocations: 222.9 MB / 240.2 MB, free: 4.41 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002077/0.002077, allocations: 275 kB / 290.7 MB, free: 2.008 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9376/0.9376, allocations: 169.3 MB / 0.4982 GB, free: 13.94 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001811/0.001811, allocations: 101.7 kB / 0.5953 GB, free: 27.77 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1285/0.1304, allocations: 86.99 MB / 0.6803 GB, free: 0.5898 MB / 478.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.HeatExchangers.Validation.EvaporatorCondenser): time 0.03458/0.165, allocations: 35.83 MB / 0.7153 GB, free: 12.63 MB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.01043/0.1754, allocations: 8.018 MB / 0.7231 GB, free: 4.59 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000959/0.1764, allocations: 31.81 kB / 0.7231 GB, free: 4.559 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 0.001157/0.1776, allocations: 421.2 kB / 0.7235 GB, free: 4.145 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 0.00343/0.1811, allocations: 1.392 MB / 0.7249 GB, free: 2.75 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.0026/0.1837, allocations: 1.113 MB / 0.726 GB, free: 1.648 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 0.002413/0.1861, allocations: 2.123 MB / 0.7281 GB, free: 15.52 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001031/0.1872, allocations: 0.7135 MB / 0.7288 GB, free: 14.79 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001883/0.1891, allocations: 0.8947 MB / 0.7296 GB, free: 13.9 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0009602/0.19, allocations: 0.6145 MB / 0.7302 GB, free: 13.28 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 0.0001868/0.1902, allocations: 76 kB / 0.7303 GB, free: 13.21 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001614/0.1919, allocations: 0.7918 MB / 0.7311 GB, free: 12.41 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 0.0002432/0.1921, allocations: 207.3 kB / 0.7313 GB, free: 12.21 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 0.0005821/0.1927, allocations: 481.9 kB / 0.7317 GB, free: 11.74 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.002025/0.1947, allocations: 1.511 MB / 0.7332 GB, free: 10.22 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 5.751e-06/0.1947, allocations: 4 kB / 0.7332 GB, free: 10.22 MB / 0.5294 GB Notification: Performance of FrontEnd: time 1.142e-06/0.1948, allocations: 8 kB / 0.7332 GB, free: 10.21 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 2.597e-05/0.1948, allocations: 0 / 0.7332 GB, free: 10.21 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.002026/0.1968, allocations: 1.225 MB / 0.7344 GB, free: 8.926 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 3.741e-05/0.1969, allocations: 8.031 kB / 0.7344 GB, free: 8.918 MB / 0.5294 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001238/0.197, allocations: 98.7 kB / 0.7345 GB, free: 8.812 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00247/0.1995, allocations: 303.5 kB / 0.7348 GB, free: 8.516 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001192/0.2007, allocations: 0.7375 MB / 0.7355 GB, free: 7.738 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.441e-05/0.2007, allocations: 41.31 kB / 0.7356 GB, free: 7.699 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.195e-05/0.2008, allocations: 56 kB / 0.7356 GB, free: 7.645 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001733/0.2026, allocations: 0.7992 MB / 0.7364 GB, free: 6.789 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.847e-05/0.2026, allocations: 4 kB / 0.7364 GB, free: 6.785 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.37e-05/0.2027, allocations: 28 kB / 0.7364 GB, free: 6.758 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.656e-05/0.2027, allocations: 16 kB / 0.7364 GB, free: 6.742 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002045/0.2048, allocations: 0.61 MB / 0.737 GB, free: 6.133 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.004817/0.2096, allocations: 3.981 MB / 0.7409 GB, free: 1.863 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001874/0.2115, allocations: 459.3 kB / 0.7414 GB, free: 1.406 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008168/0.2123, allocations: 200.7 kB / 0.7416 GB, free: 1.207 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006022/0.2129, allocations: 0.522 MB / 0.7421 GB, free: 0.5742 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.081e-05/0.213, allocations: 34.56 kB / 0.7421 GB, free: 0.5312 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=26): time 2.164e-06/0.213, allocations: 0 / 0.7421 GB, free: 0.5312 MB / 0.5294 GB Notification: Performance of matching and sorting (n=26): time 0.003117/0.2161, allocations: 0.7881 MB / 0.7429 GB, free: 15.72 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.354e-05/0.2162, allocations: 106.8 kB / 0.743 GB, free: 15.59 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007194/0.2169, allocations: 0.5822 MB / 0.7435 GB, free: 15 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 5.112e-05/0.2169, allocations: 29.7 kB / 0.7436 GB, free: 14.96 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002774/0.2172, allocations: 395.6 kB / 0.744 GB, free: 14.57 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 9.216e-05/0.2173, allocations: 94.64 kB / 0.744 GB, free: 14.47 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001613/0.2175, allocations: 98 kB / 0.7441 GB, free: 14.37 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001452/0.2176, allocations: 378.7 kB / 0.7445 GB, free: 13.99 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008621/0.2185, allocations: 200.7 kB / 0.7447 GB, free: 13.8 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009572/0.2195, allocations: 355.3 kB / 0.745 GB, free: 13.39 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001746/0.2212, allocations: 0.5294 MB / 0.7455 GB, free: 12.8 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.636e-06/0.2213, allocations: 0 / 0.7455 GB, free: 12.8 MB / 0.545 GB Notification: Performance of matching and sorting (n=51) (initialization): time 0.002111/0.2234, allocations: 0.6506 MB / 0.7462 GB, free: 12.14 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.836e-05/0.2234, allocations: 8 kB / 0.7462 GB, free: 12.14 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.666e-06/0.2234, allocations: 4 kB / 0.7462 GB, free: 12.13 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002415/0.2237, allocations: 65.22 kB / 0.7463 GB, free: 12.07 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007438/0.2244, allocations: 127.8 kB / 0.7464 GB, free: 11.94 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000439/0.2249, allocations: 0.6226 MB / 0.747 GB, free: 11.29 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007713/0.2257, allocations: 87.53 kB / 0.7471 GB, free: 11.21 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.62e-05/0.2257, allocations: 27.97 kB / 0.7471 GB, free: 11.18 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 (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.0003104/0.226, allocations: 223 kB / 0.7473 GB, free: 10.95 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001523/0.2262, allocations: 67.19 kB / 0.7474 GB, free: 10.89 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002138/0.2283, allocations: 0.6308 MB / 0.748 GB, free: 10.25 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.628e-06/0.2284, allocations: 4 kB / 0.748 GB, free: 10.25 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.979e-06/0.2284, allocations: 0 / 0.748 GB, free: 10.25 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001813/0.2302, allocations: 0.7062 MB / 0.7487 GB, free: 9.469 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002729/0.2329, allocations: 1.295 MB / 0.7499 GB, free: 8.094 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.048e-06/0.233, allocations: 0 / 0.7499 GB, free: 8.094 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005731/0.2335, allocations: 75.89 kB / 0.75 GB, free: 8.02 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001827/0.2337, allocations: 60.92 kB / 0.7501 GB, free: 7.957 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.448e-05/0.2338, allocations: 19.91 kB / 0.7501 GB, free: 7.938 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003903/0.2342, allocations: 0.6147 MB / 0.7507 GB, free: 7.297 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.619e-06/0.2342, allocations: 4.031 kB / 0.7507 GB, free: 7.293 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002807/0.237, allocations: 0.8898 MB / 0.7516 GB, free: 6.367 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002865/0.2373, allocations: 200.1 kB / 0.7518 GB, free: 6.152 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001181/0.2374, allocations: 11.98 kB / 0.7518 GB, free: 6.141 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007981/0.2382, allocations: 52 kB / 0.7518 GB, free: 6.09 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.594e-05/0.2383, allocations: 23.86 kB / 0.7518 GB, free: 6.066 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.309e-05/0.2384, allocations: 31.95 kB / 0.7519 GB, free: 6.035 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.0005758/0.2389, allocations: 479 kB / 0.7523 GB, free: 5.574 MB / 0.545 GB Notification: Performance of sort global known variables: time 2.5e-07/0.2389, allocations: 0 / 0.7523 GB, free: 5.574 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0008333/0.2398, allocations: 275.5 kB / 0.7526 GB, free: 5.305 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 (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.0036/0.2434, allocations: 1.629 MB / 0.7542 GB, free: 3.645 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.001958/0.2454, allocations: 0.4964 MB / 0.7547 GB, free: 3.148 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 5.219e-06/0.2454, allocations: 4.5 kB / 0.7547 GB, free: 3.145 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.0009154/0.2463, allocations: 242.9 kB / 0.7549 GB, free: 2.91 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001806/0.2481, allocations: 379.8 kB / 0.7553 GB, free: 2.543 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01062/0.2588, allocations: 5.944 MB / 0.7611 GB, free: 12.4 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004524/0.2592, allocations: 0.9218 MB / 0.762 GB, free: 11.45 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.0006805/0.2599, allocations: 160.2 kB / 0.7621 GB, free: 11.29 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003739/0.2603, allocations: 275.3 kB / 0.7624 GB, free: 11.02 MB / 0.5606 GB Notification: Performance of SimCode: time 5.31e-07/0.2603, allocations: 0 / 0.7624 GB, free: 11.02 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 3.3/3.56, allocations: 22.25 MB / 0.7841 GB, free: 90.7 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 18.64/22.2, allocations: 10.61 kB / 0.7841 GB, free: 90.7 MB / 0.5606 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_Fluid_HeatExchangers_Validation_EvaporatorCondenser_fmu --startTime=0 --stopTime=100 --timeout=50 --tolerance=1e-06 BuildingSystems_BuildingSystems_Fluid_HeatExchangers_Validation_EvaporatorCondenser.fmu > BuildingSystems_BuildingSystems.Fluid.HeatExchangers.Validation.EvaporatorCondenser.pipe 2>&1)