Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Fluid.HeatPumps.BaseClasses.Validation.EquationFitReversible.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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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(Buildings.Fluid.HeatPumps.BaseClasses.Validation.EquationFitReversible,fileNamePrefix="Buildings_8_Buildings_Fluid_HeatPumps_BaseClasses_Validation_EquationFitReversible",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.HeatPumps.BaseClasses.Validation.EquationFitReversible,fileNamePrefix="Buildings_8_Buildings_Fluid_HeatPumps_BaseClasses_Validation_EquationFitReversible",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.001066/0.001066, allocations: 103.4 kB / 15.33 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.001206/0.001206, allocations: 187.8 kB / 16.25 MB, free: 6.621 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.304/1.304, allocations: 205.1 MB / 222.1 MB, free: 4.727 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.595/1.595, allocations: 292.3 MB / 0.5486 GB, free: 13.64 MB / 462.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001319/0.001319, allocations: 70.64 kB / 0.6711 GB, free: 26.21 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1957/0.197, allocations: 114.5 MB / 0.783 GB, free: 13.82 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatPumps.BaseClasses.Validation.EquationFitReversible): time 0.003375/0.2005, allocations: 2.42 MB / 0.7853 GB, free: 11.38 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.001796/0.2023, allocations: 1.419 MB / 0.7867 GB, free: 9.953 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001446/0.2024, allocations: 4 kB / 0.7867 GB, free: 9.949 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.0005446/0.203, allocations: 199 kB / 0.7869 GB, free: 9.754 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.0001386/0.2032, allocations: 59.48 kB / 0.787 GB, free: 9.695 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003055/0.2035, allocations: 107.9 kB / 0.7871 GB, free: 9.59 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0003265/0.2038, allocations: 330.7 kB / 0.7874 GB, free: 9.266 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001081/0.2039, allocations: 44.72 kB / 0.7874 GB, free: 9.219 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001911/0.2041, allocations: 127.5 kB / 0.7876 GB, free: 9.094 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000243/0.2044, allocations: 191.3 kB / 0.7877 GB, free: 8.906 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 5.277e-05/0.2044, allocations: 35.94 kB / 0.7878 GB, free: 8.871 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001265/0.2046, allocations: 67.91 kB / 0.7878 GB, free: 8.805 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 0.0001128/0.2047, allocations: 127.7 kB / 0.788 GB, free: 8.68 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.0001435/0.2048, allocations: 179.1 kB / 0.7881 GB, free: 8.504 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0004159/0.2053, allocations: 490.7 kB / 0.7886 GB, free: 8.023 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 3.506e-06/0.2053, allocations: 0 / 0.7886 GB, free: 8.023 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.172e-06/0.2053, allocations: 4 kB / 0.7886 GB, free: 8.02 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 7.684e-06/0.2053, allocations: 0 / 0.7886 GB, free: 8.02 MB / 0.6075 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 27 * Number of variables: 27 Notification: Performance of Generate backend data structure: time 0.001164/0.2065, allocations: 0.7042 MB / 0.7893 GB, free: 7.266 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.628e-05/0.2065, allocations: 8.031 kB / 0.7893 GB, free: 7.258 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.293e-05/0.2066, allocations: 50.73 kB / 0.7893 GB, free: 7.199 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008149/0.2074, allocations: 144.3 kB / 0.7895 GB, free: 7.059 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003771/0.2078, allocations: 354.2 kB / 0.7898 GB, free: 6.676 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001024/0.2079, allocations: 84.19 kB / 0.7899 GB, free: 6.582 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.052e-05/0.2079, allocations: 12.38 kB / 0.7899 GB, free: 6.57 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006847/0.2086, allocations: 307.2 kB / 0.7902 GB, free: 6.266 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.634e-06/0.2086, allocations: 0 / 0.7902 GB, free: 6.266 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.777e-05/0.2087, allocations: 0 / 0.7902 GB, free: 6.266 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.821e-06/0.2087, allocations: 4 kB / 0.7902 GB, free: 6.262 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001045/0.2097, allocations: 424.3 kB / 0.7906 GB, free: 5.848 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00149/0.2112, allocations: 0.859 MB / 0.7915 GB, free: 4.934 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006159/0.2119, allocations: 274.3 kB / 0.7917 GB, free: 4.656 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005119/0.2124, allocations: 228.6 kB / 0.7919 GB, free: 4.43 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 3.74e-05/0.2124, allocations: 3.984 kB / 0.7919 GB, free: 4.426 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.943e-05/0.2125, allocations: 30.56 kB / 0.792 GB, free: 4.387 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=18): time 1.222e-06/0.2125, allocations: 0 / 0.792 GB, free: 4.387 MB / 0.6075 GB Notification: Performance of matching and sorting (n=18): time 0.001675/0.2141, allocations: 0.648 MB / 0.7926 GB, free: 3.734 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.789e-05/0.2142, allocations: 63.34 kB / 0.7927 GB, free: 3.66 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004159/0.2146, allocations: 425.6 kB / 0.7931 GB, free: 3.234 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 4.12e-05/0.2147, allocations: 29.7 kB / 0.7931 GB, free: 3.199 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001205/0.2148, allocations: 184 kB / 0.7933 GB, free: 3.016 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 6.648e-05/0.2149, allocations: 55.19 kB / 0.7933 GB, free: 2.961 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001073/0.215, allocations: 37.7 kB / 0.7934 GB, free: 2.918 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001224/0.2151, allocations: 346.8 kB / 0.7937 GB, free: 2.57 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005124/0.2156, allocations: 195.8 kB / 0.7939 GB, free: 2.379 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005235/0.2162, allocations: 235.2 kB / 0.7941 GB, free: 2.137 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009322/0.2171, allocations: 375 kB / 0.7945 GB, free: 1.77 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.655e-06/0.2171, allocations: 0 / 0.7945 GB, free: 1.77 MB / 0.6075 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.001105/0.2182, allocations: 460.9 kB / 0.7949 GB, free: 1.312 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.698e-05/0.2182, allocations: 7.984 kB / 0.7949 GB, free: 1.305 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.51e-06/0.2183, allocations: 0 / 0.7949 GB, free: 1.305 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.122e-05/0.2183, allocations: 0 / 0.7949 GB, free: 1.305 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004396/0.2187, allocations: 63.88 kB / 0.795 GB, free: 1.242 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.72e-06/0.2187, allocations: 3.938 kB / 0.795 GB, free: 1.238 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003153/0.2191, allocations: 43.78 kB / 0.795 GB, free: 1.195 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.916e-05/0.2191, allocations: 12 kB / 0.795 GB, free: 1.184 MB / 0.6075 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 1 (reaToInt.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (18): * Single equations (assignments): 18 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001694/0.2193, allocations: 166.4 kB / 0.7952 GB, free: 1.012 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.11e-05/0.2193, allocations: 35.53 kB / 0.7952 GB, free: 0.9766 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.842e-05/0.2194, allocations: 39.59 kB / 0.7953 GB, free: 0.9375 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.241e-06/0.2194, allocations: 11.92 kB / 0.7953 GB, free: 0.9258 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.11e-06/0.2194, allocations: 0 / 0.7953 GB, free: 0.9258 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.046e-06/0.2194, allocations: 0 / 0.7953 GB, free: 0.9258 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004815/0.2199, allocations: 474.8 kB / 0.7957 GB, free: 420 kB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.304e-06/0.2199, allocations: 0 / 0.7957 GB, free: 420 kB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000416/0.2204, allocations: 67.92 kB / 0.7958 GB, free: 352 kB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.286e-06/0.2204, allocations: 0 / 0.7958 GB, free: 352 kB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.006e-05/0.2204, allocations: 3.984 kB / 0.7958 GB, free: 348 kB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.43e-06/0.2204, allocations: 7.938 kB / 0.7958 GB, free: 340 kB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.323e-06/0.2204, allocations: 0 / 0.7958 GB, free: 340 kB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001166/0.2216, allocations: 0.5566 MB / 0.7963 GB, free: 15.76 MB / 0.6231 GB Notification: Performance of postOpt removeConstants (simulation): time 8.71e-05/0.2217, allocations: 116.7 kB / 0.7964 GB, free: 15.62 MB / 0.6231 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.004e-05/0.2218, allocations: 4 kB / 0.7965 GB, free: 15.62 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003414/0.2221, allocations: 35.89 kB / 0.7965 GB, free: 15.59 MB / 0.6231 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.523e-05/0.2222, allocations: 27.97 kB / 0.7965 GB, free: 15.56 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.987e-05/0.2222, allocations: 11.98 kB / 0.7965 GB, free: 15.55 MB / 0.6231 GB Notification: Performance of sorting global known variables: time 0.0002938/0.2225, allocations: 307.1 kB / 0.7968 GB, free: 15.25 MB / 0.6231 GB Notification: Performance of sort global known variables: time 1.51e-07/0.2225, allocations: 0 / 0.7968 GB, free: 15.25 MB / 0.6231 GB Notification: Performance of remove unused functions: time 0.0003223/0.2229, allocations: 71.91 kB / 0.7969 GB, free: 15.18 MB / 0.6231 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 1 (reaToInt.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (18): * Single equations (assignments): 18 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001419/0.2243, allocations: 1.087 MB / 0.7979 GB, free: 14.06 MB / 0.6231 GB Notification: Performance of simCode: created initialization part: time 0.001154/0.2255, allocations: 451.5 kB / 0.7984 GB, free: 13.62 MB / 0.6231 GB Notification: Performance of simCode: created event and clocks part: time 2.865e-06/0.2255, allocations: 0 / 0.7984 GB, free: 13.62 MB / 0.6231 GB Notification: Performance of simCode: created simulation system equations: time 0.0005581/0.226, allocations: 238.7 kB / 0.7986 GB, free: 13.39 MB / 0.6231 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004256/0.2265, allocations: 53.41 kB / 0.7987 GB, free: 13.34 MB / 0.6231 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006334/0.2328, allocations: 4.231 MB / 0.8028 GB, free: 9.035 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003224/0.2332, allocations: 0.7948 MB / 0.8036 GB, free: 8.215 MB / 0.6231 GB Notification: Performance of simCode: alias equations: time 0.000292/0.2335, allocations: 62.3 kB / 0.8036 GB, free: 8.152 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00023/0.2337, allocations: 107.4 kB / 0.8037 GB, free: 8.047 MB / 0.6231 GB Notification: Performance of SimCode: time 4.41e-07/0.2337, allocations: 0 / 0.8037 GB, free: 8.047 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01733/0.251, allocations: 7.704 MB / 0.8112 GB, free: 0.5703 MB / 0.6231 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001629/0.2512, allocations: 221.2 kB / 0.8115 GB, free: 324 kB / 0.6231 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.822/2.073, allocations: 5.438 kB / 0.8115 GB, free: 320 kB / 0.6231 GB (rm -f Buildings_8_Buildings.Fluid.HeatPumps.BaseClasses.Validation.EquationFitReversible.pipe ; mkfifo Buildings_8_Buildings.Fluid.HeatPumps.BaseClasses.Validation.EquationFitReversible.pipe ; head -c 1048576 < Buildings_8_Buildings.Fluid.HeatPumps.BaseClasses.Validation.EquationFitReversible.pipe >> ../files/Buildings_8_Buildings.Fluid.HeatPumps.BaseClasses.Validation.EquationFitReversible.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Fluid_HeatPumps_BaseClasses_Validation_EquationFitReversible_fmu --startTime=0 --stopTime=2600 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Fluid_HeatPumps_BaseClasses_Validation_EquationFitReversible.fmu > Buildings_8_Buildings.Fluid.HeatPumps.BaseClasses.Validation.EquationFitReversible.pipe 2>&1)