Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor_ZeroInput.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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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: translateModel(BuildingSystems.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor_ZeroInput,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor_ZeroInput") translateModel(BuildingSystems.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor_ZeroInput,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor_ZeroInput") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001019/0.001019, allocations: 105.9 kB / 16.35 MB, free: 5.824 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.001078/0.001078, allocations: 189.4 kB / 17.29 MB, free: 5.48 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.253/1.253, allocations: 222.9 MB / 241 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002111/0.002112, allocations: 288.2 kB / 291.4 MB, free: 14.46 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.8917/0.8917, allocations: 169.3 MB / 0.4989 GB, free: 4.426 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001753/0.001753, allocations: 94.25 kB / 0.5967 GB, free: 14.43 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1479/0.1497, allocations: 86.98 MB / 0.6816 GB, free: 7.434 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor_ZeroInput): time 0.002795/0.1525, allocations: 2 MB / 0.6836 GB, free: 5.418 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.002072/0.1546, allocations: 1.656 MB / 0.6852 GB, free: 3.754 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.71e-05/0.1547, allocations: 0 / 0.6852 GB, free: 3.754 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 5.243e-05/0.1547, allocations: 23.78 kB / 0.6852 GB, free: 3.73 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 8.727e-05/0.1548, allocations: 47.55 kB / 0.6852 GB, free: 3.684 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008406/0.1557, allocations: 365.6 kB / 0.6856 GB, free: 3.328 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001964/0.1559, allocations: 223.2 kB / 0.6858 GB, free: 3.109 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001296/0.156, allocations: 45.45 kB / 0.6858 GB, free: 3.062 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.218e-05/0.1561, allocations: 87.77 kB / 0.6859 GB, free: 2.977 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001341/0.1563, allocations: 87.67 kB / 0.686 GB, free: 2.891 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 3.374e-05/0.1563, allocations: 20 kB / 0.686 GB, free: 2.871 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000665/0.157, allocations: 415.5 kB / 0.6864 GB, free: 2.465 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 4.071e-05/0.157, allocations: 39.89 kB / 0.6865 GB, free: 2.426 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 9.199e-05/0.1571, allocations: 83.66 kB / 0.6865 GB, free: 2.344 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004925/0.1576, allocations: 430.9 kB / 0.687 GB, free: 1.922 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.459e-06/0.1576, allocations: 3.984 kB / 0.687 GB, free: 1.918 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.403e-06/0.1576, allocations: 0 / 0.687 GB, free: 1.918 MB / 494.1 MB Notification: Performance of Transformations before backend: time 4.659e-06/0.1576, allocations: 0 / 0.687 GB, free: 1.918 MB / 494.1 MB 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.0006978/0.1583, allocations: 0.507 MB / 0.6875 GB, free: 1.355 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.15e-05/0.1584, allocations: 8.031 kB / 0.6875 GB, free: 1.348 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005248/0.1589, allocations: 100.6 kB / 0.6876 GB, free: 1.25 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001276/0.159, allocations: 184.1 kB / 0.6877 GB, free: 1.031 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.327e-05/0.1591, allocations: 42.27 kB / 0.6878 GB, free: 0.9844 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.708e-05/0.1592, allocations: 20.38 kB / 0.6878 GB, free: 0.9648 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000368/0.1595, allocations: 182.1 kB / 0.688 GB, free: 0.7812 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.058e-05/0.1596, allocations: 11.94 kB / 0.688 GB, free: 0.7695 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.059e-05/0.1596, allocations: 4 kB / 0.688 GB, free: 0.7656 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.162e-06/0.1596, allocations: 4 kB / 0.688 GB, free: 0.7617 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004068/0.16, allocations: 183.8 kB / 0.6882 GB, free: 0.582 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.2448/0.4048, allocations: 0.8962 MB / 0.689 GB, free: 17.62 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004751/0.4053, allocations: 175 kB / 0.6892 GB, free: 17.6 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001857/0.4055, allocations: 79.61 kB / 0.6893 GB, free: 17.59 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0005224/0.406, allocations: 0.5172 MB / 0.6898 GB, free: 17.03 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.126e-05/0.4061, allocations: 37.5 kB / 0.6898 GB, free: 16.99 MB / 494.1 MB Notification: Performance of pre-optimization done (n=14): time 2.385e-06/0.4061, allocations: 0.7812 kB / 0.6898 GB, free: 16.99 MB / 494.1 MB Notification: Performance of matching and sorting (n=14): time 0.0006509/0.4067, allocations: 239.8 kB / 0.69 GB, free: 16.96 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.895e-05/0.4068, allocations: 53.39 kB / 0.6901 GB, free: 16.9 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001153/0.4069, allocations: 158.6 kB / 0.6903 GB, free: 16.8 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 1.965e-05/0.4069, allocations: 30.11 kB / 0.6903 GB, free: 16.77 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.394e-05/0.407, allocations: 126.4 kB / 0.6904 GB, free: 16.68 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.905e-05/0.407, allocations: 45.61 kB / 0.6904 GB, free: 16.65 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.89e-05/0.4071, allocations: 37.28 kB / 0.6905 GB, free: 16.64 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 4.577e-05/0.4071, allocations: 327.6 kB / 0.6908 GB, free: 16.32 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001845/0.4073, allocations: 70.92 kB / 0.6909 GB, free: 16.32 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001919/0.4075, allocations: 99.48 kB / 0.691 GB, free: 16.3 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003296/0.4079, allocations: 144.1 kB / 0.6911 GB, free: 16.29 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.964e-06/0.4079, allocations: 6.75 kB / 0.6911 GB, free: 16.29 MB / 494.1 MB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0004507/0.4083, allocations: 225.2 kB / 0.6913 GB, free: 16.25 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.72e-05/0.4084, allocations: 6.438 kB / 0.6913 GB, free: 16.25 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.401e-06/0.4084, allocations: 0.8438 kB / 0.6913 GB, free: 16.25 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.671e-05/0.4084, allocations: 1.594 kB / 0.6913 GB, free: 16.25 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000241/0.4086, allocations: 40.45 kB / 0.6914 GB, free: 16.25 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.422e-06/0.4086, allocations: 1.562 kB / 0.6914 GB, free: 16.25 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001694/0.4088, allocations: 24.16 kB / 0.6914 GB, free: 16.24 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.994e-05/0.4088, allocations: 6.406 kB / 0.6914 GB, free: 16.24 MB / 494.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 2 (com.isOn,$PRE.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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 8.096e-05/0.4089, allocations: 126.9 kB / 0.6915 GB, free: 16.13 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.604e-05/0.409, allocations: 17.25 kB / 0.6915 GB, free: 16.12 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004714/0.4095, allocations: 198.8 kB / 0.6917 GB, free: 16.05 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.248e-06/0.4095, allocations: 2.156 kB / 0.6917 GB, free: 16.05 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.458e-06/0.4095, allocations: 0.5312 kB / 0.6917 GB, free: 16.05 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.767e-06/0.4095, allocations: 1.266 kB / 0.6917 GB, free: 16.05 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001158/0.4107, allocations: 0.983 MB / 0.6927 GB, free: 15.16 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.825e-06/0.4107, allocations: 2.219 kB / 0.6927 GB, free: 15.16 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001909/0.4109, allocations: 35.45 kB / 0.6927 GB, free: 15.16 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.715e-06/0.4109, allocations: 2.25 kB / 0.6927 GB, free: 15.16 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.708e-05/0.4109, allocations: 4.109 kB / 0.6927 GB, free: 15.16 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.945e-06/0.4109, allocations: 1.094 kB / 0.6927 GB, free: 15.16 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.204e-06/0.4109, allocations: 2.203 kB / 0.6927 GB, free: 15.16 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004105/0.4113, allocations: 295.7 kB / 0.693 GB, free: 14.95 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.841e-05/0.4114, allocations: 86.31 kB / 0.6931 GB, free: 14.86 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.046e-05/0.4114, allocations: 1.656 kB / 0.6931 GB, free: 14.86 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002005/0.4116, allocations: 20.73 kB / 0.6931 GB, free: 14.85 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.481e-05/0.4117, allocations: 12.59 kB / 0.6931 GB, free: 14.85 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.726e-05/0.4117, allocations: 13.88 kB / 0.6931 GB, free: 14.84 MB / 494.1 MB Notification: Performance of sorting global known variables: time 6.772e-05/0.4118, allocations: 123.6 kB / 0.6933 GB, free: 14.75 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.4118, allocations: 0 / 0.6933 GB, free: 14.75 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0004255/0.4122, allocations: 126.5 kB / 0.6934 GB, free: 14.74 MB / 494.1 MB 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 (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.0003679/0.4126, allocations: 228.9 kB / 0.6936 GB, free: 14.64 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.0004372/0.413, allocations: 175.2 kB / 0.6938 GB, free: 14.59 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 2.205e-06/0.413, allocations: 4.562 kB / 0.6938 GB, free: 14.59 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001882/0.4132, allocations: 82.73 kB / 0.6938 GB, free: 14.56 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003559/0.4136, allocations: 45.09 kB / 0.6939 GB, free: 14.55 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006534/0.4142, allocations: 335.4 kB / 0.6942 GB, free: 14.34 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001315/0.4144, allocations: 0.7097 MB / 0.6949 GB, free: 13.65 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.0001252/0.4145, allocations: 31.33 kB / 0.6949 GB, free: 13.64 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.382e-05/0.4146, allocations: 19.45 kB / 0.6949 GB, free: 13.63 MB / 494.1 MB Notification: Performance of SimCode: time 2.31e-07/0.4146, allocations: 0.8125 kB / 0.6949 GB, free: 13.63 MB / 494.1 MB Notification: Performance of Templates: time 0.008637/0.4232, allocations: 4.282 MB / 0.6991 GB, free: 13.34 MB / 494.1 MB make -j1 -f BuildingSystems_BuildingSystems.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor_ZeroInput.makefile (rm -f BuildingSystems_BuildingSystems.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor_ZeroInput.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor_ZeroInput.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor_ZeroInput.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor_ZeroInput.sim & ./BuildingSystems_BuildingSystems.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor_ZeroInput -abortSlowSimulation -alarm=480 -s cvode -lv LOG_STATS > BuildingSystems_BuildingSystems.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor_ZeroInput.pipe 2>&1)