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.001076/0.001076, allocations: 108 kB / 15.61 MB, free: 152 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001065/0.001065, allocations: 197 kB / 16.53 MB, free: 6.664 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.267/1.267, allocations: 205.1 MB / 222.4 MB, free: 4.59 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.651/1.651, allocations: 292.3 MB / 0.5489 GB, free: 12.81 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.001278/0.001278, allocations: 68.36 kB / 0.6716 GB, free: 26.12 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.163/0.1643, allocations: 114.5 MB / 0.7835 GB, free: 13.39 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatPumps.BaseClasses.Validation.EquationFitReversible): time 0.003145/0.1675, allocations: 2.379 MB / 0.7858 GB, free: 10.99 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.001705/0.1692, allocations: 1.431 MB / 0.7872 GB, free: 9.547 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.647e-05/0.1693, allocations: 4 kB / 0.7872 GB, free: 9.543 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.0004794/0.1698, allocations: 202.8 kB / 0.7874 GB, free: 9.344 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.000123/0.1699, allocations: 83.33 kB / 0.7875 GB, free: 9.262 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002839/0.1702, allocations: 111.7 kB / 0.7876 GB, free: 9.152 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0003716/0.1706, allocations: 330.7 kB / 0.7879 GB, free: 8.828 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001161/0.1707, allocations: 48.72 kB / 0.7879 GB, free: 8.777 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001573/0.1709, allocations: 127.5 kB / 0.7881 GB, free: 8.652 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002471/0.1711, allocations: 183.3 kB / 0.7882 GB, free: 8.473 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 5.099e-05/0.1712, allocations: 36 kB / 0.7883 GB, free: 8.438 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001452/0.1713, allocations: 75.97 kB / 0.7883 GB, free: 8.363 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 0.0001166/0.1715, allocations: 119.7 kB / 0.7885 GB, free: 8.246 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.0001514/0.1716, allocations: 171 kB / 0.7886 GB, free: 8.078 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0004453/0.1721, allocations: 482.8 kB / 0.7891 GB, free: 7.605 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 3.787e-06/0.1721, allocations: 0 / 0.7891 GB, free: 7.605 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.132e-06/0.1721, allocations: 0 / 0.7891 GB, free: 7.605 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 7.534e-06/0.1721, allocations: 0 / 0.7891 GB, free: 7.605 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.001143/0.1732, allocations: 0.7159 MB / 0.7898 GB, free: 6.84 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.284e-05/0.1733, allocations: 19.97 kB / 0.7898 GB, free: 6.82 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.917e-05/0.1733, allocations: 50.73 kB / 0.7898 GB, free: 6.762 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008199/0.1742, allocations: 140.3 kB / 0.79 GB, free: 6.625 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003837/0.1746, allocations: 346.3 kB / 0.7903 GB, free: 6.25 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001044/0.1747, allocations: 88.19 kB / 0.7904 GB, free: 6.152 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.68e-05/0.1747, allocations: 20.3 kB / 0.7904 GB, free: 6.133 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007069/0.1754, allocations: 299.2 kB / 0.7907 GB, free: 5.836 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.085e-06/0.1755, allocations: 0 / 0.7907 GB, free: 5.836 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.03e-05/0.1755, allocations: 4 kB / 0.7907 GB, free: 5.832 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.642e-06/0.1755, allocations: 4 kB / 0.7907 GB, free: 5.828 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001069/0.1766, allocations: 417.5 kB / 0.7911 GB, free: 5.422 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001505/0.1781, allocations: 0.8668 MB / 0.7919 GB, free: 4.5 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006689/0.1788, allocations: 266.4 kB / 0.7922 GB, free: 4.23 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005848/0.1794, allocations: 217.7 kB / 0.7924 GB, free: 4.016 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 3.592e-05/0.1794, allocations: 7.938 kB / 0.7924 GB, free: 4.008 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.47e-05/0.1794, allocations: 30.56 kB / 0.7924 GB, free: 3.969 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=18): time 2.885e-06/0.1794, allocations: 0 / 0.7924 GB, free: 3.969 MB / 0.6075 GB Notification: Performance of matching and sorting (n=18): time 0.00182/0.1813, allocations: 0.6559 MB / 0.7931 GB, free: 3.309 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.338e-05/0.1813, allocations: 59.33 kB / 0.7931 GB, free: 3.238 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004707/0.1818, allocations: 425.7 kB / 0.7935 GB, free: 2.816 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 3.691e-05/0.1818, allocations: 33.64 kB / 0.7936 GB, free: 2.777 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001506/0.182, allocations: 180 kB / 0.7938 GB, free: 2.598 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 6.76e-05/0.1821, allocations: 59.19 kB / 0.7938 GB, free: 2.539 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001142/0.1822, allocations: 41.69 kB / 0.7938 GB, free: 2.492 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001493/0.1824, allocations: 346.8 kB / 0.7942 GB, free: 2.145 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005346/0.1829, allocations: 195.9 kB / 0.7944 GB, free: 1.953 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005736/0.1835, allocations: 231.2 kB / 0.7946 GB, free: 1.715 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001004/0.1845, allocations: 375.5 kB / 0.7949 GB, free: 1.348 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.445e-06/0.1845, allocations: 0 / 0.7949 GB, free: 1.348 MB / 0.6075 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.001207/0.1857, allocations: 456.9 kB / 0.7954 GB, free: 0.8945 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 2.228e-05/0.1857, allocations: 8 kB / 0.7954 GB, free: 0.8867 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.534e-06/0.1858, allocations: 0 / 0.7954 GB, free: 0.8867 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.621e-05/0.1858, allocations: 0 / 0.7954 GB, free: 0.8867 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004969/0.1863, allocations: 71.8 kB / 0.7955 GB, free: 0.8164 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.463e-06/0.1863, allocations: 0 / 0.7955 GB, free: 0.8164 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003375/0.1866, allocations: 43.8 kB / 0.7955 GB, free: 0.7734 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.123e-05/0.1867, allocations: 11.98 kB / 0.7955 GB, free: 0.7617 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.0001767/0.1869, allocations: 162.9 kB / 0.7957 GB, free: 0.5938 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.986e-05/0.187, allocations: 35.53 kB / 0.7957 GB, free: 0.5586 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.443e-05/0.187, allocations: 39.59 kB / 0.7957 GB, free: 0.5195 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.109e-06/0.187, allocations: 3.938 kB / 0.7957 GB, free: 0.5156 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.492e-06/0.187, allocations: 4 kB / 0.7957 GB, free: 0.5117 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.875e-06/0.1871, allocations: 4 kB / 0.7957 GB, free: 0.5078 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005713/0.1876, allocations: 482.8 kB / 0.7962 GB, free: 15.98 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.422e-06/0.1876, allocations: 0 / 0.7962 GB, free: 15.98 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004337/0.1881, allocations: 63.86 kB / 0.7963 GB, free: 15.92 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.404e-06/0.1881, allocations: 4 kB / 0.7963 GB, free: 15.92 MB / 0.6231 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.517e-05/0.1881, allocations: 0 / 0.7963 GB, free: 15.92 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.497e-06/0.1881, allocations: 3.938 kB / 0.7963 GB, free: 15.91 MB / 0.6231 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.773e-06/0.1881, allocations: 0 / 0.7963 GB, free: 15.91 MB / 0.6231 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00122/0.1894, allocations: 0.5573 MB / 0.7968 GB, free: 15.34 MB / 0.6231 GB Notification: Performance of postOpt removeConstants (simulation): time 8.459e-05/0.1895, allocations: 112.7 kB / 0.7969 GB, free: 15.21 MB / 0.6231 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.992e-05/0.1895, allocations: 4 kB / 0.7969 GB, free: 15.21 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003583/0.1899, allocations: 43.88 kB / 0.797 GB, free: 15.16 MB / 0.6231 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.875e-05/0.19, allocations: 27.91 kB / 0.797 GB, free: 15.14 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.446e-05/0.19, allocations: 4 kB / 0.797 GB, free: 15.13 MB / 0.6231 GB Notification: Performance of sorting global known variables: time 0.0003089/0.1903, allocations: 311.1 kB / 0.7973 GB, free: 14.83 MB / 0.6231 GB Notification: Performance of sort global known variables: time 1.61e-07/0.1904, allocations: 0 / 0.7973 GB, free: 14.83 MB / 0.6231 GB Notification: Performance of remove unused functions: time 0.0003199/0.1907, allocations: 63.91 kB / 0.7974 GB, free: 14.77 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.001526/0.1922, allocations: 1.097 MB / 0.7984 GB, free: 13.64 MB / 0.6231 GB Notification: Performance of simCode: created initialization part: time 0.001186/0.1934, allocations: 455.5 kB / 0.7989 GB, free: 13.2 MB / 0.6231 GB Notification: Performance of simCode: created event and clocks part: time 2.094e-06/0.1934, allocations: 0 / 0.7989 GB, free: 13.2 MB / 0.6231 GB Notification: Performance of simCode: created simulation system equations: time 0.0005797/0.194, allocations: 231.8 kB / 0.7991 GB, free: 12.97 MB / 0.6231 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003967/0.1944, allocations: 56.48 kB / 0.7991 GB, free: 12.92 MB / 0.6231 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006427/0.2008, allocations: 4.157 MB / 0.8032 GB, free: 8.688 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003501/0.2012, allocations: 0.7986 MB / 0.804 GB, free: 7.863 MB / 0.6231 GB Notification: Performance of simCode: alias equations: time 0.0002644/0.2015, allocations: 58.27 kB / 0.804 GB, free: 7.805 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002246/0.2017, allocations: 103.4 kB / 0.8041 GB, free: 7.703 MB / 0.6231 GB Notification: Performance of SimCode: time 3.71e-07/0.2017, allocations: 0 / 0.8041 GB, free: 7.703 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4747/0.6765, allocations: 7.82 MB / 0.8118 GB, free: 72 kB / 0.6231 GB Notification: Performance of buildModelFMU: Generate platform static: time 9.184/9.86, allocations: 10.38 kB / 0.8118 GB, free: 64 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)