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.001572/0.001572, allocations: 105.4 kB / 15.7 MB, free: 24 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.001421/0.001421, allocations: 198 kB / 16.64 MB, free: 6.434 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.367/1.367, allocations: 205.1 MB / 222.5 MB, free: 4.555 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.636/1.636, allocations: 292.3 MB / 0.549 GB, free: 12.74 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.001621/0.001621, allocations: 73.58 kB / 0.6718 GB, free: 26.17 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2183/0.2199, allocations: 114.5 MB / 0.7836 GB, free: 13.27 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatPumps.BaseClasses.Validation.EquationFitReversible): time 0.003611/0.2236, allocations: 2.373 MB / 0.786 GB, free: 10.88 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.002022/0.2256, allocations: 1.431 MB / 0.7874 GB, free: 9.438 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001169/0.2258, allocations: 4 kB / 0.7874 GB, free: 9.434 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.0005263/0.2263, allocations: 206.8 kB / 0.7876 GB, free: 9.23 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.0001234/0.2264, allocations: 75.34 kB / 0.7876 GB, free: 9.156 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.000295/0.2267, allocations: 119.7 kB / 0.7877 GB, free: 9.039 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0003161/0.2271, allocations: 330.8 kB / 0.7881 GB, free: 8.715 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001243/0.2272, allocations: 40.73 kB / 0.7881 GB, free: 8.672 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001759/0.2274, allocations: 135.5 kB / 0.7882 GB, free: 8.539 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002524/0.2276, allocations: 179.4 kB / 0.7884 GB, free: 8.363 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 4.641e-05/0.2277, allocations: 35.94 kB / 0.7884 GB, free: 8.328 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001531/0.2279, allocations: 75.95 kB / 0.7885 GB, free: 8.254 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 0.0001195/0.228, allocations: 123.6 kB / 0.7886 GB, free: 8.133 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.0001484/0.2281, allocations: 163.1 kB / 0.7888 GB, free: 7.973 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0004564/0.2286, allocations: 494.7 kB / 0.7892 GB, free: 7.488 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 4.889e-06/0.2286, allocations: 0 / 0.7892 GB, free: 7.488 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.312e-06/0.2286, allocations: 0 / 0.7892 GB, free: 7.488 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 6.091e-06/0.2286, allocations: 0 / 0.7892 GB, free: 7.488 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.001203/0.2298, allocations: 0.7237 MB / 0.79 GB, free: 6.715 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.952e-05/0.2299, allocations: 12.03 kB / 0.79 GB, free: 6.703 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.029e-05/0.23, allocations: 50.67 kB / 0.79 GB, free: 6.645 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007711/0.2307, allocations: 140.3 kB / 0.7901 GB, free: 6.508 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000403/0.2311, allocations: 354.3 kB / 0.7905 GB, free: 6.125 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001044/0.2313, allocations: 84.19 kB / 0.7906 GB, free: 6.031 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.577e-05/0.2313, allocations: 20.31 kB / 0.7906 GB, free: 6.012 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007009/0.232, allocations: 307.1 kB / 0.7909 GB, free: 5.707 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.544e-06/0.232, allocations: 0 / 0.7909 GB, free: 5.707 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.964e-05/0.2321, allocations: 4 kB / 0.7909 GB, free: 5.703 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.794e-06/0.2321, allocations: 8 kB / 0.7909 GB, free: 5.695 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001023/0.2331, allocations: 413.5 kB / 0.7913 GB, free: 5.293 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00146/0.2346, allocations: 0.8629 MB / 0.7921 GB, free: 4.375 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000614/0.2352, allocations: 262.4 kB / 0.7924 GB, free: 4.109 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005008/0.2357, allocations: 220.7 kB / 0.7926 GB, free: 3.891 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 4.367e-05/0.2358, allocations: 4 kB / 0.7926 GB, free: 3.887 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.328e-05/0.2358, allocations: 34.56 kB / 0.7926 GB, free: 3.844 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=18): time 1.443e-06/0.2358, allocations: 0 / 0.7926 GB, free: 3.844 MB / 0.6075 GB Notification: Performance of matching and sorting (n=18): time 0.001675/0.2375, allocations: 0.6527 MB / 0.7933 GB, free: 3.188 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.927e-05/0.2375, allocations: 55.34 kB / 0.7933 GB, free: 3.121 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004198/0.2379, allocations: 437.6 kB / 0.7937 GB, free: 2.688 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 3.433e-05/0.238, allocations: 25.7 kB / 0.7938 GB, free: 2.656 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001263/0.2381, allocations: 180 kB / 0.7939 GB, free: 2.477 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 6.1e-05/0.2382, allocations: 59.19 kB / 0.794 GB, free: 2.418 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001053/0.2383, allocations: 41.7 kB / 0.794 GB, free: 2.371 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.000124/0.2384, allocations: 342.8 kB / 0.7943 GB, free: 2.027 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004931/0.2389, allocations: 199.8 kB / 0.7945 GB, free: 1.832 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005166/0.2395, allocations: 231.2 kB / 0.7948 GB, free: 1.594 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009361/0.2404, allocations: 375.4 kB / 0.7951 GB, free: 1.227 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.364e-06/0.2404, allocations: 0 / 0.7951 GB, free: 1.227 MB / 0.6075 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.00109/0.2415, allocations: 464.9 kB / 0.7956 GB, free: 0.7656 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.736e-05/0.2415, allocations: 4 kB / 0.7956 GB, free: 0.7617 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.48e-06/0.2415, allocations: 0 / 0.7956 GB, free: 0.7617 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.482e-05/0.2416, allocations: 0 / 0.7956 GB, free: 0.7617 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004375/0.242, allocations: 63.86 kB / 0.7956 GB, free: 0.6992 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.115e-06/0.242, allocations: 7.922 kB / 0.7956 GB, free: 0.6914 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003077/0.2423, allocations: 47.8 kB / 0.7957 GB, free: 0.6445 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.951e-05/0.2424, allocations: 7.984 kB / 0.7957 GB, free: 0.6367 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.0001622/0.2425, allocations: 158.5 kB / 0.7958 GB, free: 484 kB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.457e-05/0.2426, allocations: 39.53 kB / 0.7959 GB, free: 444 kB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.15e-05/0.2427, allocations: 43.58 kB / 0.7959 GB, free: 400 kB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.019e-06/0.2427, allocations: 3.938 kB / 0.7959 GB, free: 396 kB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.729e-06/0.2427, allocations: 7.938 kB / 0.7959 GB, free: 388 kB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.546e-06/0.2427, allocations: 4 kB / 0.7959 GB, free: 384 kB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005026/0.2432, allocations: 482.8 kB / 0.7964 GB, free: 15.85 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.623e-06/0.2432, allocations: 0 / 0.7964 GB, free: 15.85 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003861/0.2436, allocations: 63.86 kB / 0.7965 GB, free: 15.79 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.494e-06/0.2436, allocations: 0 / 0.7965 GB, free: 15.79 MB / 0.6231 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.778e-05/0.2437, allocations: 4 kB / 0.7965 GB, free: 15.79 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.795e-06/0.2437, allocations: 3.938 kB / 0.7965 GB, free: 15.78 MB / 0.6231 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.062e-06/0.2437, allocations: 4 kB / 0.7965 GB, free: 15.78 MB / 0.6231 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001114/0.2448, allocations: 0.5456 MB / 0.797 GB, free: 15.21 MB / 0.6231 GB Notification: Performance of postOpt removeConstants (simulation): time 7.787e-05/0.2449, allocations: 120.7 kB / 0.7971 GB, free: 15.08 MB / 0.6231 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.887e-05/0.245, allocations: 4 kB / 0.7971 GB, free: 15.07 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003127/0.2453, allocations: 43.88 kB / 0.7972 GB, free: 15.03 MB / 0.6231 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.755e-05/0.2454, allocations: 23.97 kB / 0.7972 GB, free: 15.01 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.53e-05/0.2454, allocations: 8 kB / 0.7972 GB, free: 15 MB / 0.6231 GB Notification: Performance of sorting global known variables: time 0.0002888/0.2457, allocations: 307.1 kB / 0.7975 GB, free: 14.7 MB / 0.6231 GB Notification: Performance of sort global known variables: time 1.7e-07/0.2457, allocations: 3.938 kB / 0.7975 GB, free: 14.7 MB / 0.6231 GB Notification: Performance of remove unused functions: time 0.0002982/0.246, allocations: 63.91 kB / 0.7975 GB, free: 14.63 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.001398/0.2474, allocations: 1.102 MB / 0.7986 GB, free: 13.5 MB / 0.6231 GB Notification: Performance of simCode: created initialization part: time 0.001077/0.2485, allocations: 427.5 kB / 0.799 GB, free: 13.09 MB / 0.6231 GB Notification: Performance of simCode: created event and clocks part: time 2.155e-06/0.2485, allocations: 0 / 0.799 GB, free: 13.09 MB / 0.6231 GB Notification: Performance of simCode: created simulation system equations: time 0.0005272/0.249, allocations: 235.8 kB / 0.7993 GB, free: 12.86 MB / 0.6231 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003775/0.2494, allocations: 53.45 kB / 0.7993 GB, free: 12.8 MB / 0.6231 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00596/0.2554, allocations: 4.109 MB / 0.8033 GB, free: 8.621 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003431/0.2558, allocations: 0.7946 MB / 0.8041 GB, free: 7.801 MB / 0.6231 GB Notification: Performance of simCode: alias equations: time 0.0002532/0.256, allocations: 62.27 kB / 0.8042 GB, free: 7.742 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002157/0.2562, allocations: 99.39 kB / 0.8042 GB, free: 7.645 MB / 0.6231 GB Notification: Performance of SimCode: time 5.11e-07/0.2562, allocations: 0 / 0.8042 GB, free: 7.645 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02308/0.2793, allocations: 7.833 MB / 0.8119 GB, free: 12 kB / 0.6231 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.69/7.969, allocations: 5.625 kB / 0.8119 GB, free: 12 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)