Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/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/ModelicaServices 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) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/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) 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 BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Running command: translateModel(BuildingSystems.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor") translateModel(BuildingSystems.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9579/0.9579, allocations: 143.4 MB / 158.3 MB, free: 5.805 MB / 122.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001085/0.001085, allocations: 179.5 kB / 191.5 MB, free: 5.785 MB / 154.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.401/1.401, allocations: 223.2 MB / 447.7 MB, free: 4.824 MB / 330.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008947/0.0008948, allocations: 96.27 kB / 0.5188 GB, free: 1.176 MB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001712/0.001712, allocations: 270.4 kB / 0.6005 GB, free: 48.76 MB / 410.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0005322/0.0005323, allocations: 10.69 kB / 0.6929 GB, free: 59.7 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1683/0.1688, allocations: 82.79 MB / 0.7737 GB, free: 13.87 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.6129/0.7818, allocations: 115.2 MB / 0.8862 GB, free: 22.07 MB / 0.5417 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002982/0.7822, allocations: 91.41 kB / 0.8863 GB, free: 22.07 MB / 0.5417 GB Notification: Performance of FrontEnd - DAE generated: time 0.0256/0.8078, allocations: 8.222 MB / 0.8943 GB, free: 21.34 MB / 0.5417 GB Notification: Performance of FrontEnd: time 2.424e-06/0.8078, allocations: 5.156 kB / 0.8943 GB, free: 21.33 MB / 0.5417 GB Notification: Performance of Transformations before backend: time 1.641e-05/0.8079, allocations: 2.594 kB / 0.8943 GB, free: 21.33 MB / 0.5417 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.001161/0.809, allocations: 0.492 MB / 0.8948 GB, free: 20.9 MB / 0.5417 GB Notification: Performance of prepare preOptimizeDAE: time 4.44e-05/0.8091, allocations: 8.594 kB / 0.8948 GB, free: 20.9 MB / 0.5417 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005969/0.8097, allocations: 89.05 kB / 0.8949 GB, free: 20.89 MB / 0.5417 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001462/0.8098, allocations: 184.8 kB / 0.8951 GB, free: 20.68 MB / 0.5417 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001221/0.81, allocations: 47.94 kB / 0.8951 GB, free: 20.64 MB / 0.5417 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.88e-05/0.81, allocations: 20.06 kB / 0.8952 GB, free: 20.64 MB / 0.5417 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005297/0.8106, allocations: 176.9 kB / 0.8953 GB, free: 20.61 MB / 0.5417 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.618e-05/0.8106, allocations: 1.5 kB / 0.8953 GB, free: 20.61 MB / 0.5417 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.797e-05/0.8106, allocations: 6.25 kB / 0.8953 GB, free: 20.61 MB / 0.5417 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.006e-05/0.8107, allocations: 4.031 kB / 0.8953 GB, free: 20.61 MB / 0.5417 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005271/0.8112, allocations: 192.4 kB / 0.8955 GB, free: 20.6 MB / 0.5417 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001582/0.8128, allocations: 0.939 MB / 0.8964 GB, free: 19.91 MB / 0.5417 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005209/0.8133, allocations: 180.6 kB / 0.8966 GB, free: 19.88 MB / 0.5417 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006494/0.814, allocations: 0.518 MB / 0.8971 GB, free: 19.32 MB / 0.5417 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.709e-05/0.814, allocations: 41.41 kB / 0.8972 GB, free: 19.27 MB / 0.5417 GB Notification: Performance of pre-optimization done (n=14): time 3.186e-06/0.814, allocations: 0 / 0.8972 GB, free: 19.27 MB / 0.5417 GB Notification: Performance of matching and sorting (n=14): time 0.0008069/0.8149, allocations: 254.9 kB / 0.8974 GB, free: 19.23 MB / 0.5417 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.495e-05/0.8149, allocations: 57.77 kB / 0.8975 GB, free: 19.16 MB / 0.5417 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001507/0.8151, allocations: 149.6 kB / 0.8976 GB, free: 19.07 MB / 0.5417 GB Notification: Performance of collectPreVariables (initialization): time 2.244e-05/0.8151, allocations: 35.05 kB / 0.8976 GB, free: 19.03 MB / 0.5417 GB Notification: Performance of collectInitialEqns (initialization): time 6.652e-05/0.8152, allocations: 120.7 kB / 0.8978 GB, free: 18.93 MB / 0.5417 GB Notification: Performance of collectInitialBindings (initialization): time 3.894e-05/0.8152, allocations: 42.81 kB / 0.8978 GB, free: 18.9 MB / 0.5417 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.171e-05/0.8152, allocations: 1.531 kB / 0.8978 GB, free: 18.9 MB / 0.5417 GB Notification: Performance of setup shared object (initialization): time 6.702e-05/0.8153, allocations: 325.1 kB / 0.8981 GB, free: 18.59 MB / 0.5417 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002082/0.8155, allocations: 75.66 kB / 0.8982 GB, free: 18.59 MB / 0.5417 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002377/0.8158, allocations: 107.8 kB / 0.8983 GB, free: 18.57 MB / 0.5417 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002097/0.816, allocations: 66.5 kB / 0.8983 GB, free: 18.57 MB / 0.5417 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.687e-06/0.816, allocations: 1.031 kB / 0.8983 GB, free: 18.57 MB / 0.5417 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0005354/0.8165, allocations: 224 kB / 0.8986 GB, free: 18.52 MB / 0.5417 GB Notification: Performance of prepare postOptimizeDAE: time 2.165e-05/0.8166, allocations: 4.344 kB / 0.8986 GB, free: 18.52 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.015e-05/0.8166, allocations: 5.234 kB / 0.8986 GB, free: 18.52 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.715e-05/0.8166, allocations: 1.312 kB / 0.8986 GB, free: 18.52 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002716/0.8169, allocations: 46.73 kB / 0.8986 GB, free: 18.51 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.012e-05/0.8169, allocations: 5.344 kB / 0.8986 GB, free: 18.51 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002193/0.8171, allocations: 21.64 kB / 0.8986 GB, free: 18.5 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.686e-05/0.8172, allocations: 10.22 kB / 0.8986 GB, free: 18.5 MB / 0.5417 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.0001135/0.8173, allocations: 128 kB / 0.8988 GB, free: 18.38 MB / 0.5417 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.865e-05/0.8173, allocations: 15.89 kB / 0.8988 GB, free: 18.37 MB / 0.5417 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005451/0.8179, allocations: 205.2 kB / 0.899 GB, free: 18.33 MB / 0.5417 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.374e-06/0.8179, allocations: 5.328 kB / 0.899 GB, free: 18.32 MB / 0.5417 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.736e-06/0.8179, allocations: 2.953 kB / 0.899 GB, free: 18.32 MB / 0.5417 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.448e-06/0.8179, allocations: 3.938 kB / 0.899 GB, free: 18.32 MB / 0.5417 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001526/0.8195, allocations: 0.9762 MB / 0.8999 GB, free: 17.53 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.07e-06/0.8195, allocations: 5.172 kB / 0.9 GB, free: 17.52 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002456/0.8197, allocations: 37.59 kB / 0.9 GB, free: 17.52 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.883e-06/0.8198, allocations: 1.312 kB / 0.9 GB, free: 17.52 MB / 0.5417 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.964e-05/0.8198, allocations: 4.891 kB / 0.9 GB, free: 17.52 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.045e-06/0.8198, allocations: 1.5 kB / 0.9 GB, free: 17.52 MB / 0.5417 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.914e-06/0.8198, allocations: 1.312 kB / 0.9 GB, free: 17.52 MB / 0.5417 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005257/0.8203, allocations: 327.6 kB / 0.9003 GB, free: 17.32 MB / 0.5417 GB Notification: Performance of postOpt removeConstants (simulation): time 7.338e-05/0.8204, allocations: 104.2 kB / 0.9004 GB, free: 17.21 MB / 0.5417 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.422e-05/0.8205, allocations: 3.016 kB / 0.9004 GB, free: 17.21 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002186/0.8207, allocations: 21.89 kB / 0.9004 GB, free: 17.21 MB / 0.5417 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.964e-05/0.8207, allocations: 10.56 kB / 0.9004 GB, free: 17.21 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.876e-05/0.8208, allocations: 7.938 kB / 0.9004 GB, free: 17.21 MB / 0.5417 GB Notification: Performance of sorting global known variables: time 9.911e-05/0.8209, allocations: 118.2 kB / 0.9006 GB, free: 17.13 MB / 0.5417 GB Notification: Performance of sort global known variables: time 1.3e-07/0.8209, allocations: 0 / 0.9006 GB, free: 17.13 MB / 0.5417 GB Notification: Performance of remove unused functions: time 0.0008137/0.8217, allocations: 141 kB / 0.9007 GB, free: 17.1 MB / 0.5417 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.0007563/0.8225, allocations: 233.4 kB / 0.9009 GB, free: 16.98 MB / 0.5417 GB Notification: Performance of simCode: created initialization part: time 0.0005551/0.823, allocations: 188.6 kB / 0.9011 GB, free: 16.97 MB / 0.5417 GB Notification: Performance of simCode: created event and clocks part: time 4.849e-06/0.823, allocations: 0 / 0.9011 GB, free: 16.97 MB / 0.5417 GB Notification: Performance of simCode: created simulation system equations: time 0.0002176/0.8233, allocations: 96.23 kB / 0.9012 GB, free: 16.95 MB / 0.5417 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003364/0.8236, allocations: 38.3 kB / 0.9012 GB, free: 16.95 MB / 0.5417 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000756/0.8244, allocations: 377 kB / 0.9016 GB, free: 16.73 MB / 0.5417 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001772/0.8246, allocations: 0.7151 MB / 0.9023 GB, free: 16.03 MB / 0.5417 GB Notification: Performance of simCode: alias equations: time 0.0001913/0.8248, allocations: 30.28 kB / 0.9023 GB, free: 16.02 MB / 0.5417 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.078e-05/0.8248, allocations: 23.45 kB / 0.9023 GB, free: 16.01 MB / 0.5417 GB Notification: Performance of SimCode: time 6.92e-07/0.8249, allocations: 1.5 kB / 0.9023 GB, free: 16.01 MB / 0.5417 GB Notification: Performance of Templates: time 0.01104/0.8359, allocations: 3.832 MB / 0.9061 GB, free: 15.72 MB / 0.5417 GB make -j1 -f BuildingSystems_BuildingSystems.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor.makefile (rm -f BuildingSystems_BuildingSystems.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor.sim & ./BuildingSystems_BuildingSystems.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor.pipe 2>&1)