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/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,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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001262/0.001262, allocations: 105.4 kB / 16.27 MB, free: 5.996 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.001498/0.001498, allocations: 186.3 kB / 17.2 MB, free: 5.605 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.345/1.345, allocations: 222.9 MB / 240.9 MB, free: 15.27 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002449/0.002449, allocations: 278.8 kB / 291.3 MB, free: 14.54 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 1.195/1.195, allocations: 178.6 MB / 0.5079 GB, free: 12.77 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00271/0.00271, allocations: 99.83 kB / 0.6071 GB, free: 9.316 MB / 462.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.188/0.1908, allocations: 89.13 MB / 0.6942 GB, free: 104 kB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor): time 0.00368/0.1945, allocations: 2.013 MB / 0.6961 GB, free: 14.07 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.002615/0.1971, allocations: 1.666 MB / 0.6977 GB, free: 12.39 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.04e-05/0.1972, allocations: 4 kB / 0.6977 GB, free: 12.39 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 6.04e-05/0.1973, allocations: 15.86 kB / 0.6978 GB, free: 12.38 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.0001109/0.1974, allocations: 51.55 kB / 0.6978 GB, free: 12.32 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009638/0.1984, allocations: 350.8 kB / 0.6981 GB, free: 11.98 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.0002407/0.1986, allocations: 223.1 kB / 0.6984 GB, free: 11.76 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001615/0.1988, allocations: 61.23 kB / 0.6984 GB, free: 11.7 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001116/0.1989, allocations: 83.77 kB / 0.6985 GB, free: 11.62 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001633/0.1991, allocations: 83.73 kB / 0.6986 GB, free: 11.54 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 3.294e-05/0.1991, allocations: 19.94 kB / 0.6986 GB, free: 11.52 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000785/0.1999, allocations: 399.5 kB / 0.699 GB, free: 11.12 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 4.937e-05/0.2, allocations: 43.91 kB / 0.699 GB, free: 11.08 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 9.434e-05/0.2001, allocations: 83.66 kB / 0.6991 GB, free: 11 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.0006167/0.2007, allocations: 423.2 kB / 0.6995 GB, free: 10.59 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 4.769e-06/0.2007, allocations: 7.938 kB / 0.6995 GB, free: 10.58 MB / 0.545 GB Notification: Performance of FrontEnd: time 3.987e-06/0.2007, allocations: 3.984 kB / 0.6995 GB, free: 10.57 MB / 0.545 GB Notification: Performance of Transformations before backend: time 9.177e-06/0.2008, allocations: 0 / 0.6995 GB, free: 10.57 MB / 0.545 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.0008686/0.2016, allocations: 0.5147 MB / 0.7 GB, free: 10 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 3.422e-05/0.2017, allocations: 8.031 kB / 0.7 GB, free: 9.996 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005878/0.2023, allocations: 88.73 kB / 0.7001 GB, free: 9.91 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001554/0.2024, allocations: 192.1 kB / 0.7003 GB, free: 9.684 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.901e-05/0.2025, allocations: 42.27 kB / 0.7003 GB, free: 9.637 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.638e-05/0.2025, allocations: 12.38 kB / 0.7003 GB, free: 9.625 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004231/0.203, allocations: 187.2 kB / 0.7005 GB, free: 9.438 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.046e-05/0.203, allocations: 3.938 kB / 0.7005 GB, free: 9.434 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.45e-05/0.203, allocations: 8 kB / 0.7005 GB, free: 9.426 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.164e-06/0.203, allocations: 4 kB / 0.7005 GB, free: 9.422 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004629/0.2035, allocations: 179.9 kB / 0.7007 GB, free: 9.246 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001483/0.205, allocations: 0.915 MB / 0.7016 GB, free: 8.207 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005226/0.2055, allocations: 166.5 kB / 0.7018 GB, free: 8.035 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002214/0.2058, allocations: 88.75 kB / 0.7018 GB, free: 7.945 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007335/0.2065, allocations: 0.522 MB / 0.7024 GB, free: 7.312 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.521e-05/0.2066, allocations: 34.75 kB / 0.7024 GB, free: 7.27 MB / 0.545 GB Notification: Performance of pre-optimization done (n=14): time 1.693e-06/0.2066, allocations: 4 kB / 0.7024 GB, free: 7.266 MB / 0.545 GB Notification: Performance of matching and sorting (n=14): time 0.0007251/0.2073, allocations: 239.7 kB / 0.7026 GB, free: 7.027 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.513e-05/0.2073, allocations: 51.41 kB / 0.7027 GB, free: 6.965 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001614/0.2075, allocations: 161.5 kB / 0.7028 GB, free: 6.801 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 3.009e-05/0.2076, allocations: 33.64 kB / 0.7029 GB, free: 6.762 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 9.05e-05/0.2076, allocations: 115.8 kB / 0.703 GB, free: 6.645 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 4.795e-05/0.2077, allocations: 47.3 kB / 0.703 GB, free: 6.598 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.579e-05/0.2078, allocations: 41.7 kB / 0.7031 GB, free: 6.551 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001599/0.208, allocations: 322.8 kB / 0.7034 GB, free: 6.227 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000211/0.2082, allocations: 75.95 kB / 0.7034 GB, free: 6.152 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002233/0.2084, allocations: 89.67 kB / 0.7035 GB, free: 6.059 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004049/0.2088, allocations: 155.3 kB / 0.7037 GB, free: 5.902 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.409e-06/0.2088, allocations: 3.938 kB / 0.7037 GB, free: 5.898 MB / 0.545 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0005221/0.2094, allocations: 223.2 kB / 0.7039 GB, free: 5.676 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.551e-05/0.2094, allocations: 4 kB / 0.7039 GB, free: 5.672 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.939e-06/0.2094, allocations: 0 / 0.7039 GB, free: 5.672 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.567e-05/0.2094, allocations: 0 / 0.7039 GB, free: 5.672 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002484/0.2097, allocations: 40 kB / 0.7039 GB, free: 5.633 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.311e-06/0.2097, allocations: 4 kB / 0.7039 GB, free: 5.629 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001778/0.2099, allocations: 23.83 kB / 0.704 GB, free: 5.605 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.596e-05/0.2099, allocations: 4 kB / 0.704 GB, free: 5.602 MB / 0.545 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 (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 0.0001348/0.21, allocations: 133 kB / 0.7041 GB, free: 5.465 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.711e-05/0.2101, allocations: 15.81 kB / 0.7041 GB, free: 5.449 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005287/0.2106, allocations: 198.4 kB / 0.7043 GB, free: 5.25 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.186e-06/0.2106, allocations: 4 kB / 0.7043 GB, free: 5.246 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.462e-06/0.2106, allocations: 0 / 0.7043 GB, free: 5.246 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.1e-06/0.2107, allocations: 7.922 kB / 0.7043 GB, free: 5.238 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001526/0.2122, allocations: 0.9739 MB / 0.7052 GB, free: 4.109 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.913e-06/0.2122, allocations: 0 / 0.7052 GB, free: 4.109 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001974/0.2124, allocations: 35.97 kB / 0.7053 GB, free: 4.074 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.006e-06/0.2124, allocations: 0 / 0.7053 GB, free: 4.074 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.634e-05/0.2124, allocations: 8.062 kB / 0.7053 GB, free: 4.066 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.873e-06/0.2124, allocations: 0 / 0.7053 GB, free: 4.066 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.343e-06/0.2124, allocations: 0 / 0.7053 GB, free: 4.066 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005334/0.213, allocations: 295.4 kB / 0.7056 GB, free: 3.758 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 7.325e-05/0.2131, allocations: 92.95 kB / 0.7057 GB, free: 3.648 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.368e-05/0.2131, allocations: 4 kB / 0.7057 GB, free: 3.645 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002109/0.2133, allocations: 15.97 kB / 0.7057 GB, free: 3.629 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.097e-05/0.2134, allocations: 11.92 kB / 0.7057 GB, free: 3.617 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.752e-05/0.2134, allocations: 11.94 kB / 0.7057 GB, free: 3.605 MB / 0.545 GB Notification: Performance of sorting global known variables: time 9.626e-05/0.2135, allocations: 119.2 kB / 0.7058 GB, free: 3.488 MB / 0.545 GB Notification: Performance of sort global known variables: time 1.2e-07/0.2135, allocations: 0 / 0.7058 GB, free: 3.488 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.000471/0.214, allocations: 127.8 kB / 0.7059 GB, free: 3.363 MB / 0.545 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 (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.0004492/0.2144, allocations: 231 kB / 0.7062 GB, free: 3.129 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0005172/0.215, allocations: 179.9 kB / 0.7063 GB, free: 2.953 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 2.836e-06/0.215, allocations: 0 / 0.7063 GB, free: 2.953 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.0002129/0.2152, allocations: 83.89 kB / 0.7064 GB, free: 2.871 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004268/0.2156, allocations: 45.05 kB / 0.7065 GB, free: 2.828 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007195/0.2164, allocations: 342.3 kB / 0.7068 GB, free: 2.457 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000361/0.2167, allocations: 0.7086 MB / 0.7075 GB, free: 1.719 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.613e-05/0.2168, allocations: 23.42 kB / 0.7075 GB, free: 1.695 MB / 0.545 GB Notification: Performance of SimCode: time 2.1e-07/0.2168, allocations: 0 / 0.7075 GB, free: 1.695 MB / 0.545 GB Notification: Performance of Templates: time 0.2699/0.4868, allocations: 3.855 MB / 0.7113 GB, free: 49.32 MB / 0.545 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)