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.001192/0.001192, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.001196/0.001196, allocations: 195.5 kB / 16.14 MB, free: 6.715 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.23/1.23, allocations: 222.9 MB / 239.8 MB, free: 4.621 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002008/0.002008, allocations: 293.8 kB / 290.2 MB, free: 2.219 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.8801/0.8801, allocations: 169.2 MB / 0.4977 GB, free: 14.14 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001612/0.001612, allocations: 92.12 kB / 0.5946 GB, free: 28.41 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1203/0.1219, allocations: 86.97 MB / 0.6795 GB, free: 1.102 MB / 478.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.HeatExchangers.Validation.EvaporatorCondenser): time 0.02941/0.1513, allocations: 35.66 MB / 0.7144 GB, free: 13.33 MB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.009177/0.1606, allocations: 8.12 MB / 0.7223 GB, free: 5.188 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004471/0.161, allocations: 31.81 kB / 0.7223 GB, free: 5.156 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 0.0007858/0.1618, allocations: 342.1 kB / 0.7226 GB, free: 4.82 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 0.002244/0.1641, allocations: 1.286 MB / 0.7239 GB, free: 3.535 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.001927/0.166, allocations: 1.002 MB / 0.7249 GB, free: 2.543 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 0.002161/0.1682, allocations: 2.829 MB / 0.7276 GB, free: 15.71 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006308/0.1688, allocations: 0.5951 MB / 0.7282 GB, free: 15.1 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0009674/0.1698, allocations: 0.7701 MB / 0.729 GB, free: 14.32 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005906/0.1704, allocations: 0.6261 MB / 0.7296 GB, free: 13.7 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 9.175e-05/0.1705, allocations: 40 kB / 0.7296 GB, free: 13.66 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001137/0.1717, allocations: 0.737 MB / 0.7303 GB, free: 12.92 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 0.0001677/0.1718, allocations: 175.2 kB / 0.7305 GB, free: 12.75 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 0.0003729/0.1722, allocations: 437.9 kB / 0.7309 GB, free: 12.32 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.001363/0.1736, allocations: 1.492 MB / 0.7324 GB, free: 10.82 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 3.026e-06/0.1736, allocations: 0 / 0.7324 GB, free: 10.82 MB / 0.5294 GB Notification: Performance of FrontEnd: time 7.61e-07/0.1736, allocations: 4 kB / 0.7324 GB, free: 10.82 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 7.775e-06/0.1736, allocations: 0 / 0.7324 GB, free: 10.82 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.001682/0.1753, allocations: 1.225 MB / 0.7336 GB, free: 9.531 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 3.183e-05/0.1754, allocations: 8.031 kB / 0.7336 GB, free: 9.523 MB / 0.5294 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001119/0.1755, allocations: 106.7 kB / 0.7337 GB, free: 9.41 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002501/0.178, allocations: 291.6 kB / 0.734 GB, free: 9.125 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001028/0.179, allocations: 0.753 MB / 0.7347 GB, free: 8.336 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.078e-05/0.1791, allocations: 41.31 kB / 0.7347 GB, free: 8.297 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.652e-05/0.1792, allocations: 63.94 kB / 0.7348 GB, free: 8.234 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001658/0.1808, allocations: 0.7992 MB / 0.7356 GB, free: 7.379 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.536e-05/0.1808, allocations: 3.938 kB / 0.7356 GB, free: 7.375 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.754e-05/0.1809, allocations: 28 kB / 0.7356 GB, free: 7.348 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.652e-05/0.181, allocations: 20 kB / 0.7356 GB, free: 7.328 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002005/0.183, allocations: 0.6139 MB / 0.7362 GB, free: 6.711 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.004187/0.1872, allocations: 3.946 MB / 0.7401 GB, free: 2.48 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001832/0.189, allocations: 457.2 kB / 0.7405 GB, free: 2.027 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008129/0.1898, allocations: 204.7 kB / 0.7407 GB, free: 1.824 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005543/0.1904, allocations: 0.5259 MB / 0.7412 GB, free: 1.188 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.407e-05/0.1904, allocations: 34.56 kB / 0.7413 GB, free: 1.145 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=26): time 1.393e-06/0.1904, allocations: 4 kB / 0.7413 GB, free: 1.141 MB / 0.5294 GB Notification: Performance of matching and sorting (n=26): time 0.003003/0.1934, allocations: 0.7722 MB / 0.742 GB, free: 352 kB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.179e-05/0.1935, allocations: 102.8 kB / 0.7421 GB, free: 224 kB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006202/0.1941, allocations: 0.5821 MB / 0.7427 GB, free: 15.62 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 4.305e-05/0.1942, allocations: 37.7 kB / 0.7427 GB, free: 15.58 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002308/0.1944, allocations: 387.6 kB / 0.7431 GB, free: 15.2 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 7.838e-05/0.1945, allocations: 94.66 kB / 0.7432 GB, free: 15.11 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001603/0.1947, allocations: 101.9 kB / 0.7433 GB, free: 15 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.000125/0.1948, allocations: 374.7 kB / 0.7436 GB, free: 14.62 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008538/0.1957, allocations: 204.6 kB / 0.7438 GB, free: 14.42 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009428/0.1966, allocations: 355.4 kB / 0.7442 GB, free: 14.01 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001754/0.1984, allocations: 0.5255 MB / 0.7447 GB, free: 13.43 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.368e-06/0.1984, allocations: 4 kB / 0.7447 GB, free: 13.43 MB / 0.545 GB Notification: Performance of matching and sorting (n=51) (initialization): time 0.002067/0.2005, allocations: 0.6549 MB / 0.7453 GB, free: 12.77 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.555e-05/0.2005, allocations: 8 kB / 0.7453 GB, free: 12.76 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.683e-06/0.2005, allocations: 4 kB / 0.7453 GB, free: 12.75 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002134/0.2007, allocations: 56.88 kB / 0.7454 GB, free: 12.7 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007522/0.2015, allocations: 139.7 kB / 0.7455 GB, free: 12.56 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004082/0.2019, allocations: 0.6187 MB / 0.7461 GB, free: 11.91 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000816/0.2027, allocations: 107.5 kB / 0.7462 GB, free: 11.81 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.11e-05/0.2028, allocations: 27.97 kB / 0.7463 GB, free: 11.78 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.0002504/0.203, allocations: 218.4 kB / 0.7465 GB, free: 11.56 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001313/0.2032, allocations: 71.19 kB / 0.7465 GB, free: 11.49 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002095/0.2053, allocations: 0.6167 MB / 0.7471 GB, free: 10.86 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.932e-06/0.2053, allocations: 0 / 0.7471 GB, free: 10.86 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.948e-06/0.2053, allocations: 7.938 kB / 0.7472 GB, free: 10.86 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001825/0.2072, allocations: 0.7062 MB / 0.7478 GB, free: 10.08 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00259/0.2098, allocations: 1.29 MB / 0.7491 GB, free: 8.711 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.909e-06/0.2098, allocations: 8 kB / 0.7491 GB, free: 8.703 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005661/0.2103, allocations: 84 kB / 0.7492 GB, free: 8.621 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001627/0.2105, allocations: 56.81 kB / 0.7492 GB, free: 8.562 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.333e-05/0.2106, allocations: 15.92 kB / 0.7493 GB, free: 8.547 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003755/0.2109, allocations: 0.6147 MB / 0.7499 GB, free: 7.906 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.997e-06/0.211, allocations: 4.031 kB / 0.7499 GB, free: 7.902 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002712/0.2137, allocations: 0.8894 MB / 0.7507 GB, free: 6.98 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002353/0.2139, allocations: 204.1 kB / 0.7509 GB, free: 6.762 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001386/0.2141, allocations: 8 kB / 0.7509 GB, free: 6.754 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008489/0.2149, allocations: 79.97 kB / 0.751 GB, free: 6.676 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.365e-05/0.215, allocations: 27.91 kB / 0.751 GB, free: 6.648 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.587e-05/0.215, allocations: 23.91 kB / 0.7511 GB, free: 6.625 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.0005124/0.2156, allocations: 483 kB / 0.7515 GB, free: 6.156 MB / 0.545 GB Notification: Performance of sort global known variables: time 1.91e-07/0.2156, allocations: 0 / 0.7515 GB, free: 6.156 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0007207/0.2163, allocations: 271.5 kB / 0.7518 GB, free: 5.891 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.003427/0.2197, allocations: 1.621 MB / 0.7534 GB, free: 4.234 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.001839/0.2216, allocations: 0.4883 MB / 0.7538 GB, free: 3.746 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 2.605e-06/0.2216, allocations: 3.938 kB / 0.7538 GB, free: 3.742 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.0009138/0.2225, allocations: 232.9 kB / 0.7541 GB, free: 3.516 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001754/0.2243, allocations: 397.7 kB / 0.7544 GB, free: 3.137 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0107/0.235, allocations: 6.144 MB / 0.7604 GB, free: 12.77 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004016/0.2354, allocations: 0.9218 MB / 0.7613 GB, free: 11.82 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.0005943/0.236, allocations: 164.4 kB / 0.7615 GB, free: 11.66 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003493/0.2364, allocations: 271.3 kB / 0.7618 GB, free: 11.4 MB / 0.5606 GB Notification: Performance of SimCode: time 3.2e-07/0.2364, allocations: 0 / 0.7618 GB, free: 11.4 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.8192/1.056, allocations: 21.43 MB / 0.7827 GB, free: 89.98 MB / 0.5606 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001762/1.056, allocations: 299.9 kB / 0.783 GB, free: 89.61 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.116/3.172, allocations: 0 / 0.783 GB, free: 89.61 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)