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.001324/0.001324, allocations: 115.3 kB / 15.34 MB, free: 0.5078 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.001543/0.001543, allocations: 191.6 kB / 16.25 MB, free: 6.586 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.333/1.333, allocations: 222.9 MB / 239.9 MB, free: 4.52 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.00252/0.00252, allocations: 278.9 kB / 290.3 MB, free: 2.137 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9314/0.9314, allocations: 169.2 MB / 0.4978 GB, free: 14.07 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001637/0.001637, allocations: 89.34 kB / 0.5948 GB, free: 28.38 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1341/0.1357, allocations: 86.99 MB / 0.6797 GB, free: 0.9688 MB / 478.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.HeatExchangers.Validation.EvaporatorCondenser): time 0.03289/0.1686, allocations: 35.58 MB / 0.7145 GB, free: 13.27 MB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.009823/0.1785, allocations: 7.965 MB / 0.7223 GB, free: 5.285 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009168/0.1794, allocations: 31.81 kB / 0.7223 GB, free: 5.254 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 0.001087/0.1805, allocations: 366.1 kB / 0.7226 GB, free: 4.895 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 0.003169/0.1838, allocations: 1.296 MB / 0.7239 GB, free: 3.598 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.002373/0.1861, allocations: 1.017 MB / 0.7249 GB, free: 2.594 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 0.002319/0.1885, allocations: 2.15 MB / 0.727 GB, free: 448 kB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000825/0.1893, allocations: 0.698 MB / 0.7277 GB, free: 15.73 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001613/0.1909, allocations: 0.9005 MB / 0.7285 GB, free: 14.83 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006249/0.1916, allocations: 0.634 MB / 0.7292 GB, free: 14.19 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 0.0001006/0.1917, allocations: 76 kB / 0.7292 GB, free: 14.12 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001222/0.1929, allocations: 0.8034 MB / 0.73 GB, free: 13.31 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 0.0001766/0.1931, allocations: 207.3 kB / 0.7302 GB, free: 13.11 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 0.0003879/0.1935, allocations: 477.8 kB / 0.7307 GB, free: 12.64 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.001466/0.195, allocations: 1.523 MB / 0.7322 GB, free: 11.11 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 3.076e-06/0.195, allocations: 0 / 0.7322 GB, free: 11.11 MB / 0.5294 GB Notification: Performance of FrontEnd: time 1.252e-06/0.195, allocations: 4 kB / 0.7322 GB, free: 11.11 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 9.728e-06/0.195, allocations: 4 kB / 0.7322 GB, free: 11.11 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.001639/0.1967, allocations: 1.221 MB / 0.7334 GB, free: 9.824 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 3.651e-05/0.1967, allocations: 12.02 kB / 0.7334 GB, free: 9.812 MB / 0.5294 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001083/0.1968, allocations: 102.6 kB / 0.7335 GB, free: 9.703 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002474/0.1993, allocations: 295.6 kB / 0.7338 GB, free: 9.414 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001044/0.2003, allocations: 0.7491 MB / 0.7345 GB, free: 8.629 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.42e-05/0.2004, allocations: 49.25 kB / 0.7345 GB, free: 8.582 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.76e-05/0.2005, allocations: 56 kB / 0.7346 GB, free: 8.527 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001696/0.2022, allocations: 0.807 MB / 0.7354 GB, free: 7.664 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.605e-05/0.2022, allocations: 0 / 0.7354 GB, free: 7.664 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.776e-05/0.2023, allocations: 24 kB / 0.7354 GB, free: 7.641 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.824e-05/0.2023, allocations: 19.98 kB / 0.7354 GB, free: 7.621 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001986/0.2043, allocations: 0.61 MB / 0.736 GB, free: 7.008 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.004265/0.2086, allocations: 3.946 MB / 0.7399 GB, free: 2.773 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001857/0.2105, allocations: 463.3 kB / 0.7403 GB, free: 2.312 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008232/0.2113, allocations: 204.7 kB / 0.7405 GB, free: 2.109 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005703/0.2119, allocations: 0.5142 MB / 0.741 GB, free: 1.484 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.091e-05/0.2119, allocations: 38.56 kB / 0.741 GB, free: 1.438 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=26): time 1.363e-06/0.2119, allocations: 0 / 0.741 GB, free: 1.438 MB / 0.5294 GB Notification: Performance of matching and sorting (n=26): time 0.002994/0.2149, allocations: 0.7799 MB / 0.7418 GB, free: 0.6328 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.348e-05/0.215, allocations: 106.8 kB / 0.7419 GB, free: 0.5039 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006176/0.2156, allocations: 0.5782 MB / 0.7425 GB, free: 15.91 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 4.995e-05/0.2157, allocations: 33.7 kB / 0.7425 GB, free: 15.88 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002434/0.2159, allocations: 391.6 kB / 0.7429 GB, free: 15.48 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 8.329e-05/0.216, allocations: 98.59 kB / 0.743 GB, free: 15.39 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001567/0.2162, allocations: 102 kB / 0.7431 GB, free: 15.28 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001337/0.2163, allocations: 370.7 kB / 0.7434 GB, free: 14.91 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008389/0.2172, allocations: 200.7 kB / 0.7436 GB, free: 14.71 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000922/0.2181, allocations: 363.3 kB / 0.744 GB, free: 14.29 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001715/0.2198, allocations: 0.5177 MB / 0.7445 GB, free: 13.72 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.815e-06/0.2198, allocations: 0 / 0.7445 GB, free: 13.72 MB / 0.545 GB Notification: Performance of matching and sorting (n=51) (initialization): time 0.002028/0.2219, allocations: 0.6548 MB / 0.7451 GB, free: 13.06 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.737e-05/0.2219, allocations: 12.03 kB / 0.7451 GB, free: 13.05 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.664e-06/0.2219, allocations: 4 kB / 0.7451 GB, free: 13.04 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000218/0.2221, allocations: 56.83 kB / 0.7452 GB, free: 12.98 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000751/0.2229, allocations: 131.8 kB / 0.7453 GB, free: 12.86 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004121/0.2233, allocations: 0.6265 MB / 0.7459 GB, free: 12.2 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008307/0.2242, allocations: 117.3 kB / 0.746 GB, free: 12.09 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.566e-05/0.2242, allocations: 23.98 kB / 0.746 GB, free: 12.07 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.0002601/0.2245, allocations: 222.3 kB / 0.7463 GB, free: 11.84 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001287/0.2246, allocations: 71.17 kB / 0.7463 GB, free: 11.77 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002119/0.2267, allocations: 0.6174 MB / 0.7469 GB, free: 11.14 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.062e-06/0.2268, allocations: 3.938 kB / 0.7469 GB, free: 11.14 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.466e-06/0.2268, allocations: 0 / 0.7469 GB, free: 11.14 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001852/0.2286, allocations: 0.7023 MB / 0.7476 GB, free: 10.36 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002712/0.2314, allocations: 1.295 MB / 0.7489 GB, free: 8.988 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.049e-06/0.2314, allocations: 4 kB / 0.7489 GB, free: 8.984 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005706/0.232, allocations: 76.05 kB / 0.749 GB, free: 8.91 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001602/0.2321, allocations: 64.77 kB / 0.749 GB, free: 8.844 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.599e-05/0.2322, allocations: 15.91 kB / 0.749 GB, free: 8.828 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003812/0.2326, allocations: 0.6109 MB / 0.7496 GB, free: 8.191 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.523e-06/0.2326, allocations: 0 / 0.7496 GB, free: 8.191 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00279/0.2354, allocations: 0.8921 MB / 0.7505 GB, free: 7.27 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002515/0.2356, allocations: 204.2 kB / 0.7507 GB, free: 7.051 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001436/0.2358, allocations: 8 kB / 0.7507 GB, free: 7.043 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000857/0.2366, allocations: 79.97 kB / 0.7508 GB, free: 6.965 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.295e-05/0.2367, allocations: 31.78 kB / 0.7508 GB, free: 6.934 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.293e-05/0.2368, allocations: 36.02 kB / 0.7508 GB, free: 6.898 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.0005455/0.2373, allocations: 475 kB / 0.7513 GB, free: 6.441 MB / 0.545 GB Notification: Performance of sort global known variables: time 2.2e-07/0.2373, allocations: 0 / 0.7513 GB, free: 6.441 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0007723/0.2381, allocations: 271.5 kB / 0.7516 GB, free: 6.176 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.003459/0.2416, allocations: 1.637 MB / 0.7532 GB, free: 4.508 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.001894/0.2435, allocations: 0.5 MB / 0.7536 GB, free: 4.008 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 2.565e-06/0.2435, allocations: 3.938 kB / 0.7537 GB, free: 4.004 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.0009061/0.2444, allocations: 233.6 kB / 0.7539 GB, free: 3.777 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001636/0.2461, allocations: 384.9 kB / 0.7542 GB, free: 3.406 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01069/0.2568, allocations: 6.148 MB / 0.7602 GB, free: 13.05 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004228/0.2572, allocations: 0.9217 MB / 0.7611 GB, free: 12.1 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.0006419/0.2579, allocations: 156.5 kB / 0.7613 GB, free: 11.95 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003509/0.2582, allocations: 275.3 kB / 0.7616 GB, free: 11.68 MB / 0.5606 GB Notification: Performance of SimCode: time 3.61e-07/0.2582, allocations: 0 / 0.7616 GB, free: 11.68 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.599/1.857, allocations: 21.89 MB / 0.7829 GB, free: 90.3 MB / 0.5606 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002613/1.857, allocations: 298.2 kB / 0.7832 GB, free: 89.92 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.191/4.048, allocations: 0 / 0.7832 GB, free: 89.92 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)