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.64/2.64, allocations: 287.5 MB / 302.4 MB, free: 8.309 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.001307/0.001307, allocations: 170.8 kB / 371 MB, free: 10.89 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.065/2.065, allocations: 205.4 MB / 0.6297 GB, free: 10.62 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.0009655/0.0009652, allocations: 94.08 kB / 0.743 GB, free: 6.641 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.000666/0.0006662, allocations: 11.86 kB / 0.8659 GB, free: 140.1 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2272/0.2279, allocations: 115.3 MB / 0.9785 GB, free: 28.29 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor): time 0.002389/0.2304, allocations: 1.687 MB / 0.9801 GB, free: 26.58 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.002628/0.233, allocations: 1.541 MB / 0.9816 GB, free: 25.04 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.231e-05/0.2332, allocations: 4 kB / 0.9816 GB, free: 25.03 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 4.298e-05/0.2332, allocations: 11.86 kB / 0.9816 GB, free: 25.02 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 0.0001391/0.2334, allocations: 51.61 kB / 0.9817 GB, free: 24.97 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.001084/0.2345, allocations: 275.1 kB / 0.9819 GB, free: 24.7 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.00023/0.2347, allocations: 199.1 kB / 0.9821 GB, free: 24.5 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001359/0.2349, allocations: 45.64 kB / 0.9822 GB, free: 24.45 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 9.91e-05/0.235, allocations: 67.84 kB / 0.9822 GB, free: 24.38 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001478/0.2351, allocations: 75.73 kB / 0.9823 GB, free: 24.31 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 3.406e-05/0.2352, allocations: 8 kB / 0.9823 GB, free: 24.3 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001062/0.2363, allocations: 387.5 kB / 0.9827 GB, free: 23.92 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 3.762e-05/0.2363, allocations: 27.91 kB / 0.9827 GB, free: 23.89 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 5.465e-05/0.2364, allocations: 61.58 kB / 0.9828 GB, free: 23.83 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0005429/0.2369, allocations: 315.5 kB / 0.9831 GB, free: 23.52 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 4.599e-06/0.2369, allocations: 0 / 0.9831 GB, free: 23.52 MB / 0.6198 GB Notification: Performance of FrontEnd: time 1.994e-06/0.237, allocations: 0 / 0.9831 GB, free: 23.52 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 5.57e-06/0.237, allocations: 4 kB / 0.9831 GB, free: 23.52 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.0008961/0.2379, allocations: 497.2 kB / 0.9836 GB, free: 22.98 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 4.569e-05/0.2379, allocations: 12.03 kB / 0.9836 GB, free: 22.97 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.485e-05/0.238, allocations: 46.55 kB / 0.9836 GB, free: 22.92 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008635/0.2389, allocations: 95.81 kB / 0.9837 GB, free: 22.82 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000121/0.239, allocations: 190.7 kB / 0.9839 GB, free: 22.6 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.544e-05/0.2391, allocations: 41.7 kB / 0.9839 GB, free: 22.55 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.061e-05/0.2392, allocations: 12 kB / 0.9839 GB, free: 22.54 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005742/0.2398, allocations: 193.3 kB / 0.9841 GB, free: 22.34 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.37e-05/0.2398, allocations: 7.938 kB / 0.9841 GB, free: 22.34 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.995e-05/0.2398, allocations: 4 kB / 0.9841 GB, free: 22.33 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.015e-05/0.2399, allocations: 4 kB / 0.9841 GB, free: 22.33 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000702/0.2406, allocations: 187.8 kB / 0.9843 GB, free: 22.14 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001705/0.2423, allocations: 0.9112 MB / 0.9852 GB, free: 21.11 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007941/0.2431, allocations: 186.6 kB / 0.9854 GB, free: 20.92 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003129/0.2434, allocations: 84.77 kB / 0.9855 GB, free: 20.83 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008163/0.2443, allocations: 0.522 MB / 0.986 GB, free: 20.2 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.568e-05/0.2443, allocations: 30.56 kB / 0.986 GB, free: 20.16 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=14): time 2.846e-06/0.2443, allocations: 0 / 0.986 GB, free: 20.16 MB / 0.6198 GB Notification: Performance of matching and sorting (n=14): time 0.001075/0.2454, allocations: 251.3 kB / 0.9862 GB, free: 19.91 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.043e-05/0.2454, allocations: 55.41 kB / 0.9863 GB, free: 19.84 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001462/0.2456, allocations: 158.4 kB / 0.9864 GB, free: 19.68 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 2.761e-05/0.2456, allocations: 33.7 kB / 0.9865 GB, free: 19.64 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 6.507e-05/0.2457, allocations: 119.8 kB / 0.9866 GB, free: 19.52 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 4.473e-05/0.2458, allocations: 51.23 kB / 0.9866 GB, free: 19.47 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.826e-05/0.2458, allocations: 8 kB / 0.9866 GB, free: 19.46 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 6.332e-05/0.2459, allocations: 318.8 kB / 0.9869 GB, free: 19.14 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003477/0.2462, allocations: 79.89 kB / 0.987 GB, free: 19.06 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003407/0.2466, allocations: 97.67 kB / 0.9871 GB, free: 18.96 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003237/0.2469, allocations: 79.92 kB / 0.9872 GB, free: 18.88 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.745e-06/0.2469, allocations: 0 / 0.9872 GB, free: 18.88 MB / 0.6198 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0007758/0.2477, allocations: 223.1 kB / 0.9874 GB, free: 18.66 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.806e-05/0.2478, allocations: 4 kB / 0.9874 GB, free: 18.66 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.652e-06/0.2478, allocations: 0 / 0.9874 GB, free: 18.66 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.758e-05/0.2478, allocations: 4 kB / 0.9874 GB, free: 18.65 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004127/0.2482, allocations: 39.91 kB / 0.9875 GB, free: 18.61 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.827e-06/0.2482, allocations: 8.031 kB / 0.9875 GB, free: 18.61 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003011/0.2486, allocations: 23.83 kB / 0.9875 GB, free: 18.58 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.699e-05/0.2486, allocations: 4 kB / 0.9875 GB, free: 18.58 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.0001189/0.2487, allocations: 129.8 kB / 0.9876 GB, free: 18.44 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.669e-05/0.2488, allocations: 19.77 kB / 0.9876 GB, free: 18.42 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007854/0.2496, allocations: 199.6 kB / 0.9878 GB, free: 18.23 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.27e-06/0.2496, allocations: 4 kB / 0.9878 GB, free: 18.22 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.042e-06/0.2496, allocations: 4 kB / 0.9878 GB, free: 18.22 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.542e-06/0.2496, allocations: 3.984 kB / 0.9878 GB, free: 18.21 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001916/0.2516, allocations: 0.9895 MB / 0.9888 GB, free: 17.07 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.328e-06/0.2516, allocations: 0 / 0.9888 GB, free: 17.07 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003433/0.2519, allocations: 31.97 kB / 0.9888 GB, free: 17.04 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.146e-06/0.252, allocations: 0 / 0.9888 GB, free: 17.04 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.291e-05/0.252, allocations: 11.94 kB / 0.9888 GB, free: 17.03 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.148e-06/0.252, allocations: 0 / 0.9888 GB, free: 17.03 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.365e-06/0.252, allocations: 0 / 0.9888 GB, free: 17.03 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007233/0.2527, allocations: 302.8 kB / 0.9891 GB, free: 16.71 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 4.957e-05/0.2528, allocations: 92.94 kB / 0.9892 GB, free: 16.6 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.699e-05/0.2529, allocations: 8 kB / 0.9892 GB, free: 16.59 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003486/0.2532, allocations: 19.97 kB / 0.9892 GB, free: 16.57 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.568e-05/0.2533, allocations: 15.98 kB / 0.9893 GB, free: 16.56 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.424e-05/0.2533, allocations: 4 kB / 0.9893 GB, free: 16.55 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 9.239e-05/0.2534, allocations: 119.9 kB / 0.9894 GB, free: 16.44 MB / 0.6198 GB Notification: Performance of sort global known variables: time 3.5e-07/0.2534, allocations: 0 / 0.9894 GB, free: 16.44 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0005986/0.254, allocations: 127.9 kB / 0.9895 GB, free: 16.31 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.001403/0.2555, allocations: 0.9481 MB / 0.9904 GB, free: 15.33 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0007493/0.2562, allocations: 183.8 kB / 0.9906 GB, free: 15.15 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 3.828e-06/0.2562, allocations: 0 / 0.9906 GB, free: 15.15 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.0003267/0.2566, allocations: 91.83 kB / 0.9907 GB, free: 15.06 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005624/0.2572, allocations: 44.03 kB / 0.9907 GB, free: 15.02 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002509/0.2597, allocations: 1.044 MB / 0.9917 GB, free: 13.92 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001629/0.2599, allocations: 0.7125 MB / 0.9924 GB, free: 13.18 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 0.0002675/0.2602, allocations: 33.41 kB / 0.9925 GB, free: 13.16 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001381/0.2603, allocations: 39.42 kB / 0.9925 GB, free: 13.12 MB / 0.6198 GB Notification: Performance of SimCode: time 1.072e-06/0.2603, allocations: 0 / 0.9925 GB, free: 13.12 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02796/0.2883, allocations: 5.623 MB / 0.998 GB, free: 7.707 MB / 0.6198 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002764/0.2886, allocations: 210.1 kB / 0.9982 GB, free: 7.473 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.833/3.122, allocations: 3.875 kB / 0.9982 GB, free: 7.473 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)