Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.Fluid.HeatPumps.Validation.Carnot_TCon_reverseFlow.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_reverseFlow,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Fluid_HeatPumps_Validation_Carnot_TCon_reverseFlow",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildSysPro.IBPSA.Fluid.HeatPumps.Validation.Carnot_TCon_reverseFlow,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Fluid_HeatPumps_Validation_Carnot_TCon_reverseFlow",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.0007864/0.0007862, allocations: 90.34 kB / 15.06 MB, free: 1.078 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.000966/0.000966, allocations: 176.7 kB / 15.95 MB, free: 192 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.406/1.406, allocations: 223.3 MB / 240 MB, free: 5.426 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0-master/package.mo): time 0.9446/0.9446, allocations: 143.4 MB / 434.4 MB, free: 13.79 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.000334/0.0003342, allocations: 8 kB / 0.5161 GB, free: 11.17 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1611/0.1615, allocations: 83.42 MB / 0.5975 GB, free: 7.691 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Fluid.HeatPumps.Validation.Carnot_TCon_reverseFlow): time 0.3278/0.4893, allocations: 56.48 MB / 0.6527 GB, free: 8.453 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.01344/0.5028, allocations: 11.24 MB / 0.6637 GB, free: 376 kB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002076/0.505, allocations: 47.91 kB / 0.6637 GB, free: 356 kB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.001751/0.5067, allocations: 465.3 kB / 0.6642 GB, free: 96 kB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.005364/0.5121, allocations: 1.529 MB / 0.6657 GB, free: 15.2 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.002995/0.5151, allocations: 0.8643 MB / 0.6665 GB, free: 14.8 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 0.004941/0.5201, allocations: 3.391 MB / 0.6698 GB, free: 13.34 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001841/0.5219, allocations: 0.8048 MB / 0.6706 GB, free: 13.03 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003067/0.525, allocations: 1.04 MB / 0.6716 GB, free: 12.59 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002431/0.5275, allocations: 0.8204 MB / 0.6724 GB, free: 12.24 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 0.0004072/0.5279, allocations: 43.47 kB / 0.6725 GB, free: 12.24 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003412/0.5313, allocations: 1.091 MB / 0.6735 GB, free: 11.91 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 0.0005303/0.5319, allocations: 206.8 kB / 0.6737 GB, free: 11.8 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 0.0007999/0.5327, allocations: 287.5 kB / 0.674 GB, free: 11.63 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.003383/0.5361, allocations: 1.735 MB / 0.6757 GB, free: 11.22 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 4.91e-06/0.5361, allocations: 0 / 0.6757 GB, free: 11.22 MB / 0.5137 GB Notification: Performance of FrontEnd: time 1.583e-06/0.5361, allocations: 5.125 kB / 0.6757 GB, free: 11.22 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 7.051e-05/0.5362, allocations: 0 / 0.6757 GB, free: 11.22 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: 194 * Number of variables: 194 Notification: Performance of Generate backend data structure: time 0.004183/0.5404, allocations: 1.509 MB / 0.6772 GB, free: 10.2 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 4.677e-05/0.5404, allocations: 9.812 kB / 0.6772 GB, free: 10.2 MB / 0.5137 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003149/0.5408, allocations: 126.5 kB / 0.6773 GB, free: 10.11 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002586/0.5434, allocations: 0.5092 MB / 0.6778 GB, free: 10.01 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002798/0.5462, allocations: 1.102 MB / 0.6789 GB, free: 9.328 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003595/0.5465, allocations: 135.8 kB / 0.679 GB, free: 9.289 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001954/0.5468, allocations: 80.69 kB / 0.6791 GB, free: 9.266 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002604/0.5494, allocations: 1.028 MB / 0.6801 GB, free: 8.828 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.055e-05/0.5494, allocations: 0 / 0.6801 GB, free: 8.828 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.265e-05/0.5495, allocations: 35.72 kB / 0.6801 GB, free: 8.801 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.412e-05/0.5495, allocations: 18.94 kB / 0.6801 GB, free: 8.801 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00277/0.5523, allocations: 1.007 MB / 0.6811 GB, free: 8.484 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.007445/0.5598, allocations: 4.724 MB / 0.6857 GB, free: 5.031 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003821/0.5636, allocations: 1.128 MB / 0.6868 GB, free: 4.723 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00105/0.5647, allocations: 444.1 kB / 0.6873 GB, free: 4.59 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009041/0.5656, allocations: 1.022 MB / 0.6883 GB, free: 3.453 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.899e-05/0.5656, allocations: 45.39 kB / 0.6883 GB, free: 3.402 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=53): time 2.585e-06/0.5656, allocations: 1.938 kB / 0.6883 GB, free: 3.402 MB / 0.5137 GB Notification: Performance of matching and sorting (n=53): time 0.009089/0.5747, allocations: 2.492 MB / 0.6907 GB, free: 2.781 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.486e-05/0.5748, allocations: 57.94 kB / 0.6908 GB, free: 2.719 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001918/0.5767, allocations: 0.9222 MB / 0.6917 GB, free: 2.328 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 0.0001142/0.5769, allocations: 37.95 kB / 0.6917 GB, free: 2.289 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005142/0.5774, allocations: 0.5067 MB / 0.6922 GB, free: 1.887 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002451/0.5776, allocations: 179.5 kB / 0.6924 GB, free: 1.746 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.886e-05/0.5777, allocations: 14.34 kB / 0.6924 GB, free: 1.734 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001349/0.5778, allocations: 330.6 kB / 0.6927 GB, free: 1.418 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001073/0.5789, allocations: 377.9 kB / 0.6931 GB, free: 1.312 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001195/0.5801, allocations: 0.5403 MB / 0.6936 GB, free: 1.02 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001027/0.5812, allocations: 404.7 kB / 0.694 GB, free: 0.8867 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.919e-06/0.5812, allocations: 1.562 kB / 0.694 GB, free: 0.8867 MB / 0.5137 GB Notification: Performance of matching and sorting (n=69) (initialization): time 0.003076/0.5843, allocations: 1.122 MB / 0.6951 GB, free: 0.4922 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001135/0.5844, allocations: 165.5 kB / 0.6952 GB, free: 316 kB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.01e-05/0.5844, allocations: 6.688 kB / 0.6953 GB, free: 312 kB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001224/0.5856, allocations: 333.4 kB / 0.6956 GB, free: 228 kB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000637/0.5863, allocations: 144.6 kB / 0.6957 GB, free: 212 kB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00146/0.5878, allocations: 0.9353 MB / 0.6966 GB, free: 15.55 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001355/0.5891, allocations: 172.9 kB / 0.6968 GB, free: 15.5 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001079/0.5893, allocations: 28.78 kB / 0.6968 GB, free: 15.49 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 9.939e-06/0.5893, allocations: 3.781 kB / 0.6968 GB, free: 15.49 MB / 0.5294 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002619/0.5919, allocations: 1.001 MB / 0.6978 GB, free: 15.17 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.532e-06/0.5919, allocations: 3.188 kB / 0.6978 GB, free: 15.17 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001068/0.593, allocations: 325 kB / 0.6981 GB, free: 15.05 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006167/0.5936, allocations: 146 kB / 0.6982 GB, free: 15 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0014/0.595, allocations: 0.932 MB / 0.6992 GB, free: 14.28 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001315/0.5964, allocations: 170 kB / 0.6993 GB, free: 14.2 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.979e-05/0.5965, allocations: 27.58 kB / 0.6993 GB, free: 14.19 MB / 0.5294 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 11 * 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 (55): * Single equations (assignments): 54 * 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.0007252/0.5972, allocations: 354.5 kB / 0.6997 GB, free: 13.9 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003087/0.5975, allocations: 110.1 kB / 0.6998 GB, free: 13.84 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004419/0.6019, allocations: 1.442 MB / 0.7012 GB, free: 13.11 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.542e-05/0.602, allocations: 9.766 kB / 0.7012 GB, free: 13.11 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.775e-06/0.602, allocations: 0 / 0.7012 GB, free: 13.11 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.023e-05/0.602, allocations: 3.953 kB / 0.7012 GB, free: 13.11 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006324/0.6084, allocations: 2.533 MB / 0.7037 GB, free: 11.48 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.082e-05/0.6084, allocations: 5.109 kB / 0.7037 GB, free: 11.48 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005306/0.6089, allocations: 110 kB / 0.7038 GB, free: 11.45 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001001/0.61, allocations: 325.4 kB / 0.7041 GB, free: 11.3 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.393e-05/0.6101, allocations: 20.3 kB / 0.7041 GB, free: 11.29 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001455/0.6115, allocations: 0.9668 MB / 0.7051 GB, free: 10.55 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.586e-06/0.6115, allocations: 10.64 kB / 0.7051 GB, free: 10.54 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004097/0.6156, allocations: 1.445 MB / 0.7065 GB, free: 9.77 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007494/0.6164, allocations: 303.7 kB / 0.7068 GB, free: 9.5 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002852/0.6167, allocations: 11.31 kB / 0.7068 GB, free: 9.492 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001087/0.6178, allocations: 121.6 kB / 0.7069 GB, free: 9.445 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.55e-05/0.6179, allocations: 39.48 kB / 0.7069 GB, free: 9.422 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.958e-05/0.618, allocations: 27.91 kB / 0.707 GB, free: 9.41 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.001063/0.6191, allocations: 0.6501 MB / 0.7076 GB, free: 9.027 MB / 0.5294 GB Notification: Performance of sort global known variables: time 2.21e-07/0.6191, allocations: 0 / 0.7076 GB, free: 9.027 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.002242/0.6213, allocations: 0.5654 MB / 0.7082 GB, free: 8.902 MB / 0.5294 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * 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 (42): * Single equations (assignments): 38 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 3 * 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.005278/0.6266, allocations: 2.258 MB / 0.7104 GB, free: 7.406 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.003859/0.6305, allocations: 1.395 MB / 0.7117 GB, free: 6.016 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 7.154e-06/0.6305, allocations: 4 kB / 0.7117 GB, free: 6.012 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.001247/0.6318, allocations: 488.8 kB / 0.7122 GB, free: 5.535 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002902/0.6347, allocations: 0.4929 MB / 0.7127 GB, free: 5.047 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0166/0.6513, allocations: 6.735 MB / 0.7193 GB, free: 14.03 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009626/0.6523, allocations: 1.074 MB / 0.7203 GB, free: 12.93 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.001386/0.6537, allocations: 248 kB / 0.7205 GB, free: 12.69 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007681/0.6545, allocations: 415.3 kB / 0.7209 GB, free: 12.29 MB / 0.545 GB Notification: Performance of SimCode: time 7.01e-07/0.6545, allocations: 0 / 0.7209 GB, free: 12.29 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08426/0.7388, allocations: 33.47 MB / 0.7536 GB, free: 11.4 MB / 0.5762 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002268/0.7391, allocations: 277.3 kB / 0.7539 GB, free: 11.04 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.598/3.337, allocations: 0 / 0.7539 GB, free: 11.04 MB / 0.5762 GB (rm -f BuildSysPro_BuildSysPro.IBPSA.Fluid.HeatPumps.Validation.Carnot_TCon_reverseFlow.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Fluid.HeatPumps.Validation.Carnot_TCon_reverseFlow.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Fluid.HeatPumps.Validation.Carnot_TCon_reverseFlow.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Fluid.HeatPumps.Validation.Carnot_TCon_reverseFlow.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_BuildSysPro_BuildSysPro_IBPSA_Fluid_HeatPumps_Validation_Carnot_TCon_reverseFlow_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 BuildSysPro_BuildSysPro_IBPSA_Fluid_HeatPumps_Validation_Carnot_TCon_reverseFlow.fmu > BuildSysPro_BuildSysPro.IBPSA.Fluid.HeatPumps.Validation.Carnot_TCon_reverseFlow.pipe 2>&1) Environment - environmentSimulation: