Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.Fluid.HeatPumps.Validation.Carnot_TCon_etaPL.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/BuildSysPro 3.5.0-master/package.mo", uses=false) Using package BuildSysPro with version 3.5.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0-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(BuildSysPro.IBPSA.Fluid.HeatPumps.Validation.Carnot_TCon_etaPL,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Fluid_HeatPumps_Validation_Carnot_TCon_etaPL",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildSysPro.IBPSA.Fluid.HeatPumps.Validation.Carnot_TCon_etaPL,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Fluid_HeatPumps_Validation_Carnot_TCon_etaPL",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.000823/0.000823, allocations: 84.38 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.001064/0.001064, 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.385/1.385, allocations: 223.2 MB / 240 MB, free: 5.434 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0-master/package.mo): time 0.9726/0.9726, allocations: 143.4 MB / 434.4 MB, free: 13.68 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003582/0.0003584, allocations: 20 kB / 0.5161 GB, free: 11.21 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1655/0.1659, allocations: 83.4 MB / 0.5975 GB, free: 7.746 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Fluid.HeatPumps.Validation.Carnot_TCon_etaPL): time 0.3231/0.489, allocations: 56.48 MB / 0.6527 GB, free: 8.355 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.01227/0.5013, allocations: 11.24 MB / 0.6637 GB, free: 284 kB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001874/0.5032, allocations: 52.38 kB / 0.6637 GB, free: 260 kB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.001465/0.5047, allocations: 467.3 kB / 0.6642 GB, free: 15.99 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 0.004394/0.5091, allocations: 1.528 MB / 0.6657 GB, free: 15.11 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.00263/0.5118, allocations: 0.8568 MB / 0.6665 GB, free: 14.71 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 0.005832/0.5176, allocations: 3.392 MB / 0.6698 GB, free: 13.24 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00199/0.5196, allocations: 0.7899 MB / 0.6706 GB, free: 12.94 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003407/0.5231, allocations: 1.039 MB / 0.6716 GB, free: 12.5 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002382/0.5255, allocations: 0.8086 MB / 0.6724 GB, free: 12.16 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 0.0004745/0.526, allocations: 42.09 kB / 0.6724 GB, free: 12.16 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003679/0.5297, allocations: 1.107 MB / 0.6735 GB, free: 11.83 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 0.0005743/0.5303, allocations: 198.9 kB / 0.6737 GB, free: 11.72 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 0.0008105/0.5311, allocations: 286.5 kB / 0.674 GB, free: 11.55 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.003289/0.5344, allocations: 1.732 MB / 0.6757 GB, free: 11.15 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 5.751e-06/0.5344, allocations: 0 / 0.6757 GB, free: 11.15 MB / 0.5137 GB Notification: Performance of FrontEnd: time 2.014e-06/0.5344, allocations: 0.9062 kB / 0.6757 GB, free: 11.15 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 6.811e-05/0.5345, allocations: 0 / 0.6757 GB, free: 11.15 MB / 0.5137 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 192 * Number of variables: 192 Notification: Performance of Generate backend data structure: time 0.004067/0.5386, allocations: 1.51 MB / 0.6771 GB, free: 10.12 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 4.833e-05/0.5386, allocations: 9.281 kB / 0.6771 GB, free: 10.12 MB / 0.5137 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0004083/0.5391, allocations: 122.6 kB / 0.6773 GB, free: 10.03 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002435/0.5415, allocations: 473.1 kB / 0.6777 GB, free: 9.938 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003143/0.5447, allocations: 1.089 MB / 0.6788 GB, free: 9.266 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004208/0.5451, allocations: 136.7 kB / 0.6789 GB, free: 9.227 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003114/0.5454, allocations: 87.12 kB / 0.679 GB, free: 9.195 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002449/0.5479, allocations: 0.9995 MB / 0.68 GB, free: 8.738 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.194e-05/0.548, allocations: 1.844 kB / 0.68 GB, free: 8.738 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.39e-05/0.5481, allocations: 35.06 kB / 0.68 GB, free: 8.711 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.211e-05/0.5481, allocations: 18.94 kB / 0.68 GB, free: 8.711 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002502/0.5506, allocations: 0.912 MB / 0.6809 GB, free: 8.426 MB / 0.5137 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.007781/0.5584, allocations: 4.911 MB / 0.6857 GB, free: 4.75 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003181/0.5616, allocations: 0.9008 MB / 0.6866 GB, free: 4.512 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007795/0.5624, allocations: 322.9 kB / 0.6869 GB, free: 4.414 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007231/0.5631, allocations: 0.9019 MB / 0.6878 GB, free: 3.371 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.971e-05/0.5632, allocations: 37.44 kB / 0.6878 GB, free: 3.328 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=44): time 2.354e-06/0.5632, allocations: 0 / 0.6878 GB, free: 3.328 MB / 0.5137 GB Notification: Performance of matching and sorting (n=44): time 0.008046/0.5713, allocations: 2.158 MB / 0.6899 GB, free: 2.809 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.254e-05/0.5713, allocations: 57.66 kB / 0.69 GB, free: 2.746 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002106/0.5734, allocations: 1.046 MB / 0.691 GB, free: 2.312 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 0.0001341/0.5736, allocations: 39.42 kB / 0.691 GB, free: 2.273 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005011/0.5741, allocations: 0.525 MB / 0.6915 GB, free: 1.855 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001677/0.5743, allocations: 158 kB / 0.6917 GB, free: 1.73 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.317e-05/0.5743, allocations: 15.12 kB / 0.6917 GB, free: 1.719 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001126/0.5745, allocations: 329 kB / 0.692 GB, free: 1.402 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000873/0.5753, allocations: 321.5 kB / 0.6923 GB, free: 1.316 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001032/0.5764, allocations: 0.529 MB / 0.6928 GB, free: 0.9766 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008978/0.5773, allocations: 351.3 kB / 0.6932 GB, free: 0.8633 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.331e-06/0.5773, allocations: 1.188 kB / 0.6932 GB, free: 0.8633 MB / 0.5137 GB Notification: Performance of matching and sorting (n=65) (initialization): time 0.002788/0.5801, allocations: 1.044 MB / 0.6942 GB, free: 0.4922 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001466/0.5803, allocations: 205.3 kB / 0.6944 GB, free: 252 kB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.312e-05/0.5803, allocations: 6.938 kB / 0.6944 GB, free: 252 kB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001281/0.5816, allocations: 338.8 kB / 0.6947 GB, free: 168 kB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005513/0.5822, allocations: 123.3 kB / 0.6948 GB, free: 160 kB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001454/0.5836, allocations: 0.9431 MB / 0.6958 GB, free: 15.49 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001486/0.5851, allocations: 201.4 kB / 0.696 GB, free: 15.43 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001069/0.5852, allocations: 27.34 kB / 0.696 GB, free: 15.43 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 1.034e-05/0.5853, allocations: 8.875 kB / 0.696 GB, free: 15.42 MB / 0.5294 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002366/0.5876, allocations: 0.9119 MB / 0.6969 GB, free: 15.13 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.263e-05/0.5877, allocations: 6.281 kB / 0.6969 GB, free: 15.13 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001211/0.5889, allocations: 329.2 kB / 0.6972 GB, free: 15.05 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005255/0.5894, allocations: 127.9 kB / 0.6973 GB, free: 15.04 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001361/0.5908, allocations: 0.9405 MB / 0.6982 GB, free: 14.38 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001303/0.5921, allocations: 171.2 kB / 0.6984 GB, free: 14.33 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.644e-05/0.5922, allocations: 28.41 kB / 0.6984 GB, free: 14.32 MB / 0.5294 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 (51): * Single equations (assignments): 50 * 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 14} Notification: Performance of prepare postOptimizeDAE: time 0.0006514/0.5929, allocations: 349.6 kB / 0.6988 GB, free: 14.04 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002887/0.5932, allocations: 110.9 kB / 0.6989 GB, free: 13.98 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003866/0.5971, allocations: 1.215 MB / 0.7001 GB, free: 13.54 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.824e-05/0.5971, allocations: 5.844 kB / 0.7001 GB, free: 13.54 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.935e-06/0.5971, allocations: 0 / 0.7001 GB, free: 13.54 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.128e-05/0.5971, allocations: 3.984 kB / 0.7001 GB, free: 13.54 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005458/0.6026, allocations: 2.283 MB / 0.7023 GB, free: 12.04 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.067e-06/0.6026, allocations: 2.188 kB / 0.7023 GB, free: 12.04 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002796/0.6029, allocations: 73.02 kB / 0.7024 GB, free: 12.02 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001019/0.6039, allocations: 336.2 kB / 0.7027 GB, free: 11.86 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.496e-05/0.604, allocations: 19 kB / 0.7027 GB, free: 11.85 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00151/0.6055, allocations: 0.9659 MB / 0.7036 GB, free: 11.11 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.699e-06/0.6055, allocations: 3.609 kB / 0.7037 GB, free: 11.11 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003463/0.609, allocations: 1.284 MB / 0.7049 GB, free: 10.38 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007185/0.6098, allocations: 292.8 kB / 0.7052 GB, free: 10.11 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003067/0.6101, allocations: 12.98 kB / 0.7052 GB, free: 10.11 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001027/0.6111, allocations: 114.9 kB / 0.7053 GB, free: 10.06 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.158e-05/0.6112, allocations: 36.89 kB / 0.7053 GB, free: 10.04 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.05e-05/0.6113, allocations: 26.89 kB / 0.7054 GB, free: 10.03 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.001426/0.6127, allocations: 0.7367 MB / 0.7061 GB, free: 9.605 MB / 0.5294 GB Notification: Performance of sort global known variables: time 3.31e-07/0.6127, allocations: 1.375 kB / 0.7061 GB, free: 9.605 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.002197/0.6149, allocations: 0.559 MB / 0.7066 GB, free: 9.488 MB / 0.5294 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 10 * 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 simulation (34): * Single equations (assignments): 29 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 4 * 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 16} Notification: Performance of Backend phase and start with SimCode phase: time 0.004385/0.6193, allocations: 2.103 MB / 0.7087 GB, free: 8.105 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.003058/0.6224, allocations: 1.165 MB / 0.7098 GB, free: 7.598 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 4.639e-06/0.6224, allocations: 1.375 kB / 0.7098 GB, free: 7.598 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.0008596/0.6233, allocations: 378.5 kB / 0.7102 GB, free: 7.434 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002656/0.626, allocations: 0.492 MB / 0.7107 GB, free: 7.137 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01774/0.6437, allocations: 6.864 MB / 0.7174 GB, free: 15.95 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008095/0.6446, allocations: 1.069 MB / 0.7184 GB, free: 14.86 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.001252/0.6458, allocations: 222.6 kB / 0.7186 GB, free: 14.64 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007154/0.6466, allocations: 415.3 kB / 0.719 GB, free: 14.23 MB / 0.545 GB Notification: Performance of SimCode: time 1.122e-06/0.6466, allocations: 4 kB / 0.719 GB, free: 14.23 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08212/0.7287, allocations: 33.73 MB / 0.752 GB, free: 13.03 MB / 0.5762 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002248/0.729, allocations: 268.8 kB / 0.7522 GB, free: 12.67 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.568/3.297, allocations: 0 / 0.7522 GB, free: 12.67 MB / 0.5762 GB (rm -f BuildSysPro_BuildSysPro.IBPSA.Fluid.HeatPumps.Validation.Carnot_TCon_etaPL.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Fluid.HeatPumps.Validation.Carnot_TCon_etaPL.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Fluid.HeatPumps.Validation.Carnot_TCon_etaPL.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Fluid.HeatPumps.Validation.Carnot_TCon_etaPL.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_BuildSysPro_BuildSysPro_IBPSA_Fluid_HeatPumps_Validation_Carnot_TCon_etaPL_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 BuildSysPro_BuildSysPro_IBPSA_Fluid_HeatPumps_Validation_Carnot_TCon_etaPL.fmu > BuildSysPro_BuildSysPro.IBPSA.Fluid.HeatPumps.Validation.Carnot_TCon_etaPL.pipe 2>&1) Environment - environmentSimulation: