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.001444/0.001444, allocations: 108.1 kB / 16.37 MB, free: 6.477 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.00159/0.00159, allocations: 194.7 kB / 17.31 MB, free: 5.824 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.294/1.294, allocations: 222.9 MB / 241 MB, free: 15.17 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.00208/0.00208, allocations: 290.7 kB / 291.4 MB, free: 14.48 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.982/0.982, allocations: 169.3 MB / 0.4989 GB, free: 4.445 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001828/0.001828, allocations: 98.38 kB / 0.5967 GB, free: 14.46 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1534/0.1552, allocations: 86.97 MB / 0.6816 GB, free: 7.484 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor): time 0.002973/0.1582, allocations: 2.004 MB / 0.6836 GB, free: 5.465 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.002182/0.1604, allocations: 1.656 MB / 0.6852 GB, free: 3.801 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.071e-05/0.1605, allocations: 0 / 0.6852 GB, free: 3.801 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 5.696e-05/0.1606, allocations: 23.78 kB / 0.6852 GB, free: 3.777 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001126/0.1607, allocations: 47.55 kB / 0.6853 GB, free: 3.73 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009855/0.1617, allocations: 361.7 kB / 0.6856 GB, free: 3.379 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002397/0.1619, allocations: 227 kB / 0.6858 GB, free: 3.156 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001648/0.1621, allocations: 53.44 kB / 0.6859 GB, free: 3.102 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001018/0.1622, allocations: 87.77 kB / 0.6859 GB, free: 3.016 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001423/0.1624, allocations: 83.73 kB / 0.686 GB, free: 2.934 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 3.201e-05/0.1624, allocations: 16 kB / 0.686 GB, free: 2.918 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006754/0.1631, allocations: 415.5 kB / 0.6864 GB, free: 2.512 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 3.72e-05/0.1631, allocations: 43.89 kB / 0.6865 GB, free: 2.469 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 7.78e-05/0.1632, allocations: 83.66 kB / 0.6866 GB, free: 2.387 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005208/0.1638, allocations: 434.9 kB / 0.687 GB, free: 1.961 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.646e-06/0.1638, allocations: 4 kB / 0.687 GB, free: 1.957 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.192e-06/0.1638, allocations: 0 / 0.687 GB, free: 1.957 MB / 494.1 MB Notification: Performance of Transformations before backend: time 5.19e-06/0.1638, allocations: 0 / 0.687 GB, free: 1.957 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.0007379/0.1645, allocations: 0.5069 MB / 0.6875 GB, free: 1.395 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.312e-05/0.1646, allocations: 12.02 kB / 0.6875 GB, free: 1.383 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005661/0.1651, allocations: 92.66 kB / 0.6876 GB, free: 1.293 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001188/0.1653, allocations: 180.2 kB / 0.6877 GB, free: 1.078 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.197e-05/0.1653, allocations: 46.25 kB / 0.6878 GB, free: 1.027 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.044e-05/0.1654, allocations: 24.38 kB / 0.6878 GB, free: 1.004 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003794/0.1658, allocations: 174.1 kB / 0.688 GB, free: 0.8281 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.548e-06/0.1658, allocations: 3.938 kB / 0.688 GB, free: 0.8242 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.197e-05/0.1658, allocations: 4 kB / 0.688 GB, free: 0.8203 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.832e-06/0.1658, allocations: 4 kB / 0.688 GB, free: 0.8164 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004286/0.1663, allocations: 187.7 kB / 0.6882 GB, free: 0.6328 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.2521/0.4184, allocations: 0.9037 MB / 0.6891 GB, free: 17.68 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004832/0.4189, allocations: 171.7 kB / 0.6892 GB, free: 17.65 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002039/0.4191, allocations: 80.09 kB / 0.6893 GB, free: 17.64 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0005388/0.4197, allocations: 0.5169 MB / 0.6898 GB, free: 17.08 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.028e-05/0.4197, allocations: 36.08 kB / 0.6898 GB, free: 17.04 MB / 494.1 MB Notification: Performance of pre-optimization done (n=14): time 1.814e-06/0.4197, allocations: 7.703 kB / 0.6898 GB, free: 17.04 MB / 494.1 MB Notification: Performance of matching and sorting (n=14): time 0.0006684/0.4204, allocations: 230.2 kB / 0.6901 GB, free: 17.01 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.29e-05/0.4204, allocations: 54.06 kB / 0.6901 GB, free: 16.95 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000118/0.4205, allocations: 158.9 kB / 0.6903 GB, free: 16.85 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 2.011e-05/0.4206, allocations: 31.44 kB / 0.6903 GB, free: 16.82 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.233e-05/0.4206, allocations: 117.5 kB / 0.6904 GB, free: 16.73 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.483e-05/0.4207, allocations: 52.53 kB / 0.6905 GB, free: 16.7 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.19e-05/0.4207, allocations: 40.88 kB / 0.6905 GB, free: 16.69 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 4.179e-05/0.4208, allocations: 323 kB / 0.6908 GB, free: 16.38 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001974/0.421, allocations: 77.28 kB / 0.6909 GB, free: 16.38 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002005/0.4212, allocations: 97.44 kB / 0.691 GB, free: 16.36 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003753/0.4216, allocations: 149.8 kB / 0.6911 GB, free: 16.34 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.264e-06/0.4216, allocations: 0 / 0.6911 GB, free: 16.34 MB / 494.1 MB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0004783/0.4221, allocations: 222.6 kB / 0.6913 GB, free: 16.3 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.56e-05/0.4221, allocations: 9.938 kB / 0.6913 GB, free: 16.3 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.969e-06/0.4221, allocations: 0.5938 kB / 0.6913 GB, free: 16.3 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.417e-05/0.4221, allocations: 3.047 kB / 0.6913 GB, free: 16.3 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002527/0.4224, allocations: 35.75 kB / 0.6914 GB, free: 16.3 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.632e-06/0.4224, allocations: 2.281 kB / 0.6914 GB, free: 16.3 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001779/0.4226, allocations: 24.11 kB / 0.6914 GB, free: 16.29 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.843e-05/0.4226, allocations: 6.359 kB / 0.6914 GB, free: 16.29 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 7.624e-05/0.4227, allocations: 127.5 kB / 0.6915 GB, free: 16.18 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.611e-05/0.4228, allocations: 16.53 kB / 0.6915 GB, free: 16.17 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004911/0.4233, allocations: 198.3 kB / 0.6917 GB, free: 16.11 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.839e-06/0.4233, allocations: 3.562 kB / 0.6917 GB, free: 16.11 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.637e-06/0.4233, allocations: 2.562 kB / 0.6917 GB, free: 16.11 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.627e-06/0.4233, allocations: 0.7031 kB / 0.6917 GB, free: 16.11 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001245/0.4245, allocations: 0.9825 MB / 0.6927 GB, free: 15.21 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.665e-06/0.4246, allocations: 5.531 kB / 0.6927 GB, free: 15.21 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002151/0.4248, allocations: 32.16 kB / 0.6927 GB, free: 15.21 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.565e-06/0.4248, allocations: 1.969 kB / 0.6927 GB, free: 15.21 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.704e-05/0.4248, allocations: 3.125 kB / 0.6927 GB, free: 15.21 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.785e-06/0.4248, allocations: 1.219 kB / 0.6927 GB, free: 15.21 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.545e-06/0.4248, allocations: 5.719 kB / 0.6927 GB, free: 15.21 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004352/0.4253, allocations: 295 kB / 0.693 GB, free: 15 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.769e-05/0.4253, allocations: 85.73 kB / 0.6931 GB, free: 14.91 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.293e-05/0.4253, allocations: 2.859 kB / 0.6931 GB, free: 14.91 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002189/0.4256, allocations: 16.64 kB / 0.6931 GB, free: 14.9 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.69e-05/0.4256, allocations: 9.734 kB / 0.6931 GB, free: 14.9 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.926e-05/0.4256, allocations: 17.09 kB / 0.6931 GB, free: 14.89 MB / 494.1 MB Notification: Performance of sorting global known variables: time 6.545e-05/0.4257, allocations: 120.5 kB / 0.6933 GB, free: 14.81 MB / 494.1 MB Notification: Performance of sort global known variables: time 5.61e-07/0.4257, allocations: 3.844 kB / 0.6933 GB, free: 14.81 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0004615/0.4262, allocations: 126.8 kB / 0.6934 GB, free: 14.79 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.0003875/0.4266, allocations: 232.5 kB / 0.6936 GB, free: 14.69 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.0004676/0.4271, allocations: 175.2 kB / 0.6938 GB, free: 14.64 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 2.254e-06/0.4271, allocations: 0 / 0.6938 GB, free: 14.64 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001968/0.4273, allocations: 85.92 kB / 0.6939 GB, free: 14.61 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003705/0.4277, allocations: 46.5 kB / 0.6939 GB, free: 14.6 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006514/0.4283, allocations: 323.1 kB / 0.6942 GB, free: 14.39 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001415/0.4285, allocations: 0.7072 MB / 0.6949 GB, free: 13.7 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.0001373/0.4286, allocations: 34.94 kB / 0.6949 GB, free: 13.69 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.911e-05/0.4287, allocations: 23.41 kB / 0.695 GB, free: 13.68 MB / 494.1 MB Notification: Performance of SimCode: time 5.11e-07/0.4287, allocations: 0.9375 kB / 0.695 GB, free: 13.68 MB / 494.1 MB Notification: Performance of Templates: time 0.008661/0.4374, allocations: 4.267 MB / 0.6991 GB, free: 13.37 MB / 494.1 MB 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 -s gbode -lv LOG_STATS > BuildingSystems_BuildingSystems.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor.pipe 2>&1)