Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 8.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor,fileNamePrefix="Buildings_8_0_0_Buildings_Fluid_HeatPumps_Compressors_Validation_ReciprocatingCompressor",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor,fileNamePrefix="Buildings_8_0_0_Buildings_Fluid_HeatPumps_Compressors_Validation_ReciprocatingCompressor",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 2.791/2.791, allocations: 287.3 MB / 302.3 MB, free: 8.305 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.003803/0.003803, allocations: 192 kB / 370.8 MB, free: 10.84 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.214/2.214, allocations: 205.4 MB / 0.6295 GB, free: 10.56 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001264/0.001264, allocations: 93.14 kB / 0.7428 GB, free: 6.578 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0006575/0.0006579, allocations: 11.72 kB / 0.8657 GB, free: 140.7 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2307/0.2314, allocations: 115.3 MB / 0.9783 GB, free: 28.29 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor): time 0.002507/0.234, allocations: 1.621 MB / 0.9799 GB, free: 26.65 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.002809/0.2369, allocations: 1.474 MB / 0.9813 GB, free: 25.17 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001438/0.2371, allocations: 4 kB / 0.9813 GB, free: 25.17 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 5.432e-05/0.2371, allocations: 19.78 kB / 0.9813 GB, free: 25.15 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 0.0001663/0.2373, allocations: 55.86 kB / 0.9814 GB, free: 25.09 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.001398/0.2387, allocations: 268.4 kB / 0.9816 GB, free: 24.83 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.0002927/0.239, allocations: 147.7 kB / 0.9818 GB, free: 24.69 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001549/0.2392, allocations: 37.64 kB / 0.9818 GB, free: 24.64 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001117/0.2393, allocations: 67.83 kB / 0.9819 GB, free: 24.57 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001693/0.2395, allocations: 83.69 kB / 0.982 GB, free: 24.49 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 3.125e-05/0.2395, allocations: 8 kB / 0.982 GB, free: 24.48 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00122/0.2408, allocations: 379.5 kB / 0.9823 GB, free: 24.11 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 6.17e-05/0.2409, allocations: 39.83 kB / 0.9824 GB, free: 24.07 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 7.546e-05/0.241, allocations: 53.64 kB / 0.9824 GB, free: 24.02 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0008591/0.2418, allocations: 311.5 kB / 0.9827 GB, free: 23.71 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 5.38e-06/0.2419, allocations: 4 kB / 0.9827 GB, free: 23.71 MB / 0.6198 GB Notification: Performance of FrontEnd: time 2.255e-06/0.2419, allocations: 0 / 0.9827 GB, free: 23.71 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 8.025e-06/0.2419, allocations: 0 / 0.9827 GB, free: 23.71 MB / 0.6198 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 36 * Number of variables: 36 Notification: Performance of Generate backend data structure: time 0.001022/0.243, allocations: 498.9 kB / 0.9832 GB, free: 23.17 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 5.078e-05/0.243, allocations: 8.031 kB / 0.9832 GB, free: 23.16 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.824e-05/0.2431, allocations: 50.55 kB / 0.9832 GB, free: 23.11 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009109/0.244, allocations: 99.81 kB / 0.9833 GB, free: 23.01 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001498/0.2442, allocations: 186.7 kB / 0.9835 GB, free: 22.79 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001103/0.2443, allocations: 49.69 kB / 0.9836 GB, free: 22.73 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.131e-05/0.2444, allocations: 16 kB / 0.9836 GB, free: 22.71 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006238/0.245, allocations: 185.3 kB / 0.9838 GB, free: 22.53 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.652e-05/0.2451, allocations: 0 / 0.9838 GB, free: 22.53 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.773e-05/0.2451, allocations: 4 kB / 0.9838 GB, free: 22.52 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.167e-06/0.2451, allocations: 8 kB / 0.9838 GB, free: 22.52 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007792/0.2459, allocations: 191.8 kB / 0.984 GB, free: 22.33 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001916/0.2479, allocations: 0.9189 MB / 0.9849 GB, free: 21.29 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008391/0.2488, allocations: 182.5 kB / 0.985 GB, free: 21.1 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009189/0.2497, allocations: 0.5181 MB / 0.9855 GB, free: 20.47 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.107e-05/0.2498, allocations: 38.56 kB / 0.9856 GB, free: 20.42 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=14): time 3.637e-06/0.2498, allocations: 0 / 0.9856 GB, free: 20.42 MB / 0.6198 GB Notification: Performance of matching and sorting (n=14): time 0.001197/0.251, allocations: 242.8 kB / 0.9858 GB, free: 20.18 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.727e-05/0.2511, allocations: 63.34 kB / 0.9859 GB, free: 20.11 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001753/0.2513, allocations: 154.4 kB / 0.986 GB, free: 19.95 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 3.456e-05/0.2513, allocations: 33.69 kB / 0.986 GB, free: 19.91 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 7.307e-05/0.2514, allocations: 115.8 kB / 0.9862 GB, free: 19.79 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 5.218e-05/0.2515, allocations: 51.23 kB / 0.9862 GB, free: 19.74 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.911e-05/0.2515, allocations: 4 kB / 0.9862 GB, free: 19.73 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 6.899e-05/0.2516, allocations: 326.8 kB / 0.9865 GB, free: 19.41 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003491/0.2519, allocations: 79.95 kB / 0.9866 GB, free: 19.33 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003502/0.2523, allocations: 93.67 kB / 0.9867 GB, free: 19.23 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003433/0.2527, allocations: 79.25 kB / 0.9868 GB, free: 19.16 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.33e-06/0.2527, allocations: 3.953 kB / 0.9868 GB, free: 19.15 MB / 0.6198 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0008542/0.2536, allocations: 213.5 kB / 0.987 GB, free: 18.94 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 2.6e-05/0.2536, allocations: 7.953 kB / 0.987 GB, free: 18.93 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.756e-06/0.2536, allocations: 4.031 kB / 0.987 GB, free: 18.93 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.491e-05/0.2537, allocations: 4 kB / 0.987 GB, free: 18.92 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004361/0.2541, allocations: 39.97 kB / 0.987 GB, free: 18.88 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.939e-06/0.2541, allocations: 0 / 0.987 GB, free: 18.88 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003329/0.2545, allocations: 23.83 kB / 0.987 GB, free: 18.86 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.315e-05/0.2545, allocations: 8 kB / 0.987 GB, free: 18.85 MB / 0.6198 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 2 ($PRE.com.isOn,com.isOn) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (20): * Single equations (assignments): 20 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001511/0.2547, allocations: 129.8 kB / 0.9872 GB, free: 18.71 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.31e-05/0.2548, allocations: 15.81 kB / 0.9872 GB, free: 18.7 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008495/0.2556, allocations: 203.4 kB / 0.9874 GB, free: 18.5 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.206e-06/0.2557, allocations: 8 kB / 0.9874 GB, free: 18.49 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.192e-06/0.2557, allocations: 0 / 0.9874 GB, free: 18.49 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.781e-06/0.2557, allocations: 0 / 0.9874 GB, free: 18.49 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002202/0.2579, allocations: 0.9934 MB / 0.9884 GB, free: 17.34 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.3e-06/0.258, allocations: 0 / 0.9884 GB, free: 17.34 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003598/0.2583, allocations: 27.98 kB / 0.9884 GB, free: 17.32 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.328e-06/0.2584, allocations: 3.984 kB / 0.9884 GB, free: 17.31 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.684e-05/0.2584, allocations: 8 kB / 0.9884 GB, free: 17.3 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.229e-06/0.2584, allocations: 4.062 kB / 0.9884 GB, free: 17.3 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.036e-06/0.2584, allocations: 0 / 0.9884 GB, free: 17.3 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008038/0.2592, allocations: 327 kB / 0.9887 GB, free: 16.95 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 7.293e-05/0.2593, allocations: 96.94 kB / 0.9888 GB, free: 16.84 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.247e-05/0.2594, allocations: 8 kB / 0.9888 GB, free: 16.83 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003707/0.2598, allocations: 15.98 kB / 0.9888 GB, free: 16.81 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.338e-05/0.2599, allocations: 15.97 kB / 0.9888 GB, free: 16.8 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.869e-05/0.2599, allocations: 8 kB / 0.9889 GB, free: 16.79 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 0.0001149/0.26, allocations: 123.9 kB / 0.989 GB, free: 16.67 MB / 0.6198 GB Notification: Performance of sort global known variables: time 5.41e-07/0.26, allocations: 0 / 0.989 GB, free: 16.67 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0006645/0.2607, allocations: 131.8 kB / 0.9891 GB, free: 16.54 MB / 0.6198 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 1 (com.isOn) * Number of discrete states: 1 (com.isOn) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (14): * Single equations (assignments): 14 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001668/0.2624, allocations: 1.109 MB / 0.9902 GB, free: 15.39 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0008211/0.2633, allocations: 183.8 kB / 0.9904 GB, free: 15.21 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 5.52e-06/0.2633, allocations: 0 / 0.9904 GB, free: 15.21 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.0003414/0.2637, allocations: 91.83 kB / 0.9904 GB, free: 15.12 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004958/0.2642, allocations: 44.02 kB / 0.9905 GB, free: 15.07 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002859/0.267, allocations: 1.192 MB / 0.9916 GB, free: 13.83 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001839/0.2673, allocations: 0.7164 MB / 0.9923 GB, free: 13.09 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 0.000299/0.2676, allocations: 30.42 kB / 0.9924 GB, free: 13.07 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001536/0.2678, allocations: 43.42 kB / 0.9924 GB, free: 13.02 MB / 0.6198 GB Notification: Performance of SimCode: time 1.333e-06/0.2678, allocations: 0 / 0.9924 GB, free: 13.02 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03754/0.3053, allocations: 5.583 MB / 0.9979 GB, free: 7.645 MB / 0.6198 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002917/0.3057, allocations: 208.2 kB / 0.9981 GB, free: 7.406 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.722/3.028, allocations: 2.188 kB / 0.9981 GB, free: 7.406 MB / 0.6198 GB (rm -f Buildings_8.0.0_Buildings.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor.pipe ; mkfifo Buildings_8.0.0_Buildings.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor.pipe >> ../files/Buildings_8.0.0_Buildings.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_0_0_Buildings_Fluid_HeatPumps_Compressors_Validation_ReciprocatingCompressor_fmu --startTime=0 --stopTime=100 --timeout=50 --tolerance=1e-06 Buildings_8_0_0_Buildings_Fluid_HeatPumps_Compressors_Validation_ReciprocatingCompressor.fmu > Buildings_8.0.0_Buildings.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor.pipe 2>&1)